Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1333477

    Howdy,
    I found this topic at kriesi.at — Support:
    https://kriesi.at/support/topic/masonry-gallery-target-_blank-with-load-more-button/

    This is helpful but not perfect for me.
    Can you please extend the script, so that I can only determine a new target for a single and / or several specific tiles?

    As I saw, every tile has its own id.
    e.g. id=av-masonry-1-item-1173 etc, etc.

    That would be great.
    Thanks for supporting me
    Stefan
    Stefan

    #1333504

    Hey steridhh,

    Thank you for the inquiry.

    You can use the ID attribute to directly select the element and change its target attribute.

    $('#av-masonry-1-item-1173').attr('target','_blank');
    

    Best regards,
    Ismael

    #1333564

    Perfect, thanks a lot, Ismael. That works.

    #1333604

    Hi,

    No problem. Please let us know if you need anything. We will close this thread for now.

    Have a nice day.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘determine a target at the masonry gallery’ is closed to new replies.