Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #207697

    Hello,

    I’m using the Propulsion theme on this website: . When I insert a link to a youtube or vimeo video, it pops up in a lightbox window via the “rel” attribute. How can I prevent this from happening?

    Thanks for your help!

    -Phillip

    #207700

    Hi,

    Open js/avia.js and look for line 800:

    autolinkElements: 'a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href$=".mov"] , a[href$=".swf"] , a[href*="vimeo.com"] , a[href*="youtube.com"] , a[href*="screenr.com"]'
    

    Replace it by this:

    autolinkElements: 'a[rel^="prettyPhoto"], a[rel^="lightbox"], a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href$=".mov"] , a[href$=".swf"] , a[href*="screenr.com"]'
    

    Regards,
    Josue

    #207720

    That worked, thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Image Lightbox’ is closed to new replies.