I'm using a jcarousellite.js that makes a caroussel from a ul list. I does it by duplicating the items.
Originally it starts like this:
<ul>
<li><a rel="lightframe" href="example.com" class="lightbox-processed">item1</a></li>
<li><a rel="lightframe" href="example.com" class="lightbox-processed">item2</a></li>
<li><a rel="lightframe" href="example.com" class="lightbox-processed">item3</a></li>
</ul>
and afte the jcarousellite.js is done with it it looks like this:
<ul>
<li><a rel="lightframe" href="example.com" class="lightbox-processed">item1</a></li>
<li><a rel="lightframe" href="example.com" class="lightbox-processed">item2</a></li>
<li><a rel="lightframe" href="example.com" class="lightbox-processed">item3</a></li>
<li><a rel="lightframe" href="example.com" class="lightbox-processed">item1</a></li>
<li><a rel="lightframe" href="example.com" class="lightbox-processed">item2</a></li>
<li><a rel="lightframe" href="example.com" class="lightbox-processed">item3</a></li>
<li><a rel="lightframe" href="example.com" class="lightbox-processed">item1</a></li>
<li><a rel="lightframe" href="example.com" class="lightbox-processed">item2</a></li>
<li><a rel="lightframe" href="example.com" class="lightbox-processed">item3</a></li>
</ul>
The links on the middle work fine as lightboxes, but the previous three and the following four behave as normal hyperlinks.
How can I rerun the lightbox script where it looks for all the rel="lightframe" elements?
I've tried run it after the jcarousellite script but it didn't seem to work.
Any ideas?!
thanks!
Comments
Comment #1
pbfleetwood commentedI'm having a problem that is possibly related to this. I'm using Menu Minipanels (which uses the Qtip library) to display a mega menu, in which there is a link to display an image with rel=lightbox. This works in preview, but not from the live menu. I cannot investigate the cause, because I don't know Javascript.