- Posts: 38
- Thank you received: 0
mouseout dalay 500 ms
-
Jan Harmening
Inactive member - Topic Author
- Member
Less
More
12 years 5 months ago #20409
by Jan Harmening
mouseout dalay 500 ms was created by Jan Harmening
Hi, I would like to have a mouseout dalay of 500 ms for the topmenu dropdown menu, but don't know the code and where to put it in.
Can anyone help?
Can anyone help?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 5 months ago #20422
by ivan.milic
Replied by ivan.milic on topic mouseout dalay 500 ms
If you use pre-defined style you can edit styles/styleX.php (x is number of style)
You will see:
$menuAnimationEffect = "slideDown('slow')";
you can change it to:
$menuAnimationEffect = "slideDown(500)";
If not (you use customstyle) open templateDetails.xml , and find this:
<param name="menuEffect" type="list" default="drop_in" label="Menu Animation Effect" description="Please select menu animation effect.">
<option value="fadeIn(700)">Fade</option>
<option value="slideDown('slow')">Scroll Down</option>
<option value="show(400)">Drop-In</option>
<option value="show(0)">None</option>
</param>
and change slideDown('slow') to slideDown(500), make sure Scroll Down is selected in template parameters.
You will see:
$menuAnimationEffect = "slideDown('slow')";
you can change it to:
$menuAnimationEffect = "slideDown(500)";
If not (you use customstyle) open templateDetails.xml , and find this:
<param name="menuEffect" type="list" default="drop_in" label="Menu Animation Effect" description="Please select menu animation effect.">
<option value="fadeIn(700)">Fade</option>
<option value="slideDown('slow')">Scroll Down</option>
<option value="show(400)">Drop-In</option>
<option value="show(0)">None</option>
</param>
and change slideDown('slow') to slideDown(500), make sure Scroll Down is selected in template parameters.
Please Log in to join the conversation.
-
Jan Harmening
Inactive member - Topic Author
- Member
Less
More
- Posts: 38
- Thank you received: 0
12 years 5 months ago #20428
by Jan Harmening
Replied by Jan Harmening on topic mouseout dalay 500 ms
I do not mean the "slideDown".
I mean the mouseout dalay, when someone leave the dropdownmenu for a short moment, that it will stay for 500 ms and not collaps at this very moment.
Where and how can I change this? I do have the hot_coffein Template.
But it would be also nice if the Top Menu drops down in the same nice way like the Maximenu CK I use as Main Menu on the left side (see on page Indien )
I mean the mouseout dalay, when someone leave the dropdownmenu for a short moment, that it will stay for 500 ms and not collaps at this very moment.
Where and how can I change this? I do have the hot_coffein Template.
But it would be also nice if the Top Menu drops down in the same nice way like the Maximenu CK I use as Main Menu on the left side (see on page Indien )
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6744
- Thank you received: 716
12 years 5 months ago #20449
by milos
Replied by milos on topic mouseout dalay 500 ms
Sorry for the late answer.
Such option is not available in the Coffein template. It will need additional programming and I am not sure if all users will like this behavior.
You can use a 3rd party's extension for the menu if you like.
Such option is not available in the Coffein template. It will need additional programming and I am not sure if all users will like this behavior.
You can use a 3rd party's extension for the menu if you like.
Please Log in to join the conversation.
-
Jan Harmening
Inactive member - Topic Author
- Member
Less
More
- Posts: 38
- Thank you received: 0
12 years 4 months ago #20527
by Jan Harmening
Replied by Jan Harmening on topic mouseout dalay 500 ms
I am sure most of all would enjoy this feature.
But do you have no code for this simple delay?
It would be really kind of you to give a code for this.
Because it is really annoying, evry time going back to the top navigation after the drop down menu has collapsed.
Thank you in advance!
But do you have no code for this simple delay?
It would be really kind of you to give a code for this.
Because it is really annoying, evry time going back to the top navigation after the drop down menu has collapsed.
Thank you in advance!
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 4 months ago #20530
by ivan.milic
Replied by ivan.milic on topic mouseout dalay 500 ms
That does not exist at all, it disappears immediately when you leave drop down panel area.
Please Log in to join the conversation.
Time to create page: 0.095 seconds