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:56
2 problems - menu position and Milonic on home button
Poster: canie
Dated: Sunday September 3 2006 - 15:49:27 BST
Now that the menu has been working for a few days, users are reporting errors - I don't see them with my Mozilla or MSIE browser,.
One running Netscape 7.1 has the entire menu jump to the right when they are on a pull down menu
The second user is on a dial up connection and they get the Milonic name in the menubar, even though the link is on the page..
Any clues for these problems?
Canie
Jumping fixed - but other worse..
Poster: canie
Dated: Monday September 4 2006 - 2:31:29 BST
The jumping is fixed by saying position =center rather than relative..
But - the person getting the Milonic in the box instead of Home (on dialup) - is using MEIS 5.5 - also with the change to position=center, she lost the drop down menus altogether..
Is this an issue with 5.5 ?
Canie
More issues
Poster: canie
Dated: Monday September 4 2006 - 3:54:25 BST
I also have some users on MSIE that have java script enabled and no drop down menues.. or no menu at all..
Any suggestions for the users with MSIE and nothing appears, even though java script is enabled?
Canie
Poster: Ruth
Dated: Monday September 4 2006 - 5:10:02 BST
Hi,
I'm on IE 5.5 win98 and everything is working fine. I see Home and I get the drop down menus.
Do they have something set in their browsers for some kind of security?
Ruth
Back to problems...
Poster: canie
Dated: Monday September 4 2006 - 5:30:24 BST
Hi Ruth - We're back to the jumping as in the top picture -
What fixed the top problem was saying position=center, rather than position=relative -
BUT - then MSIE quit working.. so I've set it back to position=relative..and MSIE works, but the jumping to the right is back.
Also - the Home/Milonic is happening to a user on a dial up - we figure it's taking so long to get the bottom of the page loaded (where the link is) that the script doesn't see it there.. if she reloads, the milonic goes away..
So, we're just back to the problem shown in the top picture. I do have the menu in a table cell - my next attempt to fix was to take it out of the table and see how it behaves..
of course, any browser I have is working fine - but we've about 800 members who visit this site on various browsers..
Canie
Jumping screen
Poster: canie
Dated: Monday September 4 2006 - 5:49:38 BST
So I took the menu out of the table cell - with the position=relative that IE needs, and out of a table, it no onger jumps around..
The jumping browser was Netscape 7.?
So I think all are working now ...
Canie
Poster: Ruth
Dated: Monday September 4 2006 - 19:55:24 BST
Hi,
It seems that NN7 is having a problem with the center tags around the tables. Try the following to put it in the table, actually I put it in a div, the table always had the problem.
Cut the main menu from the menu_data.js file, paste it into a separate file, paste a drawMenus(); at the end and save it [I use main_data.js]
Then move your call for the menu_data.js file up with the other menu files, and put the main_data.js file where you now have the menu data file.
main_data file:
Code:
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
position="relative";
aI("text=Home;url=/main.aspx;");
aI("showmenu=Aboutbengals;text=About Bengals;");
aI("showmenu=Abouttibcs;text=About TIBCS;");
aI("text=Breeder Directory;url=/breeders.aspx;");
aI("text=Available Cats;url=/retirees/index.aspx;");
aI("text=Members Only;url=/login.aspx;");
aI("showmenu=Pets;text=Pet Corner;");
}
drawMenus();
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
position="relative";
aI("text=Home;url=/main.aspx;");
aI("showmenu=Aboutbengals;text=About Bengals;");
aI("showmenu=Abouttibcs;text=About TIBCS;");
aI("text=Breeder Directory;url=/breeders.aspx;");
aI("text=Available Cats;url=/retirees/index.aspx;");
aI("text=Members Only;url=/login.aspx;");
aI("showmenu=Pets;text=Pet Corner;");
}
drawMenus();
Your call for files right after the body tag:
Code:
<BODY vLink=#ff9c31 aLink=#ff9c31 link=#ff9c31 bgColor=#000000><BR>
<SCRIPT src="milonic_src.js" type=text/javascript></SCRIPT>
<SCRIPT type=text/javascript>
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=mmenudom.js><\/scr"+"ipt>");
</SCRIPT>
<SCRIPT src="menu_data.js" type=text/javascript></SCRIPT>
<SCRIPT src="milonic_src.js" type=text/javascript></SCRIPT>
<SCRIPT type=text/javascript>
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=mmenudom.js><\/scr"+"ipt>");
</SCRIPT>
<SCRIPT src="menu_data.js" type=text/javascript></SCRIPT>
I don't know how your menu was originally in the table, but as an example I did this, I added a div between the tables [I needed to put in a linebreak to make the div have space between it and the div.
Code:
<CENTER>
<TABLE width=587 align=center>
<TBODY>
<TR>
<TD class=navbar vAlign=top align=middle width=581><A
href="http://www.bengalcat.com/"><IMG height=54 alt="TIBCS Home"
src="tibcswordslogo.gif" width=548 border=0></A><br>
</TD></TR></TBODY></TABLE></CENTER>
<!-- Begin Navigation Bar Div -->
<div align="center"><SCRIPT src="main_data.js" type=text/javascript></SCRIPT></div>
<!-- End Navigation Bar Div -->
<CENTER>
<TABLE width=587 align=center>
<TBODY>
<TR>
<TR>
<TD class=navbar vAlign=top align=middle width=581>
<BR><IMG height=30
alt="TIBCS Bar" src="tibcsbar.gif" width=432
border=0><BR> </TD></TR></TBODY>
</TABLE></CENTER>
<TABLE width=587 align=center>
<TBODY>
<TR>
<TD class=navbar vAlign=top align=middle width=581><A
href="http://www.bengalcat.com/"><IMG height=54 alt="TIBCS Home"
src="tibcswordslogo.gif" width=548 border=0></A><br>
</TD></TR></TBODY></TABLE></CENTER>
<!-- Begin Navigation Bar Div -->
<div align="center"><SCRIPT src="main_data.js" type=text/javascript></SCRIPT></div>
<!-- End Navigation Bar Div -->
<CENTER>
<TABLE width=587 align=center>
<TBODY>
<TR>
<TR>
<TD class=navbar vAlign=top align=middle width=581>
<BR><IMG height=30
alt="TIBCS Bar" src="tibcsbar.gif" width=432
border=0><BR> </TD></TR></TBODY>
</TABLE></CENTER>
Hope this takes care of it. I tested and it seems to be OK.
Ruth