I'm using some basic jQuery at http://s329880999.onlinehome.us/ and I'm getting a "not implemented" error in Internet Explorer. I'm guessing that this is to do with my using top (var s2). How can I make it work in IE?
+4
A:
currently you have:
window.onload=imageRotate();
This will execute the function immediately, assigning undefined (the result of imageRotate()) to the onload handler...what you actually want is to reference the function here, like this:
window.onload=imageRotate;
Nick Craver
2010-09-24 23:21:50
+1, beat me to it...
Matti Virkkunen
2010-09-24 23:25:40