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

Little bug with IE : menu not responding


Poster: maitredede
Dated: Wednesday May 18 2005 - 15:40:21 BST

Hello
I've found this under IE 6.0 under WinXP SP2

When using Previous and Next buttons of IE, if the target page contains the menu, it doesn't give any response :

I go to my site : index.php (this page has a menu)
I click "Something" (in the menu) to go to page.php
I click Previous on IE
-> The menu in index.php is showing the "AlwaysVisible" items, but no action, no response to click nothing in the menu working. Applets and other real html links works well.
The only way to solve this is by refreshing the page.

Any idea ?


Poster: John
Dated: Wednesday May 18 2005 - 16:24:23 BST

Got a URL (as requested)?


Poster: maitredede
Dated: Thursday May 19 2005 - 8:58:30 BST

Oops sorry

http://metm.no-ip.org


Poster: Ruth
Dated: Thursday May 19 2005 - 16:02:28 BST

Hi,

You have the menu in a table. This requires that you follow the specific instructions for putting it in the table. Right now you have menuStyle posted twice, once in each table, and you also have the submenu in the table following the main menu in which that submenu is shown. For the menu to function correctly in a table the submenus must be 'read' first before the main menu is drawn.

Put the following into a separate file.
Code:
_menuCloseDelay=500;
  _menuOpenDelay=150;
  _subOffsetTop=0;
  _subOffsetLeft=0
  closeAllOnClick = true;

with(menuStyle=new mm_style()){
borderwidth="0";
fontfamily="Arial Narrow,Arial,sans-serif";
headerbgcolor="#ffffff";
headercolor="#000000";
itemheight="42";
offbgcolor="#000000";
offcolor="#FFFFFF";
onbgcolor="#800000";
oncolor="#FFFF00";
ondecoration="underline";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=90)";
padding="1";
pagebgcolor="#82B6D7";
pagecolor="black";
separatorsize="0";
pointer="default";
}

with(milonic=new menuname("menujument")){
style=menuStyle;
pointer="default";
menuwidth="100";
orientation="vertical";
aI("text=Vides;title=Vides;bgimage=casemenu.gif;overbgimage=casemenu.gif;url=javascript:openIFrame('conteneurcental','gal_liste_jumentvide.php');");
aI("text=Pleines;title=Pleines;bgimage=casemenu.gif;overbgimage=casemenu.gif;url=javascript:openIFrame('conteneurcental','gal_liste_jumentpleine.php');");
aI("text=Suitées vides;title=Suitées vides;bgimage=casemenu.gif;overbgimage=casemenu.gif;url=javascript:openIFrame('conteneurcental','gal_liste_jumentsuitvide.php');");
aI("text=Suitées pleines;title=Suitées pleines;bgimage=casemenu.gif;overbgimage=casemenu.gif;url=javascript:openIFrame('conteneurcental','gal_liste_jumentsuitpleine.php');");

}
drawMenus();


Save that file as whatever you want to call it, menu_data.js, my_menu.js whatever. Leave the main menus as they are right now in the table inside the script tags with the drawmenus or you can put each one of the main menus into its own data file and then call the file itself inside the script tags in the table where you want it. If you do that each would have to be its own menu file since you are putting them in different tables.

Call the other menu files the first thing after the body tag.

Fix that and see if that will solve the problem. If that doesn't do it, let us know and we'll take another look.

Ruth


Poster: John
Dated: Thursday May 19 2005 - 17:16:46 BST

Ruth is correct. I've got it running at http://www.west.asu.edu/sa/testsite/index3.htm. I didn't bother taking the menu code to its own file only because of time constraints here. I've made quite a few code changes and movements in line with what Ruth said, so you might want to pull this source and check it out.

Where did you get that LED roller? Pretty nifty.


Poster: maitredede
Dated: Friday May 20 2005 - 10:24:48 BST

I've done that things :

- Put only one time the menustyle
- put the submenu before the first menu

The drawMenus() function should be called twice, or only once in my case ?

Here is what I have :
- menustyle
- submenu
- mainmenu1
- drawMenus()
- ... page
- mainmenu2
- drawMenus()

Is it correct ?

If you look further my code, you will see that the milonic link is in a hidden div in top of page. That is to speed up page parsing. There is a visible one on bottom page.

For the Led sign, I found it first here : http://java.sun.com/applets/archive/beta/LED/index.html and then some has updated it here : http://www.anirudh.net/java/LEDSign/ but pages have been copy/paste without taking care of links. So you will have to go forward in the directories : http://www.anirudh.net/java/LEDSign/com/dc3/applet/LEDSign/
Intersting functions : dynamic load of script, generated in php for me, ability to make our own font...
I think one day, I will add some more functions... like dynamic font, symbol tokens, script php editor, animations, more lines... Will take some times...

And I will finish this post by saying : Good job :D I've found THE menu that I searched for days...


Poster: John
Dated: Monday May 23 2005 - 16:44:38 BST

Thanks for the info on the LED scroller, AND the kind words. Most appreciated.


Poster: maitredede
Dated: Monday May 30 2005 - 13:56:30 BST

Still having the bug : click on a link (goes into the directory module of apache, since destination page is not done) and then click the Back button on IE, the menu is appearing (all options of menu) but no interaction, no animation, nothing but the 'always visible' items.