View Single Post
  #83  
Old 01-14-2007, 03:36 AM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default Re: Lightbox JS v2.0 implementation

Amy, thickbox_productpage.tpl:
Code:
{if $images ne ""} <div style="white-space:nowrap;color:#D90000;font-weight:bold;padding:2px;margin:10px 0 4px;">{$lng.lbl_detailed_images} &not;</div> <div style="display:inline;border:0;padding:2px;"> {section name=image loop=$images} {if $images[image].avail eq "Y"} {if $images[image].tmbn_url} <a href="{$images[image].tmbn_url}" title="{$images[image].alt|escape}" rel="[detailed]"><img src="{$images[image].tmbn_url}" width="60" alt="{$lng.lbl_click_to_enlarge|escape}" /></a> {else} <a href="{$xcart_web_dir}/product_image.php?imageid={$images[image].imageid}" title="{$images[image].alt|escape}" rel="[detailed]"><img src="{$images[image].tmbn_url}" width="60" alt="{$lng.lbl_click_to_enlarge|escape}" /></a> {/if} {/if} {/section} </div> {/if} {* adjust widht with following spacer *} <img src="{$ImagesDir}/spacer.gif" width="200" height="1" alt="" />

INPORTANT: Open skin1.css, find PImgBox class and remove width: 100px; property.
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote