23Systems Web Devsign

Custom website design and development

  • Home
  • Plugins
  • Services
  • Portfolio
  • Contact
  • Donate
  • Forums

Lightbox Plus 1.6.6 – JavaScript in footer, load speed improvement, Colorbox Update

Now works with WordPress 2.9.1, standardized jQuery call and moved JavaScript to the footer, Colorbox has been updated to 1.3.6, overall speed improvements

You are here: Home » Wordpress » Plugins » Lightbox Plus » Lightbox Plus 1.6.6 – JavaScript in footer, load speed improvement, Colorbox Update
 

Posted Monday, February 1st, 2010 02:31 pm GMT -5 | by Dan Zappone

I’m pleased to announce the release of Lightbox Plus 1.6.6 for WordPress.  Change log details are below.

1.6.6

  • Tested with WordPress 2.9.1
    • Only works with WordPress 2.8+ due to the use of the $in_footer parameter used in the wp_enqueue_script() function.
  • Moved all possible JavaScript to the footer to improve load speed
    • Requires theme has the wp_footer() hook
  • Cleaned up jQuery call to correctly work in no conflict mode per definition.
    • Updated Colorbox to 1.3.6 which include the following fixes
    • Small change to make Colorbox compatible with jQuery 1.4
    • Fixed a bug introduced in 1.3.4 with IE7′s display of example 2 and example 3, and auto-width in Opera.
    • Fixed a bug introduced in 1.3.4 where colorbox could not be launched by triggering an element’s click event through JavaScript.
    • Minor refinements.
    • Event delegation is now used for elements that ColorBox is assigned to, rather than individual click events.
    • Additional callbacks have been added to represent other stages of ColorBox’s lifecycle. Available callbacks, in order of their execution: onOpen, onLoad, onComplete,onCleanup, onClosed These take place at the same time as the event hooks, but will be better suited than the hooks for targeting specific instances of ColorBox.
    • Ajax content is now immediately added to the DOM to be more compatible if that content contains script tags.
    • Focus is now returned to the calling element on closing.
    • Fixed a bug where maxHeight and maxWidth did not work for non-photo content.
    • Direct calls no longer need 'open:true', it is assumed. Example: $.fn.colorbox({html:"<p>Hi</p>"});
    • Changed $.fn.colorbox.element() to return a jQuery object rather the DOM element.
    • jQuery.colorbox-min.js is compressed with Google’s Closure Compiler rather than YUI Compressor.
    • Added 'innerWidth' and 'innerHeight' options to allow people to easily set the size dimensions for ColorBox, without having to anticipate the size of the borders and buttons.
    • Renamed 'scrollbars' option to 'scrolling' to be in keeping with the existing HTML attribute. The option now also applies to iframes.
    • Bug fix: In Safari, positioning occassionally incorrect when using ’100%’ dimensions.
    • Bug fix: In IE6, the background overlay is briefly not full size when first viewing.
    • Bug fix: In Firefox, opening ColorBox causes a split second shift with a small minority of webpage layouts.
    • Simplified code in a few areas.
  • Special thanks for navjotjsingh for the include, excude fix for WordPress built in gallery

You can download it from wordpress.org or 23systems download Lightbox Plus 2.2 directly.

As usual you can get support at the Lightbox Plus message board.

Related entries:

  • Lightbox Plus 1.6.7 – Auto-lightbox images missing title, Interface updates
  • Lightbox Plus 1.6.3 released – Fixes jQuery issues with Featured Content plugin
  • Lightbox Plus 1.6.2 Released – Fixed jQuery.noConflict() and Shortcode Gallery Issues

Posted in Lightbox Plus, Plugins, Wordpress | No Comments »
Tags: ajax, colorbox, image, image overlay, lightbox, Lightbox Plus, Plugins, Wordpress

 

« Previous post
Next post »

Leave a Reply

Click here to cancel reply.

 
  • Meta

    Login form protected by Login LockDown.


    • Register
    • Lost your password?
    • Entries RSS
  • Tag cloud

    development Themes image overlay safari javascript lightbox colorbox Web design 23Systems users blog JQuery photos flir video images photo picture Apache gallery actionable facelift Lightbox Plus Plugins automatic ajax design php image facelift image replacement web development bbpress Wordpress change log forums
  • Categories

    • 23Systems
    • Apache
    • design
    • development
    • Facelift Image Replacement
    • Lightbox Plus
    • Linux
    • MediaWiki
    • php
    • Plugins
    • Support
    • Themes
    • Tweaks
    • Wordpress
 
  • Become a Fan/Follow Us

    Follow us on Twitter Fan us on Facebook
  • Affiliate Programs

    Please consider purchasing one of their awesome WordPress product through the links below as a way to support 23Systems' development of free WordPress plugins!
    Digging Into WordPress - WordPress In Depth
  • Gravity Forms - WordPress Form Managment
  • WordPress Defender - 30 Security Strategies for WordPress
  • Related Links

    • ColorBox
    • Facelift Image Replacement
    • Typeface
  • Wordpress

    • Development Blog
    • Documentation
    • Plugins
    • Suggest Ideas
    • Support Forum
    • Themes
Entries (RSS) and Comments (RSS).
    Anti-spam Policy | Disclaimer | E-mail Policy | Privacy Policy | Terms Of Use | © 2010 23Systems.