slaskis
08-24-2002, 08:06 PM
I try to make a scrollscript i've found made possible for several
scrolls on one page so i thought maybe i could add a number to
the div/span id and to the function and then it adds it to the
object(or whatever it's called).
example:
function(number) {
object+number.style.pixelTop... bla bla bla...
}
you see my point?
i've tried it (not exactly this script off course, but the "+number"
part) and it doesn't work i've also tried to make "object" an
variable and then there add the number to it like this
var object = object+number;
so please just tell me if this is possible, i really think it should be anyway.
/Robert
scrolls on one page so i thought maybe i could add a number to
the div/span id and to the function and then it adds it to the
object(or whatever it's called).
example:
function(number) {
object+number.style.pixelTop... bla bla bla...
}
you see my point?
i've tried it (not exactly this script off course, but the "+number"
part) and it doesn't work i've also tried to make "object" an
variable and then there add the number to it like this
var object = object+number;
so please just tell me if this is possible, i really think it should be anyway.
/Robert