Facelift v1.2 beta 4 has been Released

I was all set to release the final v1.2 but instead I went crazy and added a bunch of new functionality.  So, I am releasing v1.2 beta 4.

  • Font Collections
  • Basic Callback Functions
  • Better error handling
  • Bug in generateURL causing HTML not to be sanitized
  • Added functionality/bug fixes for “wrap” mode.  Better line-height support.
  • Rewrote element replacement algorithm. You no longer need to encapsulate plain text in span elements to have it replaced.  The new algo is recursive so it can replace any number of child elements.  You could even run it on document.body if you wanted to!
  • Added flir-image and flir-span classnames to the elements flir creates
  • Javascript Plugin support!
  • Moved DetectImageState code from facelift.js into a Javascript plugin
  • querySelectorAll support for the browsers that support it (Safari, FF3.1 alpha)
  • Font size modifier for cSize in FLIRStyle. You can now specify a font size calculation to be applied against the CSS font size.  For example, if you want the generated image to have a font size that is 140% the one you specified in your CSS you could do cSize:’*1.4′.  All font sizes will then be multipled by 1.4.
  • FLIRStyle.buildURL no longer requires an HTML object to be passed
  • Hover caching problems fixed.  Better hover style support.
  • JPG and GIF support! Set the “output” option in FLIRStyle.  The default output option is auto.  Auto will cause the generated image to be a transparent png if the element doesn’t have a background color set.  Otherwise it will use GIF.
  • Hover now only works with <A> elements.
Tags:

One Response to “Facelift v1.2 beta 4 has been Released”

  1. Cory’s Cogitations » Blog Archive » Facelift v1.2 is finally here! Says:

    [...] Facelift v1.2 beta 4 has been Released [...]

Leave a Reply

© 2009 Cory Mawhorter