PDA

View Full Version : help with custom div scroller



genia
11-03-2008, 11:07 AM
hi,after trying almost any posiibale search query on google i found a script that seems to work-to scroll contents of a div.
the problem is that in IE it doesnt scroll but in firefox it does.
the script is:
http://www.leigeber.com/2008/05/ultimate-javascript-scroller-and-slider/

and my page is here:
http://www.kobital.co.il/v7/inside.htm

ignore the positioning of the arrows and scroll area-i need it to work in ie and i dont know why it doesnt.
also i will need to put scroll on all the 3 boxes but i think that if 1 will work i will be able to put it on the other 2

jscheuer1
11-03-2008, 01:14 PM
Apparently IE cannot handle decimal values for SCROLLSPEED. If you want a speed less than what one will give you, use 1 there, and increase the value for SCROLLTIMER, ex:


var SLIDETIMER = 3;
var SLIDESPEED = 3;
var SCROLLTIMER = 30;
var SCROLLSPEED = 1;
var STARTINGOPACITY = 40;

genia
11-03-2008, 01:17 PM
jscheuer1,thank you very much.

genia
11-03-2008, 11:26 PM
Got new problem with this damn JS scroller:
the left square wont scroll if i click on the first link in it
but it will scroll with the second link is click wich means that the div inside it is visibale.
both IE and FF have this bug.
any ideas how can i force it to scroll if the last link wasn't opened?