• SVG in jQuery Accordions

    May 4, 2012

    If you find yourself nesting SVG elements inside a jQuery accordion, you will notice that your text elements aren’t lining up correct in Safari.  You will wonder why, spending half a day recalculating how everything is laid out, and scouring the Internet for a solution.

    There is a bug in how Safari renders SVG type, throw the following in a callback function:

    if (jQuery.browser.webkit){
       jQuery('#accordionDiv svg text').attr('y', '0');
    }

    References

    File under: Development ///  There currently are no comments.  ///  Tags: , , ,
  • WebToLead Form with reCaptcha

    February 15, 2012

    Overview

    Originally this was going to be a simple post, putting Web-to-Lead on a WordPress page but one thing lead to another as my requirements changed.  This article could be looked at at the grouping of a couple of “mini-tutorials.”  The first one would be building a Web2Lead form in Salesforce, the second adding Captcha to a form using PHP, and the final being adding a Captcha form to a WordPress template.  I have laid out the article accordingly.

    File under: Development,Tutorials ///  There currently are no comments.  ///  Tags: , , , , , ,
  • Pu-erh Tea

    November 16, 2011

    Just bought a cake of Pu-erh (???) from Floating Leaves in Ballard, in my opinion the best Chinese tea shop in the Seattle are.

    Puer Tea

    Puer Tea

    Puer Tea

    File under: Photography ///  There currently are no comments.  ///