public marks

PUBLIC MARKS from vrossign with tags html & canvas

November 2009

jQSlickWrap - Slick text wrapping for jQuery

by 3 others
To do this, it needs to have access to the individual pixels of the images it's operating on -- which is why for jQSlickWrap to work, you need to have a browser that supports HTML 5's new canvas element. Here's an overview of the algorithm: 1. If necessary, pre-load the image. 2. Determine the CSS styles for the image (float and padding). 3. Create a canvas element and set its dimensions to the size of the image plus its padding. 4. Draw the image onto the canvas in the top-left location. 5. Figure out the "background" color of the image by examining the pixel data at the top-left corner of the image. 6. Fill the canvas with this background color.

July 2009

vrossign's TAGS related to tag html

ajax +   alire +   best practices +   bg +   browser +   canvas +   cheatsheet +   clean +   clipboard +   code +   codes +   colo +   comics +   comparison +   conversion +   convertor +   copy +   css +   css3 +   curriculum +   cv +   design +   dom +   editable +   editors +   email +   engine +   entity +   filterable +   fixed +   flash +   flash2html5 +   fluid +   footer +   forms +   framework +   free +   gallery +   htaccess +   html2pdf +   html5 +   images +   inline +   jedit +   jQuery +   js +   json +   layout +   lists +   live +   markup +   matrix +   multiselect +   newsletter +   online +   options +   pages +   paste +   paypal +   pdf +   photo2text +   photoshop +   php +   png +   ppt +   presentations +   programmation +   psd +   references +   rounded +   screenshots +   scroll +   semantic +   showcase +   slide +   slides +   slideshow +   slideshows +   snippets +   sortable +   star +   sticky +   symbols +   tables +   templates +   testing +   text +   themes +   tips +   tuto +   ui +   update +   validation +   vcards +   w3c +   web +   wizard +   wordpress +   wrap +   xss +