I can't for the life of me figure out what the problem with this code is. The animation itself works fine:
if (!list.is(':animated')) {
list.animate(
{"top": "+="+item_size},
{queue:false, duration:speed},
function() {
alert();
}
); // end of animate function
} //end of if statement
...
I certainly hope I could get help with my problem.
I have the page uploaded at http://www.strategyinstitute.com/test
It is a simple photo gallery navigation.
Problem 1:
The entire script runs perfectly (except for problem 2) on Firefox. But on Safari, .animate() is not executing as it should. It is suppose to to do margin-left : -=630...
I'm using the latest version of Opera (11 alpha), but I ran into this issues with 10 (stable) a while back as well.
I am using the following code to animate opacity:
if($('#detailsLM').length>0){ $('#detailsLM iframe').
animate({opacity:.5},20,'linear').hover(
function(){
$('#detailsLM iframe').animate({opacity:1},600,'lin...