I have the following now
function initMenu() {
if ($.cookie('the_cookie')=='2') //comes here after refresh!!
{
alert('came here');
$("a").filter(".b").slideDown('normal'); //but this seems to be
not working!!
alert('did the sliding: ' + $("a").filter(".b").attr('nam
thanks that woked!
i am getting very confused as i have no prior experience with
javascript either.
Can you please see If im going in right direction with this?
I am just trying to take this plugin
http://www.i-marco.nl/weblog/jquery-accordion-menu/
and integrate cookies to it so once user hits
$(this).attr('name');
I think that's what you're looking for?
3 matches
Mail list logo