Could you check my code so works on a MAC

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Locked
winbach
Advanced
Advanced
Posts: 18
Joined: Mon Sep 13, 2004 4:00 pm
Contact:

Could you check my code so works on a MAC

Post by winbach »

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

Code: Select all

        <script type="text/javascript" src="milonic_src.js"></script>
<param copyright="JavaScript Menu by Milonic - http://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..
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
winbach
Advanced
Advanced
Posts: 18
Joined: Mon Sep 13, 2004 4:00 pm
Contact:

My apologies for the confusion

Post by winbach »

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!!!
Locked