2 problems - menu position and Milonic on home button

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
canie
Beginner
Beginner
Posts: 8
Joined: Thu Aug 31, 2006 12:22 am
Contact:

2 problems - menu position and Milonic on home button

Post by canie »

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 menuImage


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
canie
Beginner
Beginner
Posts: 8
Joined: Thu Aug 31, 2006 12:22 am
Contact:

Jumping fixed - but other worse..

Post by canie »

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
canie
Beginner
Beginner
Posts: 8
Joined: Thu Aug 31, 2006 12:22 am
Contact:

More issues

Post by canie »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
canie
Beginner
Beginner
Posts: 8
Joined: Thu Aug 31, 2006 12:22 am
Contact:

Back to problems...

Post by canie »

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
canie
Beginner
Beginner
Posts: 8
Joined: Thu Aug 31, 2006 12:22 am
Contact:

Jumping screen

Post by canie »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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: Select all

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();
Your call for files right after the body tag:

Code: Select all

<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>
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: Select all

<CENTER>
<TABLE width=587 align=center>
  <TBODY>
  <TR>
    <TD class=navbar vAlign=top align=middle width=581><A 
      href="http://websites.milonic.com/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>&nbsp;</TD></TR></TBODY>
</TABLE></CENTER>
Hope this takes care of it. I tested and it seems to be OK.

Ruth
Post Reply