Skip to content

{ Monthly Archives } October 2007

Keepaway, a silly jQuery plugin

My brother sent me a "salary survey" with one question, "Are you happy with your current salary," where the "No" button ran away from the mouse. I thought it might be useful for gag sites, so I created a jquery plugin that mimics that effect, at http://youngisrael-stl.org/wordpress/blogfiles/keepaway.html. It's easy enough to use, just $(selector).keepaway(options) ,with options [...]

CSS parser in Javascript

I had an idea to write a CSS parser to allow custom jQuery attributes, since a lot of the jQuery I use is more presentation than behavior, and the redesign of the YI website allows for switching stylesheets, which may require different plugins to be applied. My idea would be to allow something like:

div {
-jquery-round: [...]

Ajax, Style elements and Safari

As I mentioned before, I don't have access to a modern version of Safari and when I pass an Apple store, I try to play with it and the site. Something always pops up to bite me. This time it was an improved version of my Hebrew keyboard, that I made into a popup, absolutely-positioned <div> [...]