View Single Post
Old 06-26-2008, 10:10 AM   PM User | #2
rangana
Senior Coder

 
rangana's Avatar
 
Join Date: Feb 2008
Location: Cebu City, Philippines
Posts: 1,752
Thanks: 65
Thanked 372 Times in 365 Posts
rangana will become famous soon enoughrangana will become famous soon enough
I don't think this is more of a JS problem, but an HTML instead.

With that said, i'll start by saying that your structure is a mess. Transfer your <html> tag above the DTD, not otherwise.

Highlighted is deprecated:
Code:
<SCRIPT language=javascript>
<!--replace highlighted with type="text/javascript"-->
This part is erroneous:
Code:
<body onLoad=<actinic:variable value="PreloadImages" name="OnLoadScript" /> "MM_preloadImages('NAVIGATION_r1_c2_f3.gif','NAVIGATION_r1_c2_f2.gif','NAVIGATION_r3_c1_f3.gif','NAVIGATION_r3_c1_f2.gif','NAVIGATION_r5_c2_f3.gif','NAVIGATION_r5_c2_f2.gif','NAVIGATION_r7_c2_f3.gif','NAVIGATION_r7_c2_f2.gif','NAVIGATION_r9_c2_f3.gif','NAVIGATION_r9_c2_f2.gif','NAVIGATION_r11_c1_f3.gif','NAVIGATION_r11_c1_f2.gif','NAVIGATION_r13_c1_f3.gif','NAVIGATION_r13_c1_f2.gif','NAVIGATION_r15_c1_f3.gif','NAVIGATION_r15_c1_f2.gif','NAVIGATION_r17_c1_f3.gif','NAVIGATION_r17_c1_f2.gif')">
1.) I don't think that the value of your onload attribute is correct (80% goes to not).
2.) <body> has no value and name attributes.
3.) You might want to use this modification:
Code:
<body onload= "MM_preloadImages('NAVIGATION_r1_c2_f3.gif','NAVIGATION_r1_c2_f2.gif','NAVIGATION_r3_c1_f3.gif','NAVIGATION_r3_c1_f2.gif','NAVIGATION_r5_c2_f3.gif','NAVIGATION_r5_c2_f2.gif','NAVIGATION_r7_c2_f3.gif','NAVIGATION_r7_c2_f2.gif','NAVIGATION_r9_c2_f3.gif','NAVIGATION_r9_c2_f2.gif','NAVIGATION_r11_c1_f3.gif','NAVIGATION_r11_c1_f2.gif','NAVIGATION_r13_c1_f3.gif','NAVIGATION_r13_c1_f2.gif','NAVIGATION_r15_c1_f3.gif','NAVIGATION_r15_c1_f2.gif','NAVIGATION_r17_c1_f3.gif','NAVIGATION_r17_c1_f2.gif')">
P.S, fix your markup errors as well as your CSS errors.

Hope it helps.
__________________
Learn how to javascript at 02geek

The more you learn, the more you'll realize there's much more to learn
Ray.ph
rangana is offline   Reply With Quote