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

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
fletchsod
Advanced
Advanced
Posts: 24
Joined: Tue Dec 21, 2004 6:52 pm

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

Post by fletchsod »

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

Post by Ruth »

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
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

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
fletchsod
Advanced
Advanced
Posts: 24
Joined: Tue Dec 21, 2004 6:52 pm

...

Post by fletchsod »

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
fletchsod
Advanced
Advanced
Posts: 24
Joined: Tue Dec 21, 2004 6:52 pm

...

Post by fletchsod »

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

Post by Ruth »

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

http://milonic.com/global_properties

Ruth
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

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://milonic.com/menuvinfo.php.

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

-- Andy
fletchsod
Advanced
Advanced
Posts: 24
Joined: Tue Dec 21, 2004 6:52 pm

...

Post by fletchsod »

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://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.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

You got a URL that we can see?

-- Andy
fletchsod
Advanced
Advanced
Posts: 24
Joined: Tue Dec 21, 2004 6:52 pm

..

Post by fletchsod »

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
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

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

You can upload test files to the support system

Cheers
Andy
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

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://milonic.com/menu_methods.php to describe how the "popup" parameters work.


Hope this helps
Andy
fletchsod
Advanced
Advanced
Posts: 24
Joined: Tue Dec 21, 2004 6:52 pm

..

Post by fletchsod »

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

Thanks,
FletchSOD
Post Reply