PDA

View Full Version : Need help with javascript and layers



LeX
December 23rd, 2001, 09:37
Can somebody make me a script? This is what I want:

I have a layer with content that I want to be able to scroll using javascript (scrolls on onmousedown or onclick), I should have the ability to control the speed of the scrolling, and I want to plant a layer over all of that with a fixed transparent image in it. So, I have two layers the same size, and I can adjust their width and height (best if I could use percentages, like height = 90% of the available screen of the user) and position on the page. The first layer with the image will be seen at the top, and anything below it that's not transparent can't be seen, and when I click on the scroller it scrolls the bottom layer, the layer with the content.

BTW, the scroller should be able to scroll up and down, and jump to the top of the layer with content.

Help appreciated, and thanks in advance! I really hope somebody can come up with a working script...

andyLee
December 24th, 2001, 04:16
http://htmlguru.com/guru.html