Difference between revisions of "Template:Sidebar"

From Sinfronteras
Jump to: navigation, search
Line 554: Line 554:
 
         });
 
         });
  
         $(".mw-collapsible-text").hover(function(){
+
         function aver() {
            $(".resaltar").first().css({'cssText':'background: red !important'})
+
            $(".mw-collapsible-text").hover(function(){
            }, function(){
+
                $(".resaltar").first().css({'cssText':'background: red !important'})
            $(".resaltar").first().css({'cssText':'background: reset'})
+
                }, function(){
        });
+
                $(".resaltar").first().css({'cssText':'background: reset'})
 +
            });
 +
        }
  
 
         // $(".mw-collapsible").hover(function(){
 
         // $(".mw-collapsible").hover(function(){
Line 668: Line 670:
 
                 collapseSome()
 
                 collapseSome()
 
                 removeCSS()
 
                 removeCSS()
 +
                aver()
 
                 // moveSidebarToBody()
 
                 // moveSidebarToBody()
 
             });   
 
             });   
Line 673: Line 676:
 
             collapseSome()
 
             collapseSome()
 
             removeCSS()
 
             removeCSS()
 +
            aver()
 
             // moveSidebarToBody()
 
             // moveSidebarToBody()
 
         });
 
         });

Revision as of 17:24, 18 March 2021