Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Lightbox JS v2.0 implementation

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #91  
Old 01-24-2007, 03:30 AM
 
jamesh3 jamesh3 is offline
 

Member
  
Join Date: Sep 2006
Posts: 20
 

Default Re: Lightbox JS v2.0 implementation

Thankyou Zaja, its a great mod.
__________________
xcart 4.4.5
Mods/Adds: CDSEO Pro, stock notify, global options, BCSE POS, BCSE Reward points
Reply With Quote
  #92  
Old 01-24-2007, 03:43 AM
 
jamesh3 jamesh3 is offline
 

Member
  
Join Date: Sep 2006
Posts: 20
 

Default Re: Lightbox JS v2.0 implementation

Is there a definitive guide to creating clickable thumbnails in 4.0.x ? I have read the whole thread but have not been able to piece it together.
__________________
xcart 4.4.5
Mods/Adds: CDSEO Pro, stock notify, global options, BCSE POS, BCSE Reward points
Reply With Quote
  #93  
Old 01-24-2007, 04:44 AM
 
TheMommyMarketplace TheMommyMarketplace is offline
 

Advanced Member
  
Join Date: Jul 2006
Posts: 41
 

Default Re: Lightbox JS v2.0 implementation

Quote:
Originally Posted by dfawdon
For clickable thubmnails, here is my 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> {section name=image loop=$images} {if $images[image].avail eq "Y"} {if $images[image].tmbn_url} <div style="white-space: nowrap;padding-left:10px;"><a href="{$images[image].tmbn_url}" title="{$images[image].alt|escape}" class="thickbox" rel="[detailed]"><img src="{$images[image].tmbn_url}" width="75" style="border:0;" alt="{$lng.lbl_click_to_enlarge|escape}" /></a></div> {else} <div style="white-space: nowrap;padding-left:10px;"><a href="{$xcart_web_dir}/product_image.php?imageid={$images[image].imageid}" title="{$images[image].alt|escape}" class="thickbox" rel="[detailed]"><img src="{$images[image].tmbn_url}" width="75" style="border:0;" alt="{$lng.lbl_click_to_enlarge|escape}" /></a></div> {/if} {/if} {/section} {/if}


This is what worked for me to make clickable thumbnails.
__________________
Amy

X-cart Pro 4.1.9
www.themommymarketplace.com
Reply With Quote
  #94  
Old 01-26-2007, 07:44 AM
  ezi designs's Avatar 
ezi designs ezi designs is offline
 

Senior Member
  
Join Date: Sep 2006
Location: United Kingdom
Posts: 118
 

Default Re: Lightbox JS v2.0 implementation

O.K a question for someone.

Just updated this mod to 2.1 and all is fine, except one thing. When i click on 'detailed images' it opens fine, but in the bottom left hand corner it displays ' click to enlarge' great i thought ! not so, it closes the screen.

Anyone have any ideas ?


Thanks

Richard
__________________
x-cart 4.1.6

DSEFU PRO

http.www.demontemplates.com
Reply With Quote
  #95  
Old 01-27-2007, 08:28 AM
 
fhiremark fhiremark is offline
 

Advanced Member
  
Join Date: Apr 2006
Location: New York
Posts: 66
 

Default Re: Lightbox JS v2.0 implementation

Hi, this is a great mod and it works great for the most part, but I'm still getting the https/IE bug. Can somebody please help, here's what I did:

Since I don't use xcart's Detail Images module to show my enlarged images, I had to snip out all the logical statements in thickbox_productpage.tpl which left me with 1 line of code.

Code:
<div style="white-space: nowrap;padding:0 0 1px 3px;"><a href="../skin1/images/large/{$product.productid}.jpg" title="{$product.product}" class="thickbox" rel="lightbox_detailed"><img src="{$SkinDir}/thickbox/files/zoom.gif" style="border:0;" alt="{$lng.lbl_click_to_enlarge|escape}" /></a></div>
**You can see that I had to also change the href and title to make it work appropriately.

The rest of the code I left intact and it works perfect on Firefox, but on IE I get the nonsecure popup everytime I go to a different page. (I'm using the most recent download package, the one with the blank.html hack) Please help.
__________________
X-cart GOLD v 4.0.18
Reply With Quote
  #96  
Old 01-28-2007, 09:59 PM
 
jamesh3 jamesh3 is offline
 

Member
  
Join Date: Sep 2006
Posts: 20
 

Default Re: Lightbox JS v2.0 implementation

What image size is everyone using with thickbox? It is very tempting to use a large image as it is scaled to the users resolution - thoughts?
__________________
xcart 4.4.5
Mods/Adds: CDSEO Pro, stock notify, global options, BCSE POS, BCSE Reward points
Reply With Quote
  #97  
Old 01-28-2007, 10:05 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Lightbox JS v2.0 implementation

My detailed images are 700 x Y -- all images are 700px wide x whatever the Y dimension is relative. For vertical images, I try to limit to 570px x X --- This seems to work for me. YMMV.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #98  
Old 01-31-2007, 01:40 PM
 
Newpowerr Newpowerr is offline
 

Advanced Member
  
Join Date: Feb 2006
Posts: 32
 

Default Re: Lightbox JS v2.0 implementation

Quote:
Originally Posted by leorulz
This is a great mod. I have installed it with no problems.
Does anybody know how to get rid of javascript error on the bottom of internet explorere.
You can view an example here: http://www.dreamindiamonds.com/store/product.php?productid=16212&cat=252&page=1

Thank you.

Hi,

I don't know if you actually use the sns collector tracker, but you java script error is still there, and it comes from this:

Error: params[paramIndex].split is not a function
Source File: http://www.dreamindiamonds.com/store/sns-collector/tracker_core.js
Line: 265

Maybe that helps...
__________________
X-CART-4.1.9 Pro
Add-on: X-Affiliate
Add-on: X-RMA (Return Merchandise Authorization)
Add-on: X-SpecialOffers
Add-on: X-AOM (Advanced Order Management)
Reply With Quote
  #99  
Old 02-01-2007, 02:21 PM
  mitash's Avatar 
mitash mitash is offline
 

X-Adept
  
Join Date: Jan 2006
Location: Australia
Posts: 450
 

Default Re: Lightbox JS v2.0 implementation

hi i just installed the latest on 4.1.5 store and it is showing links of details images with number next to it like 1, 2, 3 but it is not showing small thumbnail...

what have i done wrong..?

thanks in advance
__________________
eCommerce - Strategy / Design / Development / Marketing / Maintenance

Call within Australia:
Phone: 1300 648 274 | Mobile: 0417 241 950
Call outside Australia:
+61 417 241 950 |

Email:
results@mitash.com | Skype: mitashau | Web: www.mitash.com
Reply With Quote
  #100  
Old 02-02-2007, 03:44 PM
  mitash's Avatar 
mitash mitash is offline
 

X-Adept
  
Join Date: Jan 2006
Location: Australia
Posts: 450
 

Default Re: Lightbox JS v2.0 implementation

hi this is what i get after i installed this mod it is not showing up thumbnails...?
Attached Thumbnails
Click image for larger version

Name:	Untitled-2.gif
Views:	151
Size:	805 Bytes
ID:	237  
__________________
eCommerce - Strategy / Design / Development / Marketing / Maintenance

Call within Australia:
Phone: 1300 648 274 | Mobile: 0417 241 950
Call outside Australia:
+61 417 241 950 |

Email:
results@mitash.com | Skype: mitashau | Web: www.mitash.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:00 PM.

   

 
X-Cart forums © 2001-2020