Shift Keeps Happening
intrinsi on September 24th 2009 in Information Science, Media Theory, Nanotechnology, Ubiquitous Computing, Virtuality, Web Development
intrinsi on September 24th 2009 in Information Science, Media Theory, Nanotechnology, Ubiquitous Computing, Virtuality, Web Development
This jQuery plugin replaces one class with another on hover or click.
Note that the first two parameters are optional.
Here, #p1 is affected on hover:
$('#p1').replaceClass({old_class:"blue", new_class:"red"});
Here, #p2 is affected:
Sphere: Related Content
$('#p1').replaceClass({event_type:"click", element_affected:"#p2", old_class:"blue", new_class:"red"});
intrinsi on July 13th 2009 in Web Development
Results range from LOL to WTF.
intrinsi on March 29th 2009 in Humor, Web Development