Changeset 23569 for extensions/stripped_black_bloc/local_head.tpl
- Timestamp:
- Jun 26, 2013, 8:34:21 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped_black_bloc/local_head.tpl
r21516 r23569 84 84 }); 85 85 } 86 function FadeSC() { 87 jQuery(".bloc a").hover(function() { jQuery(this).fadeTo(500, 1); }, function() { jQuery(this).fadeTo(500, 0.75); }); 88 jQuery(".bloc_big a").hover(function() { jQuery(this).fadeTo(500, 1); }, function() { jQuery(this).fadeTo(500, 0.75); }); 86 // fade onmouseover 87 function Hover_action_SC() { 88 {/literal}{if $stripped_black_bloc.hover_action=="fadein"}{literal} 89 jQuery(".bloc a, .bloc_big a").fadeTo(500, 0.75); 90 jQuery(".bloc a, .bloc_big a").hover(function() { jQuery(this).fadeTo(500, 1); }, function() { jQuery(this).fadeTo(500, 0.75); }); 91 {/literal}{elseif $stripped_black_bloc.hover_action=="fadeout"}{literal} 92 jQuery(".bloc a, .bloc_big a").hover(function() { jQuery(this).fadeTo(500, 0.75); }, function() { jQuery(this).fadeTo(500, 1); }); 93 {/literal}{elseif $stripped_black_bloc.hover_action=="border"}{literal} 94 jQuery(".bloc a, .bloc_big a").hover(function() { jQuery(this).animate({borderColor: "#fff"}, 900); }, function() { jQuery(this).animate({borderColor: "{/literal}{if $stripped_black_bloc.color_main}#{$stripped_black_bloc.color_main}{/if}{literal}"}, 900); }); 95 {/literal}{/if}{literal} 89 96 } 90 jQuery(window).bind("RVTS_loaded", FadeSC);97 jQuery(window).bind("RVTS_loaded", Hover_action_SC); 91 98 92 99 … … 94 101 jQuery('#rvtsUp').remove(); 95 102 96 // fade onmouseover 97 jQuery(".bloc a").hover(function() { jQuery(this).fadeTo(500, 1); }, function() { jQuery(this).fadeTo(500, 0.75); }); 98 jQuery(".bloc_big a").hover(function() { jQuery(this).fadeTo(500, 1); }, function() { jQuery(this).fadeTo(500, 0.75); }); 103 Hover_action_SC(); 99 104 100 105 // sidemenu managment
Note: See TracChangeset
for help on using the changeset viewer.