On 16/01/07, agent2026 <[EMAIL PROTECTED]> wrote:
>
>
>
> Theo Welch wrote:
> >
> > I'm not sure if this is the issue, Adam, but have you tried using a string
> > for the height value instead of an integer...
> >
>
> I did try everything here for the value just to be sure, but 1.1 should
> handle strings or integers according to what I've read - 600 with be
> "600px", "50em" with be "50em", and so on (and it does).
>
> Problem was the DOM hadn't loaded, you guys were right about that.  I was
> under the mistaken impression that the $(...) worked as $(fn) for
> document.ready.  Now I know.
>
> Just curious, what is the difference between $(fn) and the 'failsafe jQuery'
> code jQuery(function($) {...}); ?
>
> Adam
> --

You only need to use jQuery(function($) {...}) if you are using a
library that also uses $ (e.g prototype). It prevents conflicts from
occurring.

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

Reply via email to