BAD311 Posted July 1, 2009 Share Posted July 1, 2009 I've installed Lightbox 2 on my OSC 2.2 site. It loads up just fine and works awesome. I want to tweak it though. When you click the thumbnail within the product info page (product_info.php) it popups using lightbox. However, it isn't aligned in the center of the browser in either FireFox or IE. How would I go about editing the alignment? The line of code in product_info.php consists of: <script language="javascript"><!--document.write('<?php echo '<a href="images/' . $product_info['products_image'] . '" rel="lightbox" title="' . $product_info['products_name'] . '">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> Other then that, it's all stock in the JavaScript files and CSS. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.