You are correct in this case, Scott. I tend to do my CSS
'automatically' these days (though it was as tricky to learn, in the
beginning, as this is!) and probably don't think often enough about
the rules.

In far more general terms, however, I really do believe a style guide
for jQuery beginners is desperately needed! Surely the purpose of a
Javascript library is to make js wizadry more available to all - yet
there's virtually NO documentation suitable for newcomers such as
myself.

If it weren't for this group, I'd have abandoned jQuery & gone for
MooTools months ago. Moo, being older, comes with a far more complete
set of "plug'n'play" actions; the core itself is no easier to work
with than jQuery but you can achieve more, faster, by piggybacking on
others' work.

As both a bit of a pedant and an evangelist, I love the opportunity
jQuery - with this group - provides, in terms of learning new skills
and building my own little apps to my own specs :)

But the available guidance for newbies is abysmal. I really can't
overstress the significance of this group!!

So give yourselves a big pat on the back :)
And please try to supress your irritation if I ask a question that
seems elementary to you ;)

Cherry.

On Apr 20, 7:20 pm, Scott González <[EMAIL PROTECTED]> wrote:
> Your problem actually has nothing to do with JavaScript; it is purely
> CSS.
>
> http://www.w3.org/TR/REC-CSS2/selector.html
>
> On Apr 19, 10:38 pm, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > As anyone who's flicked over my beginner's blog will know, jQuery
> > provides a constantly vertical learning curve (!) It isn't made any
> > easier by the lack of basic instruction.
>
> > I realise this is largely because of my very basic Javascript
> > knowledge - but some of the problems I encounter are special to
> > jQuery, and I'd love to know whether somebody has already written a
> > style guide?
>
> > Example: I've just discovered I needed to concatenate a selector.
> > Normally, one can use:
> > $( '#someid .someclass' ) - as advertised by jQuery, the CSS selector.
> > I have a heading + class to select with jQuery. After more than half
> > an hour of failed experiments, I found it must be:
> > $( 'h2.someclass') - as not advertised anywhere that I know of!
>
> > Can I find a reference to this kind of thing?? I'm having a hard
> > enough time as it is!
>
> > thanks -
> > Cherry
> > (http://jquery.cherryaustin.com)

Reply via email to