[jQuery] Anyone explain why this won't work in Safari
The following seems to work as intended in Firefox and IE, but it won't
in Safari:
//Code here creates an image array and selects an image at random and
has been removed to save space...
$(document).ready(function(){
$("div#leftcol").css({background:"#fff
url("+leftimg[randleft]+") top left no-repeat"}).fadeIn("crawl");
});
$(document).ready(function(){
$("div#twocols").css({background:"#fff
url("+rightimg[randright]+") bottom right no-repeat"});
});
The site is located at http://www.aliasenterpises.com. The image in the
left column appears fine, meaning a random image is displayed. The
bottom-right image in the right column doesn't change. It never rotates.
Is there a problem with .ready?
Thanks,
Brian
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/