The Artima Developer Community
Sponsored Link

Weblogs Forum
JavaScript Reference

3 replies. Most recent reply: Jan 27, 2006 6: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 flat view of this topic  Flat View
Previous Topic   Next Topic
Threaded 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 11:57 AM
Reply to this message Reply
Summary
Found these references to be handy... XUL Planet: Scriptable Objects

Behaviour: Using CSS selectors to apply JavaScript


Re: JavaScript Reference Posted: Dec 16, 2005 5:56 AM
Reply to this message Reply
Posted by: Morel Xavier    Posts: 73 / Nickname: masklinn / Registered: Sep, 2005
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)


Re: JavaScript Reference Posted: Dec 16, 2005 6:23 AM
Reply to this message Reply
Posted by: Dale Asberry    Posts: 161 / Nickname: bozomind / Registered: Mar, 2004
> 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.


Re: JavaScript Reference Posted: Jan 27, 2006 6:17 AM
Reply to this message Reply
Posted by: Eric Armstrong    Posts: 207 / Nickname: cooltools / Registered: Apr, 2003
Great links. As is Morel's. Thanks for posting them.


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-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use