[resolved] second link to activate thickbox (2 posts)

  1. juri003
    Posted 6 years ago #

    Hi all,

    I am looking for a way to activate a thickbox via an extra button on a page. Preferably this should be a general button.

    The exact situation is like this:
    I have a single picture that opens a larger version or a whole gallery in a thickbox. To make it more clear there is more to see I want to add a button that activates the thickbox. At the momement I just make a link to the (first) image with the tickbox class en the gallery rel. There are to problems with this solution:
    1.it requires a lot of manual linking
    2.it ads an extra version of the specific image to the gallery without description

    The live example http://www.jurisverbeelding.nl/foto/reportage/bo-kuylenburg (the button is the arrow with text "Bekijk project")

    Is there a way to activate any thickbox on a page with a general button?


  2. juri003
    Posted 6 years ago #

    Hi all

    Fixed it with help from a friend. The trick is done with a little bit of jquery that reroutes a mouseclick.

    jQuery('#button').click(function() {
      return false;

Topic Closed

This topic has been closed to new replies.

About this Topic