WordPress.org

Support

Support » Plugins and Hacks » Auto ThickBox Plus » [Resolved] [Plugin: Auto ThickBox Plus] Not working on small windows

[Resolved] [Plugin: Auto ThickBox Plus] Not working on small windows

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author attosoft

    @attosoft

    Sorry for confusing you. It was caused by temporary workaround for small screen. ThickBox was disabled on smaller screen than 480px. However I removed the code from latest version because I added mobile support for small-screen devices. ThickBox will be enabled again by reinstalling the plugin.

    See this topic for more information.

    Ah, it’s perfect now. Thanks for the quick response.

    I have another question, though the answer is probably very obvious so I feel silly opening a new thread for it:

    Can’t figure out how to make a title appear on the thickboxed image. Caption is working fine using the title attribute in <a>, but I need both a caption and a title, and the title won’t show up no matter what I try.

    Plugin Author attosoft

    @attosoft

    “Title/Caption” used in ThickBox is different from “Title/Caption” used in WordPress.

    In ThickBox, “Caption” is a text under the image, and “Title” is a text in the title bar that is shown when opening inline/iframe/ajax content. See Examples in thickbox.net.

    In WordPress, “Caption” and “Title” is specified via admin screen. “Caption” is set as a text in p.wp-caption-text or div.wp-caption-text element, and “Title” is set as a@title or img@title attribute value.

    ThickBox title/caption is retrieved in specified order at “Text – Title/Caption” options. You want to show both image/link title and image caption?

    I see. In that case what I’m trying to do is have 2 titles – one above the thickboxed image and one below it. No captions for the thumbnail link would be necessary.

    Would this be possible with some code adjustment or clever trick?

    Any word on if this is in the realm of possibility for this plugin? Thanks

    Plugin Author attosoft

    @attosoft

    In my understand, you want to show two titles as prettyPhoto script.

    Most Lightbox plugins can show only one title that is either a@title or img@title or img@alt attribute value. If you want to display two titles in different places, you need to modify JavaScript code in Lightbox plugins, or use another scripts such as prettyPhoto.

    <a href="" title="a@title">
        <img src="" title="img@title" alt="img@alt" />
    </a>
    

    Thanks! That worked. Appreciate the info.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: Auto ThickBox Plus] Not working on small windows’ is closed to new replies.
Skip to toolbar