I am trying to make a box but when clicked a list item it drops down then returns when clicked. I have done this many times before but for some reason Jquery is adding display:none;
$('li.item-162').toggle(function(){
$('.login').animate({
top: '27px'
}, 1000);
},function() {
$('.login').animate({
top: '-212px'
}, 1000);
});
$(".li.item-162").show();
And in firebug my code shows
You can see it live here..
http://rdhealthandsafety.co.uk/index.php
Any ideas why this is happening, I guess its my Tuesday morning blues :(