Hi everyone. I am back here with yet another problem on my homepage at
http://www.tecnolingueitalia.com/index.html
I am using the following "ready-made" javascript to render the homepage
"dynamic":
<!-- BEGIN SCRIPT FOR DYNAMIC BUTTONS
function setVariables(){
y=-50;x=10;ob=1;max=110 // x is the number of buttons
if (navigator.appName == "Netscape") v=".top=",dS="document.",sD="";
else v=".pixelTop=",dS="",sD=".style";
}
function scrollOn(){
if (ob<10){ // the var x+1 gives the ob
objectX="object"+ob;y+=10;eval(dS + objectX + sD + v + y);
if (y<max) setTimeout ("scrollOn()",5)
else y=-50, max+=40, ob+=1, setTimeout("scrollOn()",5)
}
}
//-->
Now the problems:
1) If I put a DTD the above javascript for the "falling buttons" stops
working *also* in IE, i.e. I get the same effect that this script has on NN7
(see
following point);
2) The same script does not work in NN 7: the buttons remain hidden in their
position at -50px, but they don't fall down and position themselves where
defined by the css.
Does anyone know why problem 1) should happen (!!) and if there is a way to
solve problem 2), given the script above?
Thank you in advance for any help!
Cristina
--
www.arabnity.com