Also, I noticed that you don't have $(document).ready(function() { surrounding the code. I did get a firebug message that the DOM wasn't ready when the code tried to run.
Try using $(document).ready(function() { }); around the code and see if it helps to get it to wait until the DOM is complete. Rick On Sun, Apr 19, 2009 at 5:41 PM, Jordon Bedwell <jor...@envygeeks.com>wrote: > I did what Rick did, and tried to refresh, and the entire page > disappeared and FF got WTF Pwnt. I notice the main differences between how > you do it and how the site who made the script does it is you do not conform > to proper HTML and use <img height="xxx" and width="xxx" /> and you > definably don't set a width in the CSS for IMG. Try adjusting those two and > let us know how it works out. > > > > > > *From:* jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] *On > Behalf Of *Rick Faircloth > *Sent:* Sunday, April 19, 2009 4:18 PM > *To:* jquery-en@googlegroups.com > *Subject:* [jQuery] Re: jQuery works fine locally but not so great online > > > > Oddly enough, when I first viewed the wedding photos, after the first one > the others > > were tiny in the upper left-hand corner. > > > > After refreshing and re-veiwing, all looked well... > > > > Rick > > On Sun, Apr 19, 2009 at 4:08 PM, alexandruv <a...@vladoiu.net> wrote: > > > > Ok, how about Firefox or Safari? On my computer they don't... > > Rick Faircloth wrote: > > > > The photos in the wedding section look fine in IE 8... > > > > Rick > > > > On Sun, Apr 19, 2009 at 1:18 AM, alexandruv <a...@vladoiu.net> wrote: > > > >> > >> > >> Hello, > >> I'm not very experienced with jQuery and I'm trying to use it on a > >> website: > >> www.fallinlovewithphotography.com > >> > >> On my computer (Mac OS X with MAMP) works fine but online the photos I'm > >> trying to slide get resized. > >> > >> Can anybody tell me what i'm doing wrong or what can be the issue? > >> > >> Thank you, > >> Alex > >> -- > >> View this message in context: > >> > http://www.nabble.com/jQuery-works-fine-locally-but-not-so-great-online-tp23117127s27240p23117127.html > >> Sent from the jQuery General Discussion mailing list archive at > >> Nabble.com. > >> > >> > >> > > > > > > -- > > > ----------------------------------------------------------------------------------------------------------------------------------------------------------------- > > "It has been my experience that most bad government is the result of too > > much government." - Thomas Jefferson > > > > > > -- > View this message in context: > http://www.nabble.com/jQuery-works-fine-locally-but-not-so-great-online-tp23117127s27240p23126868.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com. > > > > > -- > > ----------------------------------------------------------------------------------------------------------------------------------------------------------------- > "It has been my experience that most bad government is the result of too > much government." - Thomas Jefferson > -- ----------------------------------------------------------------------------------------------------------------------------------------------------------------- "It has been my experience that most bad government is the result of too much government." - Thomas Jefferson