
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
%STARTINCLUDE% <script type="text/javascript" src="/twiki/pub/Quimica/JavaScript/jquery.js"></script> | ||||||||
| Line: 9 to 9 | ||||||||
| var tout; $("document").ready(function(){ | ||||||||
| Changed: | ||||||||
| < < | $("#menu").children("ul").children("li").children("a").mouseenter(function(){ $(this).parents("li").children("ul").toggle(); | |||||||
| > > | $("#menu ul li").mouseenter(function(){ $(this).children("ul").toggle(); $(this).css("background-color", "#b37d46"); | |||||||
| }); | ||||||||
| Changed: | ||||||||
| < < | $("#menu").children("ul").children("li").children("a").mouseleave(function(){ $(this).parents("li").children("ul").toggle(); | |||||||
| > > | $("#menu ul li").mouseleave(function(){ $(this).children("ul").toggle(); $(this).css("background-color", "#DD7F1F"); | |||||||
| }); //macra com a classe "active" o item de menu caso leve à página atual | ||||||||