abchase
01-05-2010, 01:04 AM
Ok so I'm running into some issues. I haven't been involved with JavaScript or JQuery in some time. Subsequently I lost most of my skills. Any help is greatly appreciated.
I have a navigation panel, A is the containing div, B is the link.
<div id:A>
<div id:B> <a href:""> </a> </div>
</div>
When the link gets clicked, A animates across the screen, then is supposed to go to the link.
$(document).ready(function(){
$("#B").click(function () {
$("#A").animate({
width: "746px",
left: "144px"
}, 400 );
$(this).delay(1000,function(){
$('a[href=../page.html]').live();
});
});
});
I get the animate, and the delay, but not to the other page. I know I did something wrong, and can take the abuse. But for the life of me, I'm giving up... for tonight.
Thanks.
I have a navigation panel, A is the containing div, B is the link.
<div id:A>
<div id:B> <a href:""> </a> </div>
</div>
When the link gets clicked, A animates across the screen, then is supposed to go to the link.
$(document).ready(function(){
$("#B").click(function () {
$("#A").animate({
width: "746px",
left: "144px"
}, 400 );
$(this).delay(1000,function(){
$('a[href=../page.html]').live();
});
});
});
I get the animate, and the delay, but not to the other page. I know I did something wrong, and can take the abuse. But for the life of me, I'm giving up... for tonight.
Thanks.