PDA

View Full Version : Javascript issue in scroller



iamwonton
12-04-2006, 07:24 PM
Manual Scroller

http://www.dynamicdrive.com/dynamicindex2/manualscroll.htm

I'm using a modified version of manual Scroller. I am finding a conflict with another part of my page (loading a video by .js). The video won't load (the ID is displayed) but scrolling works. When I remove this line:

iens6=document.all||document.getElementById

the video appears but the scrolling doesn't work (obviously). Is there another way to write the above line, or "hardcode" the div i need scrollable rather than calling all the elements?

sorry, but i'm still a javascript n00b.

thanks,

iamwonton