/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(document).ready(function(){ // Меню $('.menu li').toggle(function() { $(this).find('ul').fadeIn('200'); }, function() { $(this).find('ul').fadeOut('200'); }); // переход по ÑÑылке приклике $('.menu li ul li').click(function(){ window.location=$(this).find("a").attr("href"); return false; }) })