Copyright 2011, Ryan Edgell (http://www.ryanmarc.com/) TO USE: First include jQuery Second, include the doubleRainbow plugin: <script type='text/javascript' src='<path_to_js>/jquery.doublerainbow.js'></script> Third, copy the file "rainbow.gif" from the images folder to your images folder and update the path to the image in the js file if needed. Fourth, in the <head> of your html include the js from the example below. Finally, add rel="rainbow" attribute to any images you want to have the double rainbow. EXAMPLE: <script type='text/javascript'> $(function() { $(window).load( function() { $('img[rel="rainbow"]').doubleRainbow(); }); }); </script>
ryanmarc/doubleRainbow
The Double Rainbow jQuery Plugin - adds a sweet double rainbow over any image or set of images. Inspired by: http://www.youtube.com/watch?v=OQSNhk5ICTI
JavaScriptMIT