Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #11217

    So if you go to my blog at http://allurexpressions.com/blog, or even simpler a single page from my blog “http://allurexpressions.com/2011/11/30/jalissa/” you’ll see upon clicking on an image and opening it in the lightbox, it’ll say 1/12 images… there are only really 5 images, and you’ll likely get an error at number six. Moving on to 8 or so and you’ll get video feeds from one of the links in my sidebar… how do I prevent prettyphoto from displaying any content from those links? Thanks!

    #71000

    Hi dlvennie,

    Just looking at your blog now, I’m not getting the same error. Were you able to sort the issue out?

    Regards,

    Devin

    #71001

    No actually, I’m still getting the error… in fact, upon going to the blog and clicking on the second link in the blog roll “Sherry Kim (Fantasiex)”, it attempts to open the link in a light box as well… perhaps that error is easier pin point for anyone looking into this.

    #71002

    You can try to replace following code in js/custom.js:

    jQuery('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"]')

    with:

    jQuery('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"]').not('.sidebar')

    #71003

    Thanks for looking into this… suggested changes made, however the issue still remains.

    #71004

    Hey!

    I’ll mark this thread for Kriesi then. Maybe he knows a clever solution.

    Regards,

    Peter

    #71005

    Thanks, I’ll keep an eye out for his response.

    #71006

    No word on a solution for this?

    #71007

    Hi dlvennie,

    None yet. I know Kriesi has been quite busy lately and will we’ll make sure to update as soon as we have something :)

    Regards,

    Devin

    #71008

    Okay, thanks… appreciate the update.

    #71009

    You can try to use following code – it should do the same like the code I posted above but is a workaround:

    jQuery('.entry a[href$=jpg], .entry a[href$=png], .entry a[href$=gif], .entry a[href$=jpeg], .entry a[href$=".mov"] , .entry a[href$=".swf"] , .entry a[href*="vimeo.com"] , .entry a[href*="youtube.com"]')

    #71010

    Rather clever… so instead of excluding the sidebar, this one only includes entries? Awesomeness, it works! Much appreciated.

    #71011

    Hi!

    Glad that I could help you :)

    Regards,

    Peter

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

The topic ‘Sidebar link content showing up in prettyphoto’ is closed to new replies.