On Aug 18, 2006, at 7:07 PM, Brian Wilkins wrote:

>     $(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"});
>     });

Brian, I'm just taking a stab here, but I seem to recall Safari  
having a problem handling the CSS background property when it is put  
in the order in which you have it there. Try this instead:

        $("div#leftcol").css({background:"#fff url("+leftimg[randleft]+") no- 
repeat left top"}).fadeIn("crawl");

and:
        $("div#twocols").css({background:"#fff url("+rightimg[randright] 
+") no-repeat right bottom"});

Putting "no-repeat" right after the URL, followed by position-x and  
then position-y.

Hope this helps.

Karl

_______________________
Karl Swedberg
www.englishrules.com



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to