The Artima Developer Community
Sponsored Link

Weblogs Forum
JavaScript Reference

3 replies on 1 page. Most recent reply: Jan 27, 2006 9:17 AM by Eric Armstrong

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 3 replies on 1 page
Dale Asberry

Posts: 161
Nickname: bozomind
Registered: Mar, 2004

JavaScript Reference (View in Weblogs)
Posted: Dec 15, 2005 2:57 PM
Reply to this message Reply
Summary
Found these references to be handy...
Advertisement
XUL Planet: Scriptable Objects

Behaviour: Using CSS selectors to apply JavaScript


Morel Xavier

Posts: 73
Nickname: masklinn
Registered: Sep, 2005

Re: JavaScript Reference Posted: Dec 16, 2005 8:56 AM
Reply to this message Reply
If you want to use CSS selectors to query the DOM, you should check Dean Edward's cssQuery() (http://dean.edwards.name/my/cssQuery/)

(the Behaviour examples are extremely ugly by the way, inline javascript embedded in HTML code is frowned upon)

Dale Asberry

Posts: 161
Nickname: bozomind
Registered: Mar, 2004

Re: JavaScript Reference Posted: Dec 16, 2005 9:23 AM
Reply to this message Reply
> If you want to use CSS selectors to query the DOM, you
> should check Dean Edward's cssQuery()
> (http://dean.edwards.name/my/cssQuery/)
>
> (the Behaviour examples are extremely ugly by the way,
> inline javascript embedded in HTML code is frowned upon)

That's another handy reference - thanks!

The Behaviour examples are there to point out exactly what you said -- so I'm not quite sure what you're saying.

What behaviour does is to register a javascript closure that is applied during the appropriate event - not quite the same thing as the cssQuery.

Eric Armstrong

Posts: 207
Nickname: cooltools
Registered: Apr, 2003

Re: JavaScript Reference Posted: Jan 27, 2006 9:17 AM
Reply to this message Reply
Great links. As is Morel's. Thanks for posting them.

Flat View: This topic has 3 replies on 1 page
Topic: The Best Online Support System I've Ever Seen Previous Topic   Next Topic Topic: Multiple Contexts, Information Reuse, and Backpointers


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2014 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us