Hello:
I want to modify one php file of K2 for display lightbox instead of new page.
This is the original line:
<span class="tpcoupon-code" title="'.$url.'">'.$couponcode.'</span>
I need to change it to:
<a href="plugins/content/images/image-1.jpg" rel="lightbox" title="'.$couponcode.'">'.$couponcode.'</a>
But the image-1.jpg displays in a new page, not in lightbox.
K2 comes with motools javascript. Please, how I can show lightbox with it?.
Thanks!
I want to modify one php file of K2 for display lightbox instead of new page.
This is the original line:
<span class="tpcoupon-code" title="'.$url.'">'.$couponcode.'</span>
I need to change it to:
<a href="plugins/content/images/image-1.jpg" rel="lightbox" title="'.$couponcode.'">'.$couponcode.'</a>
But the image-1.jpg displays in a new page, not in lightbox.
K2 comes with motools javascript. Please, how I can show lightbox with it?.
Thanks!