quote:
Originally posted by Mattike
Markee, don't forget you're "document.(...)"!
code:
var element = document.getElementById('spidnav');
Maybe I just assumed it was encapsulated within a
with statement
. Also, after having a look at your source code again, it still won't stop you from having to edit all the files because there isn't a javascript file with them yet anyway so you'd need to add that in and you would have to make sure that the function occurred either on load of the body or at the very least after the creation of the DIV.