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:09

Could you check my code so works on a MAC


Poster: winbach
Dated: Wednesday September 15 2004 - 3:23:39 BST

Greetings. My code is still not working on the mac. Here is my on my home page at the top under body tag:

[code] <script type="text/javascript" src="milonic_src.js"></script>
<param copyright="JavaScript Menu by Milonic - http://www.milonic.com"></param>
<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 type="text/javascript" src="menu_data.js"></script>[code]

in a table cell:

code: <SCRIPT TYPE="text/javascript">
               with(new menuname("Main Menu")){
               style=menuStyle2;
               alwaysvisible=1;
screenposition="center";
orientation="horizontal";
               aI("text=HOME;url=index.html");
               aI("text=PRODUCTS;showmenu=Products;");
aI("text=COMPANY PROFILE;showmenu=Company Profile;");
               aI("text=MANUFACTURING CAPABILITIES;showmenu=Manufacturing Capabilities;");
aI("text=ENGINEERING;showmenu=Engineering;");
aI("text=QUALITY;showmenu=Quality;");
aI("text=CONTACT US;url=#");
               }
               drawMenus();
</SCRIPT>[code]

My data file is at http://www.winbach.com/DCX/menu_data.js

What on earth am I doing wrong... aaaarrrggghhhh!! Sorry I seem to be a bit lost on this but thanks for your help in advance..


Poster: Ruth
Dated: Wednesday September 15 2004 - 4:51:38 BST

I don't have a mac, but you have screenposition="center"; and yet you have the menu in a table cell and that parameter I don't believe will work. You've left out the position code which as far as table directions show needs to be there which is position="relative";

If you could possibly put up a test page with everything you have so the mac users can actually go to the page, it would be helpful. If not, if you can post all the page code so they can see it, that would be the next best thing. Don't forget the code button and to close the codes, something I do all the time :oops:

Ruth


Poster: John
Dated: Wednesday September 15 2004 - 5:02:39 BST

You already have one topic open about your code not working on a Mac, and folks have been answering you there. Opening another with the same topic does nothing but confuse everybody, and breaks up the answers. Please use the other topic you started to continue this.

My apologies for the confusion


Poster: winbach
Dated: Wednesday September 15 2004 - 14:34:37 BST

I thought this would help people with viewing the code. Sorry for the double topic. I will stick with the first. Thanks for your help!!!