Skip navigation
super waffle
Currently Being Moderated

Lightbox help?

Aug 19, 2012 6:11 PM

I finaly got lightbox to work and it works like it should. I want to add a [Dowload PDF] link to the pdf version. What i am making is a menu in a lightbox version. i know that i can add a "title" to the photo but i cant add a link inside the title. How do i add a link to the PDF version in Lightbox?

 
Replies
  • Currently Being Moderated
    Aug 19, 2012 9:29 PM   in reply to super waffle

    Perhaps you can post a link to your page where you want to add a link of the pdf file or at least post a skeleton code (HTML) for people here to see what you are trying to do.

     

    G/L

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 20, 2012 2:03 AM   in reply to super waffle

    Hello,

     

    in a former version of lightbox support, they gave this answer to "Can I insert links in the caption?"

     

    Yes, but you need to convert quotes and greater and less than symbols into their html entity equivalents. For example:

    <a href="images/image-4.jpg" rel="lightbox" title="&lt;a href=&quot;link.html&quot;&gt;my link&lt;/a&gt;">Image</a>  

     

     

    I think that this will work adapted to your pdf links as well.

     

    Otherwise you could ask your question in lightbox' forum:  http://lokeshdhakar.com/forums/. One question I found there which is similar to your problem, I think:

     

    http://lokeshdhakar.com/forums/index.php?p=/discussion/comment/18153#C omment_18153.


    ... and if contrary to my expectations you will not be successful in your efforts I'll join DG/L's proposal.

     

    Hans-Günter

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 23, 2012 4:07 PM   in reply to hans-g.

    hans-g is correct. You have to convert the double quotation marks and greater than/less than symbols to their entities. Here's a reference to HTML Entities:

     

    http://www.w3schools.com/tags/ref_symbols.asp

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 28, 2012 12:13 AM   in reply to super waffle

    Hi,

    how did the matter turn out? Had you been successful? Please give feedback.

     

    Hans-Günter

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points