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

menu open delay timer not working with mouseover.....


Poster: fletchsod
Dated: Tuesday December 28 2004 - 21:27:00 GMT

I'm trying to get the delay timer to work for the menu open when the mouse is mouseover it but it doesn't work. I can get the menu close delay timer to work when the mouse is on mouseout. Why is that? I'm looking at "_menuOpenDelay" for the menu open delay timer...

Thanks,
FletchSOD


Poster: Ruth
Dated: Tuesday December 28 2004 - 22:51:13 GMT

It seems the _menuOpenDelay= doesn't apply to the first level subs of a horizontal menu. You could try putting in an overfilter fade for those first level submenus which would make them look like they are fading in, but it will show up in Internet Explorer.

Ruth


Poster: Andy
Dated: Tuesday December 28 2004 - 23:09:07 GMT

not much point putting a delay on the horizontal menus, thats why we removed it.

However, if you want to put it back, we also added a property that you can add to the menu_data.js file to bring it back.

The property is:

horizontalMenuDelay

Set it to true for the delay, false (default) for no delay.

So that would be horizontalMenuDelay=true; or horizontalMenuDelay=false;

Cheers
Andy

...


Poster: fletchsod
Dated: Tuesday December 28 2004 - 23:21:46 GMT

Ah!!! Thanks... Well, I have 2 seperate horizontal Menus at the top and just below it is bunch of html form document that is to be filled out. I can see that moving the mouse around that swing by the menu caused the pop-up to appear even when it is not intended to be used. So, that's why I need the delay timer. If we need the menu then we just move hte mouse right over it and wait for almost 1 second then it will appear. So, that's why.


Thanks,
FletchSOD

...


Poster: fletchsod
Dated: Tuesday December 28 2004 - 23:25:35 GMT

That doesn't seem to work. So, where exactly do I put the "horizontalMenuDelay=true;" in the menu_data.js??? Is it in the

--snip--
with(menuStyle=new mm_style()){
onbgcolor="#329806";
oncolor="#FFCC00";
offbgcolor="#329806";
offcolor="FFFFCC";
bordercolor="#FFFFCC";
borderstyle="solid";
borderwidth="1";
separatorcolor="#FFFFCC";
separatorsize="1";
padding="5";
fontsize="10px";
fontstyle="normal";
fontweight="bold";
fontfamily="verdana, arial, helvetica, sans-serif";
subimage="images/arrow.gif";
onsubimage="images/arrowover.gif";
subimagepadding="2";
}
--snip--

script???

Thanks,
FletchSOD


Poster: Ruth
Dated: Wednesday December 29 2004 - 4:30:27 GMT

I believe it goes up at the top section with the global properties...the menuOpenDelay etc.

http://www.milonic.com/global_properties

Ruth


Poster: Andy
Dated: Wednesday December 29 2004 - 12:08:01 GMT

Just found a small bug in 5.66 that is stopping the delays from working correctly.

I've fixed this for version 5.67 and the Pre Release can be found at http://www.milonic.com/menuvinfo.php.

As Ruth mentioned, Global Properties need to go at the top of your data file

-- Andy

...


Poster: fletchsod
Dated: Wednesday December 29 2004 - 14:23:48 GMT

Ah! So, that's what it is... I use version 5.65. So, downloaded and tested it with version 5.67 and so far, it doesn't work. Again, thanks for the info on the global properties. Took care of it.

I'm not sure why it doesn't work. I'm using the method of mouseover and mouseout over the image where the mouse is placed on. Saw that demo at http://www.milonic.com/menusample24.php . I'm using it over the table's td tag instead of the image tag.

So, I did the little debugging. I found the horizontalMenuDelay in the milonic_src.js inside the if statement and placed an alert('123'); underneath it and tried again. Got no alert message with the mouse over....

So, created a testcase right from the website where the Milonic menus is on and simplified it. Removed lot of javascript codes not related to Milonic and tried again. Still no effect.

Thanks,
FletchSOD

P.S. This post had been recently edited.


Poster: Andy
Dated: Thursday December 30 2004 - 10:24:17 GMT

You got a URL that we can see?

-- Andy

..


Poster: fletchsod
Dated: Monday January 3 2005 - 15:34:27 GMT

The website is not out on the Internet yet because it's still in the development stage... But I can email you the zipped testcase I made, don't know what's your email address. We bought the license 2 or 3 weeks ago. ;-)

Thanks,
FletchSOD


Poster: Andy
Dated: Monday January 3 2005 - 15:37:44 GMT

Hi,

As you have purchased a license you should have direct access to our support system at http://www.milonic.com/support/

You can upload test files to the support system

Cheers
Andy


Poster: Andy
Dated: Monday January 3 2005 - 16:07:32 GMT

Hi,

Sorry I didn't catch this earlier. The problem was that you are using the popup function and this needs the delay to be declared in a different way.

You can declare an opening delay to the popup function itslef as the 6th parameter for the function.

So you need to change:

popup('Column2','milonicColumn2');

To:
popup('Column2','milonicColumn2',null,null,null,500);

Note that you will also need to update the menu code files to use version 5.67. These are now final and have been released.

I've also updated http://www.milonic.com/menu_methods.php to describe how the "popup" parameters work.


Hope this helps
Andy

..


Poster: fletchsod
Dated: Monday January 3 2005 - 17:01:57 GMT

Ah! This now fixed my problem. Thanks again!!

Thanks,
FletchSOD