Home arrow JavaScript arrow Using Multiple Selectors with the Behaviour JavaScript Library
JAVASCRIPT

Using Multiple Selectors with the Behaviour JavaScript Library


Building a web site whose structure separates the behavioral layer from visual presentation and markup can be difficult. If you've already lived through that painful experience, you'll welcome a software package that may change that forever. Welcome to the final installment of a series focusing on the Behaviour JavaScript library. This three-part article series teaches you how to use this powerful software to separate your JavaScript routines from your fancy markup.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 5
April 02, 2007
TABLE OF CONTENTS:
  1. · Using Multiple Selectors with the Behaviour JavaScript Library
  2. · Handling multiple elements of a web document
  3. · Working with nested elements of a web page
  4. · Handling secondary links

print this article
SEARCH DEVARTICLES

Using Multiple Selectors with the Behaviour JavaScript Library
(Page 1 of 4 )

Introduction

If you already read the first article of this series, then I suppose that using the Behaviour package is something that has become quite familiar to you. As youíll certainly remember, this JavaScript library comes equipped with a pretty intuitive API, which allows you to quickly assign custom functions to any elements included into a web document by using a diverse range of CSS selectors.

One of the strongest points of Behaviour rests upon the ease with which you can use it to create entire JavaScript layers which are completely separated from the corresponding structural markup. Undoubtedly, this feature encourages web developers to acquire good coding habits and achieve unobtrusive JavaScript programming.

All right, after reading this brief introduction, I believe that youíre already prepared to continue exploring the useful -- and numerous -- capabilities that come bundled with this package. Therefore, over the course of this final article of the series, Iím going to show you some additional examples of how to use Behaviour to assign custom JavaScript functions to multiple elements of a web page, as well as how to work with multiple CSS selectors.

Ready to learn how these hands-on examples will be developed? Okay, letís get started!


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- Project Nashorn to Make Java, JavaScript Wor...
- JavaScript Virus Attacks Tumblr Blogs
- Google Releases Stable Dart Version, JavaScr...
- Khan Academy Unveils New JavaScript Learning...
- Accessing Nitro? There`s an App for That
- JQuery 2.0 Leaving Older IE Versions Behind
- Fastest JavaScript Engine Might Surprise You
- Microsoft Adjusting Chakra for IE 10
- Brendan Eich: We Don`t Need Google Native Cl...
- An Overview of JavaScript Statements
- An Overview of JavaScript Operators
- Overview of JavaScript Variables
- More of the Top jQuery Social Plugins
- The Top jQuery Social Plugins
- More of the Top jQuery Slider Plugins

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials