Captify 1.1.3

December 1, 2009

The image caption plugin I wrote last spring that runs atop jQuery lives again. Made a few fixes, finally got the demonstration online, and zapped the size with Closure (only 2.3kb now!). We're now sitting at 1.1.3. Here's a demo:

Cider chillaxin' in the grass

Put your mouse over the image above.

Docs / Examples | Download

Follow Me on Twitter

Tags: ,

The Commentary

  1. Gravatar

    i love it! simple, clean, efficient. thanks for sharing, brian.


  2. Gravatar

    So good dude


  3. Gravatar

    ur script is awesome. but in IE 6 white text looks jagged.

    anyway this is superb script


  4. Gravatar

    Thanks.
    p.s. What doesn’t look jagged in IE6?


  5. Gravatar

    Hi
    i try to use it and i get an error in firebug:
    “captify is not a function”

    what am i doing wrong?

    best regards


  6. Gravatar

    Hi

    Sorry i made a mistake. It works great :)

    Thanks


  7. Gravatar

    Hey man!

    So I’m using Captify for our new Agency site and I’m wondering if there’s some sort of not-so-hacky way to append another class to the captify or caption class based off of a rel (or whatever). I’m thinking I could use jquery live to inject it afterwards but I’m wondering if you had any recommendations.

    Love the project by the way, I use it all the time. Keep up the fantastic work.


  8. Gravatar

    Hey Jenkins! Check thy email. Let me know if it worked… or if I totally slaughtered your question.


  9. Gravatar

    Hi, I’ve got some problems with this plugin. I’ve managed to fix some, but not all:

    1) In IE6 & IE7, line 96:

    var topBorderAdj = o.position == ‘bottom’ && jQuery.browser.msie ? -4 : 0;

    -4 is causing the caption to have a bottom margin (for ‘bottom’ animation), so this check is not needed, if you put 0, everything is OK.
    I’ve tested in IE6 & IE7.

    2) Also, font sizes are wrecked if you don’t remove line 39 :
    fontSize: 0.1
    there is no need for this, as it is defined by CSS. Padding also.

    3) Problems:
    I wanted caption to slide from the top, so when I changed to ‘top’, it works fine in IE, but not in FireFox & Opera:
    caption block is 5 pixels down than it should be – how can I fix this?

    Thanks


  10. Gravatar

    hey, great job!

    i also have found a bug: in ff 3.6 the text is invisible when you use the option ‘fade’ instead of ’slide’…

    and i also have a question / idea:

    how can i change the script so that the caption layer only slides in when it isn’t empty?