
JavaScript & JQuery
Get flash to fully experience Pearltrees
grids
excellent Jcrop manual
Jcrop Home • Download • Manual • Examples This document provides a roadmap for Jcrop implementation. Introduction Jcrop is a powerful image cropping engine for jQuery.lots of jQuery select boxes
jQuery/Ajax upload w/o refreshing page
custom thumbnail for embedded video
Recently Jenny asked me for a way to embed a YouTube video with a custom thumbnail that would play the video when clicked. I’m aware that YouTube allows Partners to use a custom thumbnail for their videos, but standard users are restricted to a selection of random frames from their uploaded video.sliders
multiple file upload
Hover above and feel for yourself, the nifty effect of Lava Lamp. What you just experienced is nothing but the LavaLamp menu packaged as a plugin for the amazing jQuery javascript library . I personally believe that the effect rivals that of flash – Don’t you? Especially considering the fact that it is extremely light weight. Just so you know, it weighs just 700 bytes(minified)!
LavaLamp
All too often, I find code similar to this when inspecting the source for public websites that use jQuery: <script type = "text/javascript" src = "/js/jQuery.min.js" >< / script> If you’re doing this on a public facing website, you are doing it wrong . Instead, I urge you to use the Google AJAX Libraries content delivery network to serve jQuery to your users directly from Google’s network of datacenters.
why you should let Google host jQuery
notebook page flip
First, include the jQuery and masked input javascript files. <script src = "jquery.js" type = "text/javascript" ></script> <script src = "jquery.maskedinput.js" type = "text/javascript" ></script> Next, call the mask function for those items you wish to have masked. jQuery ( function ( $ ){ $ ( "#date" ). mask ( "99/99/9999" ); $ ( "#phone" ). mask ( "(999) 999-9999" ); $ ( "#tin" ). mask ( "99-9999999" ); $ ( "#ssn" ). mask ( "999-99-9999" ); }); Optionally, if you are not satisfied with the underscore ('_') character as a placeholder, you may pass an optional argument to the maskedinput method.

