- Posts: 14116
- Thank you received: 1639
mouseout dalay 500 ms
-
ivan.milic
Support Staff - Moderator
Less
More
12 years 4 months ago #20631
by ivan.milic
Replied by ivan.milic on topic mouseout dalay 500 ms
Hi,
you use fadeIn(700) for drop down animation so it appears you like delay because it starts form opacity 0. You can make 700 like 200 or eliminate animation put just show() instead of fadeIn(700).
you use fadeIn(700) for drop down animation so it appears you like delay because it starts form opacity 0. You can make 700 like 200 or eliminate animation put just show() instead of fadeIn(700).
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 #20639
by Jan Harmening
Replied by Jan Harmening on topic mouseout dalay 500 ms
Do you talk about Top Menu or Main Menu on left side?
Because I wuld like to have a delay for Top Menu, that it does not collaps emideately after leaving the mouse from Drop Down.
Because I wuld like to have a delay for Top Menu, that it does not collaps emideately after leaving the mouse from Drop Down.
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 #20653
by ivan.milic
Replied by ivan.milic on topic mouseout dalay 500 ms
top
Please Log in to join the conversation.
-
Jan Harmening
Inactive member - Topic Author
- Member
Less
More
- Posts: 38
- Thank you received: 0
11 years 6 months ago #30373
by Jan Harmening
Replied by Jan Harmening on topic mouseout dalay 500 ms
After long time I try it again, because the problem was not solved.
I have read much in foren about "menu mouseout delay", but have not found a quick solution for my top menu of hot coffeeine template as I am useing for www.tip-reisen.de .
I am just looking for the code I can put in index.php of the template or elswere that the top menu will not collaps imediately after leaving the menu with the mouse.
I have read something about jquery but have not yet found the solution for this very template.
Hopefully you or someone else can help.
I have read much in foren about "menu mouseout delay", but have not found a quick solution for my top menu of hot coffeeine template as I am useing for www.tip-reisen.de .
I am just looking for the code I can put in index.php of the template or elswere that the top menu will not collaps imediately after leaving the menu with the mouse.
I have read something about jquery but have not yet found the solution for this very template.
Hopefully you or someone else can help.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 6 months ago - 11 years 6 months ago #30377
by ivan.milic
Replied by ivan.milic on topic mouseout dalay 500 ms
In templateDetails.xml you will find this:
values are available animations, argument in function is duration in ms. If you use pre-defined style, open styles/styleX.php where X is number of your style and change value of $menuAnimationEffect variable
If you change templateDetails.xml you need to save template options after that!
Code:
<field name="menuEffect" type="list" default="drop_in" label="TPL_HOT_COFFEINE_LABEL_TOPMENU_CLASSIC_ANIMATION" description="TPL_HOT_COFFEINE_DESC_TOPMENU_CLASSIC_ANIMATION">
<option value="fadeIn(700)">TPL_HOT_COFFEINE_LABEL_TOPMENU_CLASSIC_ANIMATION_FADE</option>
<option value="slideDown('slow')">TPL_HOT_COFFEINE_LABEL_TOPMENU_CLASSIC_ANIMATION_SCROLL</option>
<option value="show(400)">TPL_HOT_COFFEINE_LABEL_TOPMENU_CLASSIC_ANIMATION_DROP</option>
<option value="show(0)">TPL_HOT_COFFEINE_LABEL_TOPMENU_CLASSIC_ANIMATION_NONE</option>
</field>
values are available animations, argument in function is duration in ms. If you use pre-defined style, open styles/styleX.php where X is number of your style and change value of $menuAnimationEffect variable
If you change templateDetails.xml you need to save template options after that!
Last edit: 11 years 6 months ago by ivan.milic.
Please Log in to join the conversation.
-
Jan Harmening
Inactive member - Topic Author
- Member
Less
More
- Posts: 38
- Thank you received: 0
11 years 6 months ago - 11 years 6 months ago #30380
by Jan Harmening
Replied by Jan Harmening on topic mouseout dalay 500 ms
Thank you very much for your quick replay.
But now there are 3 new questions about this:
1) How can I find out, what number of style is in use?
2) Opening Style 1 I only found
$menuAnimationEffect = "slideDown('slow')";
What should I change there?
3) Where should I save Template options?
But now there are 3 new questions about this:
1) How can I find out, what number of style is in use?
2) Opening Style 1 I only found
$menuAnimationEffect = "slideDown('slow')";
What should I change there?
3) Where should I save Template options?
Last edit: 11 years 6 months ago by Jan Harmening.
Please Log in to join the conversation.
Time to create page: 0.084 seconds