southbeach
Programmer
Can you please tell me why this causes my page to get caught in an infinite loop?
I open the console but no errors, warnings ...
As usual, your assistance is greatly appreciated.
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
Code:
$( "#menu-team" ).click(function() {
$( "#main-container" ).animate({
opacity: 0.25,
left: "+=50",
height: "toggle"
}, 3000, function() {
// Animation complete.
$("#main-container").html($("#team-page").html());
$("#main-container").animate({
opacity: 1,
left: "+=50",
height: "toggle"
}, 2000, function() {
// Animation complete.
});
});
});
I open the console but no errors, warnings ...
As usual, your assistance is greatly appreciated.
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.