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!
Sidebar link content showing up in prettyphoto
13 posts from 3 voices-
Posted 1 year ago #
-
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
Posted 1 year ago # -
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.
Posted 1 year ago # -
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')Posted 1 year ago # -
Thanks for looking into this... suggested changes made, however the issue still remains.
Posted 1 year ago # -
Hey!
I'll mark this thread for Kriesi then. Maybe he knows a clever solution.
Regards,
PeterPosted 1 year ago # -
Thanks, I'll keep an eye out for his response.
Posted 1 year ago # -
No word on a solution for this?
Posted 1 year ago # -
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
Posted 1 year ago # -
Okay, thanks... appreciate the update.
Posted 1 year ago # -
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"]')Posted 1 year ago # -
Rather clever... so instead of excluding the sidebar, this one only includes entries? Awesomeness, it works! Much appreciated.
Posted 1 year ago # -
Hi!
Glad that I could help you :)
Regards,
PeterPosted 1 year ago #
Topic Closed
This topic has been closed to new replies.














