Thanks for the link. I don't think I quite understand their workaround though.
I've put all the code in one javascript file, so there's no need for me to swap sources onload now. I'm not sure if having a couple of $.browser sniffing functions in one script is the correct way to do things, but it's working for me. Here's my test page if you're interested: http://lazydragon.dreamhosters.com/canvas-fade.html It's supposed to fade text to the background. BTW, if anyone can figure out why the canvas element disappears after hovering over it in Opera, I'd greatly appreciate it. :) Roberto Ortelli wrote: > > Safari does not let you to inject script files once the page has > loaded. A few months ago I found a tricky way to make it possible... > not tried... > http://lists.apple.com/archives/Webcore-dev/2005/Mar/msg00023.html > > Good luck and don't forget to tell us the result ; ) > > > -- View this message in context: http://www.nabble.com/Problems-with-script-replacement-in-Safari-tf3481746.html#a9728247 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/