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

IE5 for MAC


Poster: elbilo
Dated: Thursday February 3 2005 - 15:16:11 GMT

I need a MAC/IE5 user to tell me if they get a '404' error when clicking on
my menu links? Also, can see what in my code could cause such a problem? The menus are in a table and I have an Iframe below it.

url: http://www.apfa.org/indexm.htm

<code>
<script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript">
<!--
if(ns4)_d.write("<script language=JavaScript src=mmenuns4.js><\/script>");
else _d.write("<script language=JavaScript src=mmenudom.js><\/script>");
-->
</script>
<script type="text/javascript" src="datam.js"></script>
<script language=JavaScript src="divhider.js" type=text/javascript></SCRIPT>



<table border="1" height=20 align=center cellpadding="3" cellspacing="0" width=97% bordercolor=#FFFFFF bgcolor=#FFFFFF>
<tr>
<td align=center>
<script>
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=155;
left=200;
alwaysvisible=1;
orientation="horizontal";
position="relative";
aI("text=Home;url=home_frames.htm;target=tempiframe;status=Back To Home Page;");
aI("text=Main Menu;showmenu=APFA Menu;status=Main Menu;");
aI("text=Members Only;showmenu=Members Only;status=Members Only;");
aI("text=Hot Topics;showmenu=Hot Topics;status=Hot Topics;");
aI("text=Skyword;showmenu=Skyword;status=Skyword;");
aI("text=InfoReps;url=/membersonly/htdocs/inforeps/index_inforeps.html;target=tempiframe;status=InfoReps;");
aI("text=Site Map;url=navigation.html;target=tempiframe;status=Site Map;");
aI("text=Contact Us;url=/public/aboutapfa/index_about.html;target=tempiframe;status=Contact Us;");
aI("text=Press Releases;url=/press/index_press.html;target=tempiframe;status=Press;");
aI("text=Search;url=/membersonly/search/;target=tempiframe;status=Search;");
aI("text=Log Out;url=logout.php;target=new;status=Log Out;");
}
drawMenus();
</script>
</td>
</table>

----------this is a partial view of my data.js file------------------------->

_menuCloseDelay=500 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=100 // The time delay before menus open on mouse over
_subOffsetTop=5 // Sub menu top offset
_subOffsetLeft=-10 // Sub menu left offset



with(menuStyle=new mm_style()){
onbgcolor="#003366";
oncolor="#cc3333";
offbgcolor="#003366";
offcolor="#ffffff";
bordercolor="#ffffff";
borderstyle="solid";
borderwidth="1";
separatorcolor="#ffffff";
separatorsize="2";
padding="3";
fontsize="65%";
fontstyle="normal";
fontweight="bold";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="/img/arrow_r.gif";
subimagepadding="2";
bgimage="/images/tsm_blue.gif";
headercolor="#FFFFFF";
headerbgcolor="#3399CC";
openonclick=1;
}


with(milonic=new menuname("APFA Menu")){
style=menuStyle;
overflow="scroll";
hidediv="tempiframe";
aI("text=Menu Items;type=header;align=align;");
aI("text=Base Pages;showmenu=bases;");
aI("text=Calendars;showmenu=cal;");
aI("text=Constitution;showmenu=const;");
aI("text=Contract;showmenu=cont;");
aI("text=Crew Rest;showmenu=crew;");
aI("text=Departments;showmenu=dept;");
aI("text=DOL Findings;showmenu=dol;");
aI("text=EC/BOD Meetings;showmenu=ec;");
aI("text=Elections;showmenu=elec;");
aI("text=FA Certification;showmenu=fac;");
aI("text=Furlough;showmenu=furl;");
aI("text=Government Affairs;showmenu=gov;");
aI("text=In Memory Of;showmenu=rip;");
aI("text=Letters Of Agreement;showmenu=letters;");
aI("text=National Officers;showmenu=nos;");
aI("text=News and Events;showmenu=news;");
aI("text=Policy Manual;showmenu=pol;");
aI("text=Resource Center;showmenu=res;");
aI("text=Retirement/Retirees;showmenu=retire;");
aI("text=Roommate Finder;showmenu=room;");
aI("text=Rumor Control;showmenu=rumor;");
aI("text=Seniority;showmenu=sen;");
aI("text=TWA (SIA);showmenu=twa;");
}

}


drawMenus();
<!------------------------------------->
</code>


Poster: Ruth
Dated: Thursday February 3 2005 - 17:49:27 GMT

I don't have a mac, but I noticed you have a top/left position listed. I don't know that it should do anything, but since you have the menu in a table you don't need that. Also, have you looked at menu sample#9 that talks about iframes. That shows the url parameter as url=javascript:openIFrame('tempiframe,'http://www.google.com'") not as target=

Ruth


Poster: John
Dated: Thursday February 3 2005 - 18:42:30 GMT

This line...
Code:
<script language=JavaScript src="/menu_data.js" type=text/javascript></SCRIPT>

...is giving a 404. Apparently you've changed that file name to data.js.


Poster: Ruth
Dated: Thursday February 3 2005 - 20:27:10 GMT

::looking for my glasses:: I never even noticed that :oops:

Ruth