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 ?
Little bug with IE : menu not responding
-
- Advanced
- Posts: 16
- Joined: Wed May 18, 2005 3:26 pm
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.
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
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: Select all
_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();
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
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.
Where did you get that LED roller? Pretty nifty.
John
-
- Advanced
- Posts: 16
- Joined: Wed May 18, 2005 3:26 pm
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 ... t/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 I've found THE menu that I searched for days...
- 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 ... t/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 I've found THE menu that I searched for days...
-
- Advanced
- Posts: 16
- Joined: Wed May 18, 2005 3:26 pm