This is an unstable release and should not be used at production level.
It should be used for contribution efforts, testing, extending, breaking,
building, refactoring, rearranging, rerocking and crip-walking.
A list of of available jQuery methods can be found here:
Method List
Proof Of Concept
Here is a preview of what GenevaJS makes possible in your Prototype Javascript environment.
$.ready( function () {
// Prototype syntax
$('input')
.observe('focus', console.log )
.observe('blur', console.log );
// Geneva w/ Prototype id
$('input')
.focus( console.log )
.blur( console.log );
// Geneva w/ jQuery #id
$('#input')
.focus( console.log )
.blur( console.log );
// Geneva w/ .Class
$('.input_class_name')
.focus( console.log )
.blur( console.log )
.keyup( console.log );
// Form Submission
$('form_with_submit')
.submit( function () {
console.log( this.serialize() );
});
// Interaction helper
$('div.by_selector')
.hover(
function () {
// mouseenter
},
function () {
// mouseleave
}
);
$('input[type="button"]')
.click( function () {
this.attr('value', 'clicked!');
});
$('select')
.change( function () {
this.attr('title', 'currently selected value is: ' + $F(this));
});
$('ul.list li')
.mouseover( function () {
this.highlight();
});
$('.href')
.each( function (h) {
h.shake();
});
});