April 8, 2012 at 4:16 am #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!April 10, 2012 at 2:14 pm #71000
Just looking at your blog now, I’m not getting the same error. Were you able to sort the issue out?
DevinApril 13, 2012 at 4:24 am #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.April 17, 2012 at 6:11 am #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"]')
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')April 19, 2012 at 5:31 am #71003
Thanks for looking into this… suggested changes made, however the issue still remains.April 19, 2012 at 5:35 am #71004
I’ll mark this thread for Kriesi then. Maybe he knows a clever solution.
PeterApril 21, 2012 at 3:14 am #71005April 27, 2012 at 6:15 am #71006April 30, 2012 at 7:04 pm #71007
None yet. I know Kriesi has been quite busy lately and will we’ll make sure to update as soon as we have something :)
DevinMay 1, 2012 at 5:21 am #71008May 5, 2012 at 10:37 am #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"]')May 6, 2012 at 6:36 am #71010
Rather clever… so instead of excluding the sidebar, this one only includes entries? Awesomeness, it works! Much appreciated.May 6, 2012 at 11:20 am #71011
The topic ‘Sidebar link content showing up in prettyphoto’ is closed to new replies.