This link has been bookmarked by 11 people . It was first bookmarked on 26 Jul 2006, by Bää Gee.
-
30 Jul 07
-
25 Jul 07
-
Behaviors unobtrusively wire structural (X)HTML markups with JavaScript functionality by way of CSS selectors. My version is heavily refactored from Ben Nolan's original. Apart from corrections it is fully backward compatible. The changes mostly affect the included document.getElementsBySelector by Simon Willison. Selectors now can contain child selectors (">") multiple class names ("input") :first-child pseudo-class
-
-
31 Jul 06
-
26 Jul 06
-
16 Oct 05
-
07 Oct 05
-
JavaScript These scripts are evolving mostly driven by what I need in BoilerPlate. Nevertheless, they can stand on their own feet and may be useful to others. So here they go. [Important] Important All of these scripts require the excellent Prototype.js library. Protoplus and Validator also need util.js from the script.aculo.us scripts. Behavior Behaviors unobtrusively wire structural (X)HTML markups with JavaScript functionality by way of CSS selectors. My version is heavily refactored from Ben Nolan's original. Apart from corrections it is fully backward compatible. The changes mostly affect the included document.getElementsBySelector by Simon Willison. Selectors now can contain * child selectors (">") * multiple class names ("input") * :first-child pseudo-class Also, duplicate matches for the same element by a selector are now ignored. Additional arguments to a behavior can be stuffed URL-encoded in the class attribute of the selected element in the form name:url-encoded value. For extraction there's the utility function Behavior.extractOptions(element, name1, ..., nameN). * behavior.js * unit tests StdExt There's some functionality missing in the core JavaScript language. That much is obvious -- well, to me anyway. With this script I'm trying to fix this to some extend.
-
JavaScript These scripts are evolving mostly driven by what I need in BoilerPlate. Nevertheless, they can stand on their own feet and may be useful to others. So here they go. [Important] Important All of these scripts require the excellent Prototype.js library. Protoplus and Validator also need util.js from the script.aculo.us scripts. Behavior Behaviors unobtrusively wire structural (X)HTML markups with JavaScript functionality by way of CSS selectors. My version is heavily refactored from Ben Nolan's original. Apart from corrections it is fully backward compatible. The changes mostly affect the included document.getElementsBySelector by Simon Willison. Selectors now can contain * child selectors (">") * multiple class names ("input") * :first-child pseudo-class Also, duplicate matches for the same element by a selector are now ignored. Additional arguments to a behavior can be stuffed URL-encoded in the class attribute of the selected element in the form name:url-encoded value. For extraction there's the utility function Behavior.extractOptions(element, name1, ..., nameN). * behavior.js * unit tests StdExt There's some functionality missing in the core JavaScript language. That much is obvious -- well, to me anyway. With this script I'm trying to fix this to some extend.
-
JavaScript These scripts are evolving mostly driven by what I need in BoilerPlate. Nevertheless, they can stand on their own feet and may be useful to others. So here they go. [Important] Important All of these scripts require the excellent Prototype.js library. Protoplus and Validator also need util.js from the script.aculo.us scripts. Behavior Behaviors unobtrusively wire structural (X)HTML markups with JavaScript functionality by way of CSS selectors. My version is heavily refactored from Ben Nolan's original. Apart from corrections it is fully backward compatible. The changes mostly affect the included document.getElementsBySelector by Simon Willison. Selectors now can contain * child selectors (">") * multiple class names ("input") * :first-child pseudo-class Also, duplicate matches for the same element by a selector are now ignored. Additional arguments to a behavior can be stuffed URL-encoded in the class attribute of the selected element in the form name:url-encoded value. For extraction there's the utility function Behavior.extractOptions(element, name1, ..., nameN). * behavior.js * unit tests StdExt There's some functionality missing in the core JavaScript language. That much is obvious -- well, to me anyway. With this script I'm trying to fix this to some extend.
-
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.