How can i make link to open custom image on custom page with lightbox effect in OC 1.5.4?
Thank you
You need to install the extended visual HTML editor and edit the 'class' attribute of the image. You can add the class 'colorbox'. You may also have to add this code in the bottom of the template 'information.tpl':
Code: Select all
<script type="text/javascript"><!--
$(document).ready(function() {
$('.colorbox').colorbox({
overlayClose: true,
opacity: 0.5,
rel: "colorbox"
});
});
//--></script>
Andrei
andrei.opencart[at]yahoo.com
Themes and Extensions
Who is online
Users browsing this forum: Bing [Bot] and 32 guests