Cannot adjust appearance delay
-
- Advanced
- Posts: 14
- Joined: Fri Oct 28, 2005 6:22 am
Cannot adjust appearance delay
I tried set value for delay before menu appeares but no success. It appoeares instanty when the cursor goes over. Annoys a lot. How tune this delay properly? Please help.
Sounds like you need to add the following to your menu_data.js file:
Hope this helps,
Andy
Code: Select all
horizontalMenuDelay=true;
Andy
-
- Advanced
- Posts: 14
- Joined: Fri Oct 28, 2005 6:22 am
-
- Advanced
- Posts: 14
- Joined: Fri Oct 28, 2005 6:22 am
I don't think you can do it the way you want. The coding is to open the menu when the mouse is placed over the parent item, and the delay is to set how long after you place the cursor on the parent item the menu will open, not how long you have the cursor on the parent item. I would suggest you set it to a longer opening delay and see if that will work for you. For example if you set it at 1000, then if someone mouses over and off the menu quickly the submenu will probably not open at all. But, you'll have to test the time and see.
The other option would be to set it to open on click, then it would only open if they clicked the parent item.
Ruth
The other option would be to set it to open on click, then it would only open if they clicked the parent item.
Ruth
-
- Advanced
- Posts: 14
- Joined: Fri Oct 28, 2005 6:22 am
-
- Advanced
- Posts: 14
- Joined: Fri Oct 28, 2005 6:22 am
Yes, when included under with(menuStyle=new mm_style()){ it works but not properly. There is link under top item - I cannot remove it. It's being generated automatically. When clicked menu doesnt' drop sublevel but follows link instead.
Ok, I tried remove link generation. But after click on top level item nothing happiness.
begining of menu looks like this:
level begining:
sublevel:
this doesnt work. Sublevel doesnt' appear on click.
If I include
then I follow to some url on click.
What's wrong? May be I must include "empty url" to call of aI() but I dont' see how do that.
Ok, I tried remove link generation. But after click on top level item nothing happiness.
begining of menu looks like this:
Code: Select all
_menuCloseDelay=1;
_menuOpenDelay=500;
_subOffsetTop=10;
_subOffsetLeft=-10;
horizontalMenuDelay=false;
with(menuStyle=new mm_style()){
openonclick=1;
Code: Select all
with(milonic=new menuname("level1")){
Code: Select all
aI("text=Text in item; showmenu=level1;");
If I include
Code: Select all
aI("text=Text in item; url=http://someurl; showmenu=level1;");
What's wrong? May be I must include "empty url" to call of aI() but I dont' see how do that.
-
- Advanced
- Posts: 14
- Joined: Fri Oct 28, 2005 6:22 am
It is large enough... And it containes national alphabets. I can send you link to page with menu but you will not able read any text. Agree?
I use Milonic DHTML Website Navigation Menu V 5.0+
There is no separated menu data file. Menu generation code is being included to page. Levels are generated dynamically by server using special script - it's a base of this site. Values are taken from data base and some used from page context. In my case menu code cannot be stored in separated file, only in page.
I use Milonic DHTML Website Navigation Menu V 5.0+
There is no separated menu data file. Menu generation code is being included to page. Levels are generated dynamically by server using special script - it's a base of this site. Values are taken from data base and some used from page context. In my case menu code cannot be stored in separated file, only in page.
-
- Advanced
- Posts: 14
- Joined: Fri Oct 28, 2005 6:22 am
-
- Advanced
- Posts: 14
- Joined: Fri Oct 28, 2005 6:22 am
-
- Advanced
- Posts: 14
- Joined: Fri Oct 28, 2005 6:22 am
-
- Advanced
- Posts: 14
- Joined: Fri Oct 28, 2005 6:22 am
Hi,
First, have you tried setting the opening delay with the new menu. I just tested it in 5.734 and it works fine.
I set it at 750, 500 seems to work but it's pretty quick so if you slow down a bit when passing over it will open, I thought 750 a better choice.
As to the other, add openonclick=1; to the aI string which has the showmenu= that you want to openonclick.
Ruth
First, have you tried setting the opening delay with the new menu. I just tested it in 5.734 and it works fine.
Code: Select all
fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=750;
_subOffsetTop=2;
_subOffsetLeft=-2;
horizontalMenuDelay=true;
As to the other, add openonclick=1; to the aI string which has the showmenu= that you want to openonclick.
Ruth
-
- Advanced
- Posts: 14
- Joined: Fri Oct 28, 2005 6:22 am