Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #1141
    Janne Koivistoinen


    First of all – thank you so much for a great plugin, I love it.

    I’m having some trouble with external links with PrettyPhoto. I’m trying to open an URL with an anchor link, so it would jump right to the right spot on the page within the lightbox – here’s the code:

    < a rel=”lightbox” href=””>What is Responsive Design and why do we need it?< / a >

    I’ve tried adding the anchor tag to the end of the URL and adding &-marks here and there, but my coding skills are limited.
    Is there any way I could get this to work, would be so great!

    Thanks again and high fives from Finland,



    Hi Janne,

    I tested your code it works as intended – it jumps to the specified anchor. Just don’t use spaces for the selectors (for e.g. < / a >) and use double brackets like that (“) instead of that (”). I’m not posting a live link here because we’re using Responsive Lightbox in swipebox mode, which doesn’t support iframe.

    By the way: very nice website and the designs, congrats!

    Janne Koivistoinen

    Thanks Bartosz, have spent countless of nights doing that – so it feels good that people like it! :)

    Yes, of course I change the brackets and spaces, I just had to add the spaces so the could would show up here.
    But still, when I add that exact code, the lightbox doesn’t trigger and I get redirected to the page.

    I am on Mac, latest versions of Safari, Chrome and Firefox. Any ideas?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.