Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:26

menu location in netscape not in the same place as in IE


Poster: Wag
Dated: Tuesday November 6 2007 - 2:23:06 GMT

Menu location in netscape not in the same place as in IE, anyone know if theres a way to overcome this?

Re: menu location in netscape not in the same place as in IE


Poster: Ruth
Dated: Tuesday November 6 2007 - 3:18:09 GMT

Hi,

We have to have a url to see the page and test it.

Ruth

Re: menu location in netscape not in the same place as in IE


Poster: John
Dated: Tuesday November 6 2007 - 14:14:34 GMT

Couple problems, at least.

You've got some syntax problems in this statement...
Code:
<body bgcolor="#000000" background="sideflames.jpg"
text="#000000"  link="#F63E00" vlink="#F63E00" alink="#F63E00"
bgProperties="fixed" onLoad="MM_preloadImages('../
Buttons_r5_c1_f2.gif')"');" onUnload=
"leave )" "MM_preloadImages 'Buttons_r1_c1_f2.gif',
'Buttons_r3_c1_f2.gif','Buttons_r5_c1_f2.gif','
Buttons_r7_c1_f2.gif','Buttons_r9_c1_f2.gif','
Buttons_r11_c1_f2.gif','Buttons_r13_c1_f2.gif','
Buttons_r15_c1_f2.gif>

Some of your " and ' are missing/out of place.

As for the menu, you have placed it in a table cell incorrectly. See
http://www.milonic.com/tablemenu.php for instructions.

Re: menu location in netscape not in the same place as in IE


Poster: Wag
Dated: Tuesday November 6 2007 - 17:01:48 GMT

John
Thanks for your reply.
First on that button code you commented about, I believe that was generated by Fireworks. Could have some things missing but I don't know, that part works fine in Netscape and IE.
I now have moved the menu script out of the table and up right underneath the button code.
saved it local and tried it in Netscape, still doesn't work so I don't think it was the table.

Re: menu location in netscape not in the same place as in IE


Poster: Wag
Dated: Tuesday November 6 2007 - 17:27:48 GMT

new testing url:
http://webpages.charter.net/wag1/mainwithintable.htm
still the same in netscape

Re: menu location in netscape not in the same place as in IE


Poster: John
Dated: Tuesday November 6 2007 - 18:58:54 GMT

Ah, but at least now I am seeing the 2 menus in Firefox. Before there was nothing there at all!

Now I can dig into it a little more.

Progress... :roll:

Re: menu location in netscape not in the same place as in IE


Poster: John
Dated: Tuesday November 6 2007 - 20:07:00 GMT

OK, here's a quick and dirty for now - http://www.west.asu.edu/sa/testsite/index.htm.

Numerous changes were made to all 3 files (index and the 2 _data.js files). Lots of syntax problems, invalid code, etc. I think I got the menus in the location you wanted. However, there is a slight difference between IE and FF. Ruth can help you with that. Unfortunately I still have a J.O.B., and for some strange reason they expect me to work at it. :cry:

On a side note, in your _data.js files you are calling the arrow,gif file directly from the Milonic site. This is a definite no-no. That file is included in your download, so please call it from your own site.

Feel free to take the files from my server and look them over while waiting for Ruth.

Ruth, please let me know when you have them so I can take them down.

Re: menu location in netscape not in the same place as in IE


Poster: Wag
Dated: Tuesday November 6 2007 - 20:32:32 GMT

John
You keep mentioning Firefox, does FF react the same as Netscape or something, I've never used Firefox and according to my site stats nobody else that visits does either. Anyway, just a reminder that my issue is in Netscape.
I appreciate what your doing but now it works for me in Netscape but not in IE. Go figure, just my luck. :D

Re: menu location in netscape not in the same place as in IE


Poster: John
Dated: Tuesday November 6 2007 - 20:45:12 GMT

Firefox is a Mozilla product (same as Netscape). AFAIK, nobody is actually using Netscape any more. Some logs may report Firefox as Netscape.

As for IE, the link I posted should work in IE as well (it does for me in IE7), but with slightly different positioning for the menus.

Re: menu location in netscape not in the same place as in IE


Poster: Ruth
Dated: Tuesday November 6 2007 - 20:47:52 GMT

Hi,

Thanks, John, for all the work. I'll work on the difference in IE and FF and see if I can find anything.

Ruth

Re: menu location in netscape not in the same place as in IE


Poster: John
Dated: Tuesday November 6 2007 - 21:15:07 GMT

No prob, Ruth.

Note that I had to change all his graphic links to absolute so they would show up (just a reminder).

Re: menu location in netscape not in the same place as in IE


Poster: Ruth
Dated: Tuesday November 6 2007 - 22:13:38 GMT

Hi,

Using John's setup, the only thing I see that is different is where the submenus open from the 1st menu. That is a result of the align='middle' coding. If you want them to look the same in IE and FF I think you need to set it as vAlign="top" I don't think align takes a middle code, isn't it left, right, center and then vAlign= top middle bottom?

Ruth

Re: menu location in netscape not in the same place as in IE


Poster: Wag
Dated: Tuesday November 6 2007 - 23:27:06 GMT

Hi Ruth
Well heres where I'm at now, it works in both broswers when I use John's link from above.
http://www.west.asu.edu/sa/testsite/index.htm
When that is open, I save the the webpage complete to a folder on my drive.
I open it from there and get nothing, no menu in either browser.

Here is his script:
<SCRIPT src="milonic_src.js"
type=text/javascript></SCRIPT>

<SCRIPT type=text/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>

Shouldn't this be there also?
<SCRIPT language=JavaScript src="menu_data.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="menu_data_new.js" type=text/javascript></SCRIPT>

Also, am I thinking right to think that the way the files (milonic_src.js) etc. are called that these files should be in the same folder as the html.

I guess I'm getting confussed now :cry:

Re: menu location in netscape not in the same place as in IE


Poster: Ruth
Dated: Wednesday November 7 2007 - 0:34:30 GMT

Hi,

When I work on the desktop I put everything in the same folder since I don't have anything like apache or those others that act like a web server. Then when I know they are correct, I change the paths to be what they are supposed to be on the web and upload the files to their respective folders.

Don't use the milonic_src.js and other files you downloaded since those are licensed to ASU. Just put your own milonic, mmenuns4 and mmenudom. js files in the folder, and make sure you eliminate that / from in front of the mmenudom, mmenuns4 files on the page you downloaded.

Ruth

Re: menu location in netscape not in the same place as in IE


Poster: Wag
Dated: Wednesday November 7 2007 - 3:15:26 GMT

Ruth
Thanks, I got that done and the menu now shows in both IE and Netscape. It is at least close to where it's supposed to be in Netscape.

Since this is the whole script now and it doesn't call the menu_data.js and the menu_data_new.js anymore, how do I control the style settings now?

<SCRIPT src="milonic_src.js"
type=text/javascript></SCRIPT>

<SCRIPT type=text/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>

Re: menu location in netscape not in the same place as in IE


Poster: Ruth
Dated: Wednesday November 7 2007 - 3:33:41 GMT

Hi,

I don't know what you mean. How can you get the menus if you don't call the data files? Please post a page that you have done and is working so I can see what you mean

Ruth

Re: menu location in netscape not in the same place as in IE


Poster: Wag
Dated: Wednesday November 7 2007 - 3:46:17 GMT

Ruth
Thats what I thought. John put the data file scripts in other places within the html code and I didn't catch on right away.
Sorry about that :oops:
I was used to seeing the whole script together like this:
<SCRIPT src="milonic_src.js"
type=text/javascript></SCRIPT>

<SCRIPT type=text/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>
<SCRIPT language=JavaScript src="menu_data_new.js" type=text/javascript></SCRIPT>

I really appreciate this help, many thanks to both you and John. :D

Re: menu location in netscape not in the same place as in IE


Poster: John
Dated: Wednesday November 7 2007 - 14:11:06 GMT

Wag -
Wag wrote:
Thats what I thought. John put the data file scripts in other places within the html code and I didn't catch on right away.
Sorry about that :oops:

Which is exactly why, way back up towards the top of this thread, I pointed you to http://www.milonic.com/tablemenu.php, and mentioned that you weren't using the correct method for putting the menu in a table cell. :roll:
Wag wrote:
<SCRIPT src="milonic_src.js" type=text/javascript></SCRIPT>
<SCRIPT type=text/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>

That's actually the old call method, and I forgot to change it in the code, so 1 :oops: for you and 1 :oops: for me! The 'new' calls look like this...
Code:
<script type="text/javascript" src="milonic_src.js"></script>
<noscript><a href="http://www.milonic.com/">JavaScript DHTML Menu Powered by Milonic</a></noscript>
<script type="text/javascript" src="mmenudom.js"></script>

For menus in a table cell, the calls to the _data.js file(s) still get placed as I had them.

Note also that the above call structure no longer supports NS4. If you feel you have to support that old beast, simply add the call to the ns4 module using the above syntax.

Re: menu location in netscape not in the same place as in IE


Poster: Wag
Dated: Wednesday November 7 2007 - 16:28:11 GMT

Quote:
Which is exactly why, way back up towards the top of this thread, I pointed you to http://www.milonic.com/tablemenu.php, and mentioned that you weren't using the correct method for putting the menu in a table cell.


As soon as I read the table help, I did away with the table. I thought I needed the table for placement at first but later realized I didn't.

Thanks again for all your help!

Re: menu location in netscape not in the same place as in IE


Poster: Wag
Dated: Sunday November 11 2007 - 14:31:10 GMT

Well, I guess I'll have to leave it the way I had it, I just can't make it work any other way.
http://webpages.charter.net/wag1/main.htm

It seemed to work with John's link above but I saved the page off the link and when I test it, the menu doesn't work at all.
I have the files named right and in the same directory, I just don't know whats up. 8O

The link has been deleted so I can't compare.

Re: menu location in netscape not in the same place as in IE


Poster: Ruth
Dated: Sunday November 11 2007 - 18:17:26 GMT

Hi,

When I look at your data files I see a top left positioning and not the relative position for a table placed menu. Do this and let me know if it works.

In both menu data files buildAfterLoad=true like this

Code:
fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
buildAfterLoad=true;


Then in each main menu, remove the top= and left= coding and change to position='relative';

Since both menus are now showing, if you change nothing else on the page, then they should show. If they are not showing after you do that, post back so I can figure out why they are not showing.


Ruth

Re: menu location in netscape not in the same place as in IE


Poster: Wag
Dated: Monday November 12 2007 - 1:45:20 GMT

This is the latest version with my best shot at the changes suggested. None of the menu script is in a table anymore.
http://webpages.charter.net/wag1/Boss%20Hoss%20Help.htm
Not including the on Ruth's last post.

Re: menu location in netscape not in the same place as in IE


Poster: Wag
Dated: Tuesday November 13 2007 - 3:26:10 GMT

Don't know, it works for me off the link above.

Try this http://webpages.charter.net/wag1/

That is my Entry page.

Use the 1024x768

Re: menu location in netscape not in the same place as in IE


Poster: Ruth
Dated: Tuesday November 13 2007 - 3:44:36 GMT

OK, the 1024x link works, but the 800x600 says page not found when I click it.

Ruth

Re: menu location in netscape not in the same place as in IE


Poster: Wag
Dated: Tuesday November 13 2007 - 4:00:14 GMT

You are correct, I need to take your changed page, the 1024 page and size everything to 800x600 and reload it. Right now I have it disabled.

Thankyou so much, it's like an early Christmas for me!
Wag

Re: menu location in netscape not in the same place as in IE


Poster: Ruth
Dated: Monday November 12 2007 - 18:35:37 GMT

Hi,

I finally was able to upload to the support section so here is your page

Links Removed

Ruth

Re: menu location in netscape not in the same place as in IE


Poster: Wag
Dated: Tuesday November 13 2007 - 1:51:38 GMT

Ruth
If this works as the link, your amazing. Will try it as soon as I can.
I copied and saved everything as you described.

The zip file link doesn't work.

Thanks
Wag

Re: menu location in netscape not in the same place as in IE


Poster: Wag
Dated: Tuesday November 13 2007 - 2:58:48 GMT

Ruth
I just implemented your changes, sweet! it works on all counts.

http://webpages.charter.net/wag1/main.htm

You go girl!
Thanks
Wag

Re: menu location in netscape not in the same place as in IE


Poster: Ruth
Dated: Tuesday November 13 2007 - 3:14:20 GMT

Hi,

I'm getting page not found. When I go to wag1/ with no page I get an entry page but when I click on the click here for resolution x I get no pages either.

Ruth