Fade in object cript

jimbush3
Community Member Posts: 15
I know that you can fade in/out over any background using IE, but I haven't tried any code to let you do this in Firefox, etc. Here is some code that will allow you to fade in over any background, I'll do some more testing on Monday to see about other browsers.function fadetoview(objname){ var objholder=document.getElementById(objname) objholder.filters[0].apply() objholder.style.visibili ty="visible" objholder.filters[0].play()}document.write('');fadetoview('fadehere');I put this together fast out of some old stuff I had worked on so it can probly be tweaked, but it works. Change the img src to your image name and make sure to include it as an additional file to the external html. Good luck.Edited By: jimbush3 on 2008-2-29 17:19:21
Categories
- 35.9K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 29K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 25 ELB Learning Content
- 25 ELB Learning Content Discussions
- 328 CenarioVR®
- 195 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 42 Rockstar Learning Platform®
- 39 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 936 All Things eLearning
- 37 eLearning Development
- 546 Learning Management System (LMS) Integration
- 333 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products