Disappearing navigation on mac ie 5.2

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
nathaliew
Beginner
Beginner
Posts: 2
Joined: Fri Apr 02, 2004 12:28 pm
Location: London

Disappearing navigation on mac ie 5.2

Post by nathaliew »

Has anybody come across the same problem and fixed it???

The menu seems to work beautifully in all browsers mac and pc but somehow in IE5.2 on a mac the navigation suddenly disappears after clicking on the link. It comes back once the page has refreshed. :roll:

Anybody out there who could help....?

Thanks!!!!
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Need a url, and make sure you scripts are under the body tag.

maz
Iain
Beginner
Beginner
Posts: 3
Joined: Fri Jun 18, 2004 11:29 am

Disappearing navigation on mac

Post by Iain »

I'm experiencing the same problem on IE 5.0+ browsers running on a Mac. I placed the following scripts:

<SCRIPT language=JavaScript src="milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
</script>

<SCRIPT language=JavaScript src="menu_data.js" type=text/javascript></SCRIPT>

in the header as per the example that Milonic supplied. I have also tried them in the body of the document (assuming I understood your reply to nathaliew correctly), but it didn't make any difference to how the menus worked.

The URL for this site is http://dev.waterlessuk.org

We are aware that a sizable chunk of our target audience are using these browsers running on OS 9.x and above.

If you know of a suitable fix, I should be very grateful.[/url]
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

We'll have a fix for this in version 5.25 due out later today.

Cheers
Andy
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Sorry folks, you might want to step back a version until the fix is out.

I already gave Andy indigestion when I pointed it out.

Thank you for your patience,

maz
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Fix is now out, version 5.25.

Cheers
Andy
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Milonic Script in <HEAD> or <BODY>?

Post by rudy »

I know the installating instructions for the Milonic Menus states the <SCRIPT> should be placed in either the <HEAD> or <BODY> section of the HTML page you wish the menu to show up in.

A couple of users state this must be put in the <BODY> section or the menu will not show up, or work properly, in the MAC users pages. Is this the case?

Are the instructions correct, or do I need to move th <SCRIPT> out of my <HEAD> tag and into the <BODY> tag?
Rudy
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Rudy,

Good question, apprently its been changed so it should work in either, but I don't know if that applies to mac.

I'm having problems too and mine is in body so that's probably not the solution you are looking for. I don't like to assume anything but it could be the latest fix for Firefox crossed over to ie.

maz
Iain
Beginner
Beginner
Posts: 3
Joined: Fri Jun 18, 2004 11:29 am

Post by Iain »

Installed version 5.25 and the problem with the menus disappearing in IE 5.0+ running on Mac OS 9.x has been removed. There seems to have been some interest regarding where the <script> tags should be placed, I put mine in the the <head> section and everything is working fine.

Many thanks for the fix.

Cheers,

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

Post by John »

Thanks for the update, Iain.
John
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Re: Milonic Script in <HEAD> or <BODY>?

Post by kevin3442 »

Hi Rudy,
rudy wrote:I know the installating instructions for the Milonic Menus states the <SCRIPT> should be placed in either the <HEAD> or <BODY> section of the HTML page you wish the menu to show up in.

A couple of users state this must be put in the <BODY> section or the menu will not show up, or work properly, in the MAC users pages. Is this the case?

Are the instructions correct, or do I need to move th <SCRIPT> out of my <HEAD> tag and into the <BODY> tag?
As far as I know, there's only one case that requires you to load the menu scripts into the <body> instead of the <head>. That's when you are using a table-bound menu (relative positioning) and you want it to work in IE on a Mac (look here for more info).

Cheers,

Kevin
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Post by rudy »

Hi Kevin,

No, I don't have my Milonic menu in a table so I guess I should be alright.
As far as I know, there's only one case that requires you to load the menu scripts into the <body> instead of the <head>. That's when you are using a table-bound menu (relative positioning) and you want it to work in IE on a Mac
I have viewed my menu using ICapture but that does not allow me to actually test the menu. I don't have a MAC or know anyone that does, so I thought I would ask the question as I have read a couple of differing opinions on this. Of course, I would like the menu to work in as many OS platforms and browsers as possible.

Thanks again for your help :D
Rudy
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

I would check, but the www link is nothing.

maz
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Post by rudy »

Thanks Maz - I didn't expect to get a volunteer...

Here is the link if your using a screen resolution of 800x600:

http://www.networkdriven.com/qp/9Ab898b.html

Here is the link if your using a screen resolution of 1,024x768 or greater:

http://www.networkdriven.com/hp22/9Ab898b.html

I guess I would like to know if the menu is showing up at all? If it is centered on the screen? If it has some space between the menus and the rather large image directly below it? And, if the submenus are dropping down properly, etc.

Thanks so much maz :D
Rudy
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

You're welcome,

Safari looks fine, only when I mouse over the brown probably your header the text disappears when the mouse leaves so its just brown.

ie works fine, except instead of disappearing, it turns blue when the mouse leaves.

I've had problems with headers before, not sure what it is, check css too.

Regards,

maz
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

One thing to check is all the a.link css color codes. I finally had to eliminate them to prevent text from disappearing, though I think it was the hover or active that was doing it.

Ruth
mfindlay
Super Advanced
Super Advanced
Posts: 38
Joined: Mon Jun 28, 2004 5:00 pm

Re: Milonic Script in <HEAD> or <BODY>?

Post by mfindlay »

rudy wrote:I know the installating instructions for the Milonic Menus states the <SCRIPT> should be placed in either the <HEAD> or <BODY> section of the HTML page you wish the menu to show up in.

A couple of users state this must be put in the <BODY> section or the menu will not show up, or work properly, in the MAC users pages. Is this the case?

Are the instructions correct, or do I need to move th <SCRIPT> out of my <HEAD> tag and into the <BODY> tag?
I have found that for Mac IE 5.2, the scripts can be placed in the <head> section, but the key item is the drawMenus() which is contained in menu_data.js. If you comment out drawMenus() and instead place just the drawMenus() in a script beneath the body. It will work.

I had a problem on mac ie5.2 where the body's id assigned to it via css was being ignored until I placed the drawMenus() after the body statement.
Post Reply