Different menus show up (or not!) across browsers/platforms

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
beachdog
Beginner
Beginner
Posts: 4
Joined: Sat Mar 20, 2004 4:52 am

Different menus show up (or not!) across browsers/platforms

Post by beachdog »

http://www.pcfd1.org/index7.html

Mac:
Netscape: Looks and acts great!
MIE: Shows the sample Milonic menu instead of the correct menu
Safari: Shows the sample Milonic menu instead of the correct menu

PC:
MIE: Doesn't show up at all
Netscape: Doesn't show up at all

What am I doing wrong?

thanks... 8O
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

I don't know if this is going to show up (yep, it did), but something is messing up your JS that's in the HTML...

Code: Select all

							<script> 
ÝÝÝÝÝÝÝÝÝ				 with(milonic=new menuname("Main Menu")){ 
ÝÝÝÝÝÝÝÝÝ				 style=menuStyle; 
ÝÝÝÝÝÝÝÝ					Ýtop=0; 
ÝÝÝÝÝÝ					Ýleft=0; 
						 itemwidth="100%"; 
						 menualign="center"; 						 
ÝÝÝÝÝÝÝÝ					Ýalwaysvisible=1; 
ÝÝÝÝÝÝÝÝ					Ýorientation="horizontal"; 
ÝÝÝÝÝÝÝÝ					Ýposition="relative"; 
ÝÝÝÝÝÝÝÝ					ÝaI("text=Home;url=http://www.pcfd1.org/;status=Back To Home Page;"); 
ÝÝÝÝÝÝÝÝ					ÝaI("text=About Us;showmenu=About Us;"); 
ÝÝÝÝÝÝÝÝ					ÝaI("text=Departments;showmenu=Departments;"); 
ÝÝÝÝÝÝÝÝ					ÝaI("text=Personnel;showmenu=Personnel;"); 
ÝÝÝÝÝÝÝÝ					ÝaI("text=Community;showmenu=Community;"); 
ÝÝÝÝÝÝÝÝ					ÝaI("text=Press Releases;showmenu=Press Releases;"); 
ÝÝÝÝÝÝÝÝ					ÝaI("text=Burn Info;showmenu=Burn Info;"); 
ÝÝÝÝÝÝÝÝ					ÝaI("text=Site Map;showmenu=Site Map;"); 
ÝÝÝÝÝÝÝÝ					Ý} 
ÝÝÝÝÝÝÝÝ					ÝdrawMenus(); 
ÝÝÝÝÝÝÝÝ					</script>
I don't see that mess in your _data file. I'd take the above code out of the HTML page, clean it up, and put it back together with the _data file.

I'm not seeing any menu at all in Safari.

{Phoenix Fire Department, Fire & Life Safety Inspector}
John
beachdog
Beginner
Beginner
Posts: 4
Joined: Sat Mar 20, 2004 4:52 am

Post by beachdog »

:D Thank you! Seems to be working across browsers and platforms now.
Post Reply