[jQuery] slideToggle and cookies
hi there,
i can't get my head around it.
Could one explain to me how i save to state of the menu into a cookie
so when the page gets refresh the menu would still stay open.
$(document).ready(function() {
$('ul#menu li ul').hide();
$('ul#menu li a h2.works').click(function(){
$('ul#menu li ul').slideToggle('normal');
return false;
});
});
Thanks,
s