jacobr Posted January 5, 2005 Posted January 5, 2005 I'm trying to add an image to my index.php page (only, no other pages) that contains rollovers generated with javascript. I've got the JS code (tried both as an embedded script and called to an external file) put into place just fine. (I think.) In my /index.php file, I've got <body onLoad="preloadImages();"> - but when I look at the source code from the browser, post parsing, the body element is totally empty (meaning it has no attributes, and therefore no onLoad call.) Has anybody seen this before? I'm pretty positive I've got everything setup proper - the image appears fine called in from the /includes/language/english/index.php file, it "sees" the links for the rollovers, but no secondary image appears. I thought that onLoad was just PREloading the images to avoid the flash of it loading upon the first rollover (which I want), but I'm not getting any type of rollover at all. I read a different posting on here that stated a missing onLoad call in the body was his problem and fixed his rollovers generated from photoshop (as mine are), so I'm hoping that's all it is. Can anybody make my body element keep it's onLoad? :huh: Thanks for all help. Jacob
Recommended Posts
Archived
This topic is now archived and is closed to further replies.