Updating code
Updating code
Hello there
I have a really silly question here. How do I update the following code so it works with the latest jQuery (1.3.2)?
-
var activeMenu = false;
$(document).ready(
function()
{
$('#pull').click(hoverTrigger);
}
);
hoverTrigger = function()
{
this.blur();
if (activeMenu == false) {
activeMenu = true;
$('#shelfwrap').SlideDown(700);
} else {
activeMenu = false;
$('#shelfwrap').SlideUp(700);
}
}
It used to work with the older jQuery:
$Date: 2006-07-01 10:05:50 -0400 (Sat, 01 Jul 2006) $
$Rev: 110 $
A working example for the code using the old jQuery: (click the "pull")
http://foliage-for-blogger.blogspot.com
Thanks in advance and have a nice day