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

3d +   ajax +   alire +   atester +   bundles +   canvas +   cheatsheet +   code +   codes +   color +   color picker +   comments +   compatibility +   conversion +   convertor +   copy +   css +   design +   e +   edit +   editable +   editors +   email +   entity +   examples +   facture +   flash +   flip +   font +   forms +   framework +   free +   grid +   html2pdf +   html5 +   images +   indent +   inline +   interpreter +   invoices +   jQuery +   js +   json +   kickstart +   layout +   lists +   live +   matrix +   multiselect +   newsletter +   notes +   online +   option +   options +   paste +   pdf +   photos +   photoshop +   php +   picker +   playground +   png +   ppt +   presentations +   printable +   programmation +   psd +   pspad +   rating +   reference +   references +   resources +   rotate +   scroll +   security +   select +   shell +   showcase +   skeleton +   slide +   slides +   snippets +   standards +   star +   styler +   styles +   syntax +   tables +   templates +   text +   TextMate +   themes +   tuto +   validation +   w3c +   web +   wordpress +   wrap +   xhtml +   xss +