Your Cart

image and layer links conflict

These forums are now closed to new replies / tickets.

Please open a support ticket from our new Support page.

Front Page Forums Problems image and layer links conflict

  • gravatar
    Nic
    August 23, 2015 at 1:50 pm

    Hi, I have the following problem.
    I set each image to have a link and a layer that contains another
    link (with text url).
    Even if my layer is not overlapping my image, if I click on the
    layer link, it also open the image link.
    I’m using JSON to serve data. How can I get out of it?

    var data = [
        {
            thumb: 'https://my.link/my-thumb.jpg',
            image: 'https://my.link/my-image.jpg',
            big: 'https://my.link/my-big-image.jpg',
            link: 'http://www.my1sturl.com'
            layer: '<div><p><a href="http://my2ndurl.com">GO TO URL</a><p></div>',
        },
    ];
    


    gravatar
    Nic
    August 23, 2015 at 1:59 pm

    (Every link is working, and don’t pay attention to missing
    comma) Thanks in advance


Galleria.io uses cookies to store information. You can read more about that in our Privacy Policy. I understand