Latest News: (loading..)
Search the Community
Showing results for tags 'lightbox'.
Found 1 result
Hi all! I downloaded this Lightbox Add-on but i cant figure it out how i install it and get it to work. The install guide in the Add-On is: 1_ Upload attachments files to our store. 2_ Insert the following code in the file includes/templates_top.php <script src="js/jquery-1.7.2.min.js"></script> <script src="js/lightbox.js"></script> <link href="css/lightbox.css" rel="stylesheet" /> 3_ Add a rel="lightbox" attribute to any link tag to activate Lightbox. Eg: $pi_entry .= '"target="_blank" rel="lightbox">' . tep_image(DIR_WS_IMAGES . $pi['image'], '', KISSIT_MAIN_PRODUCT_IMAGE_WIDTH, KISSIT_MAIN_PRODUCT_IMAGE_HEIGHT ) . '</a>'; <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image'], '', 'NONSSL', false) . '" target="_blank" rel="lightbox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), KISSIT_MAIN_PRODUCT_IMAGE_WIDTH, KISSIT_MAIN_PRODUCT_IMAGE_HEIGHT, 'hspace="5" vspace="5"' ) . '</a>'; ?> In the package there is "CSS" folder, "JS" folder and "images" folder - Do i simply upload these "CSS" and "JS" folder to my store but i cant get it where do i upload them, to Catalog? - Can i simply ad that code in anywhere in template.php code? - That third part i dont get it at all. What does that mean "Add a rel" and that code where do i have to put that http://addons.oscommerce.com/info/8706/v,23 This must be very simple to do. If someone helps me out here i would be very grateful!