Difference between revisions of "Template:AUC TURKEY"
Line 80: | Line 80: | ||
#menu li:hover { | #menu li:hover { | ||
background-color:lightgray; | background-color:lightgray; | ||
+ | } | ||
+ | #submenu { | ||
+ | position:fixed; | ||
+ | top:100px; | ||
} | } | ||
#submenu a:hover { | #submenu a:hover { | ||
Line 108: | Line 112: | ||
$("#menu li").hover( | $("#menu li").hover( | ||
function(){ | function(){ | ||
− | $("#sub"+$( | + | $("#sub"+$("#submenu ul").index(this)).slideDown(200); |
}, | }, | ||
function(){ | function(){ | ||
− | $("#sub"+$( | + | $("#sub"+$("#submenu ul").index(this)).slideUp(200); |
} | } | ||
); | ); |
Revision as of 13:16, 25 June 2015