Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
| Line 555: | Line 555: | ||
function resaltarSection() { | function resaltarSection() { | ||
| − | $(".mw-collapsible-text, .mw-collapsible-toggle").hover(function() { | + | $(".mw-collapsible-text").hover(function() { |
| + | $(this).parent().parent().children(".resaltar").first().css({'cssText':'background: red !important'}) | ||
| + | // $(".resaltar").first().css({'cssText':'background: red !important'}) | ||
| + | }, function(){ | ||
| + | $(this).parent().parent().children(".resaltar").first().css({'cssText':'background: reset'}) | ||
| + | }); | ||
| + | $(".mw-collapsible-toggle").hover(function() { | ||
$(this).parent().parent().children(".resaltar").first().css({'cssText':'background: red !important'}) | $(this).parent().parent().children(".resaltar").first().css({'cssText':'background: red !important'}) | ||
// $(".resaltar").first().css({'cssText':'background: red !important'}) | // $(".resaltar").first().css({'cssText':'background: red !important'}) | ||
Revision as of 17:42, 18 March 2021