A good trick for that is to hide the content you are manipulating, and
then for the last line of the Ready() event, do a ".show()" and now
the only thing the user will see is styled and complete elements

I think what people are trying to get through to you, and i
wholeheartedly agree, is that it wouldn't necessarily be "best
practice" to do what you point out in your first post, and if you are
learning to use jQuery, why not do so in the way it was designed and
used most widespread





On Mar 4, 4:19 pm, fetis <[EMAIL PROTECTED]> wrote:
> > I guess the question is: what are you trying to gain by NOT wrapping
> > it in document.ready?
>
> I'm using jQuery for styling some elements, like first menu item,
> selected item etc. When I run script right after this items it look
> like they already have such style. When I move script in ready event
> then element loaded and only after style is applied. It's visible.
> That is my problem.

Reply via email to