SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot j3ph's Avatar
    Join Date
    Jan 2006
    Posts
    134
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Modal window with html in caption?

    Can anyone point me in the right direction as to where I can find a javascript modal window image viewer that allows html in the caption area?

    It seems like I've been searching forever and can't find anything that natively supports it.

    If one doesn't exist, then maybe point me in the direction of adapting one? My js knowledge is a little limited.

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,687
    Mentioned
    100 Post(s)
    Tagged
    4 Thread(s)
    A quick google search of jquery modal lightbox provided Extensive list of jQuery lightbox / modal plugins in which is found several that seem to meet your needs.

    I'm checking that they support HTML in the captions by adding some italics to the caption text.



    After the first couple I stopped checking, but you can continue to check out the rest of them if none of these meet your needs.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Zealot j3ph's Avatar
    Join Date
    Jan 2006
    Posts
    134
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So fancy box did accept html in its caption? I tried inserting a link and had no luck.

    Thanks for the research.

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,687
    Mentioned
    100 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by j3ph View Post
    So fancy box did accept html in its caption? I tried inserting a link and had no luck.
    Caption links work for me. Show us what you're doing.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •