This project is read-only.

Gimme Examples

Aug 10, 2009 at 1:19 PM

Please provide online examples of how to use Gimme library. If there are examples already available please put a link somewhere.


Sep 18, 2009 at 8:12 AM



I'd be happy to post some examples.  Is there something specific you would like to know how to do?

Generally speaking, it's got a lot of similarities to jQuery, though the internal workings are quite different.

// find something



// find lots of things



// find all "cats" and make them have a black border and orange background

Gimme('.cat').set_style({ border: '5px solid black', background: 'orange' });


// wire up events

Gimme('.cat').add_event('click', function(e) { alert('you clicked the cat'); });


// fade them out



There's tons more of course.  If there is something specific you'd like to see, please let me know.

Note also, that these examples are syntax'd from Digory (the current in development version of Gimme, due for release sometimes in late November)