jQuery

  • CSS 3 pseudo-classes and attribute selectors in Internet Explorer

    Thanks to my mate Tony I’ve been introduced to this rather delicious (and very small) jQuery plugin that adds support for, among other things the :nth-child pseudo class. If this had been around a year ago ‘d have avoided having to craft this php counting system for a custom WordPress loop. What’s the link already?…

  • PHP web forms

    Websites are a point of contact – and a contact form that sends an email is the way to normally handle enquiries. (Of course phone numbers/addresses must first be easy to find!) A contact form requires a web server to actually do something – ie send you an email – it’s not just displaying HTML…

  • WordPress jQuery conflict solved

    After several hours of thinking I’m being a idiot (happens occasionally) I discovered that sometimes you’ll need to call before any jQuery scripts (or concatenated scripts in my case). It’s been hours and I couldn’t figure out why none of the Carousel scripts I was trying today wanted to work – while all other scripts…

  • JavaScript Rounded Corners

    Rounded corners with CSS and graphics is OK – but a pain to set up – requiring custom images and plenty of extra markup. JavaScript – particularly when helped by jQuery comes to the rescue and makes it fairly trivial. Requiremtents: must work with IE6, IE7, iE8, FF and Safari (note about IE8 below). Main…

  • Keeping your sites optimised

    The sites I’ve been working on had been suffering from flab. A JavaScript library here (jQuery of course), a plug-in there, another, another, another… then a large plug-in that loads it’s own plug-ins (Shadowbox v3 – I’m talking to you). It took a kick from outside (“your site x sucks HTTP requests and bandwidth”) to…

  • jQuery in anger

    [notes to self] Shadowbox Tooltip highlightFade http://jquery.offput.ca/highlightFade/old.php jquery.validate.js Lovely, lightweight carousel: http://www.gmarwaha.com/jquery/jcarousellite/ http://www.noupe.com/jquery/50-amazing-jquery-examples-part1.html Landing Page

  • Options for “hybrid modal” lightbox display of images

    [Update 2009 – OK now I’m not the total newbie anymore and would have to recommend Shadowbox on top of jQuery for it’s versatility and power. Slimbox is still great though.] The Contenders Slimbox The true successor to the king (Lightbox). This is the chosen one. Very lightweight, simple instructions, does what it says on…