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
  #141  
Old 06-20-2007, 11:22 AM
 
TheMommyMarketplace TheMommyMarketplace is offline
 

Advanced Member
  
Join Date: Jul 2006
Posts: 41
 

Default Re: Lightbox JS v2.0 implementation

I'm bumping this up to see if anyone has figured out chelle's issue--I am having the same problem. I just upgraded to 4.1.7 & the detailed images produced by the cart are much larger/nicer than the ones in thickbox.
__________________
Amy

X-cart Pro 4.1.9
www.themommymarketplace.com
Reply With Quote
  #142  
Old 06-20-2007, 11:23 PM
  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

Quote:
Originally Posted by TheMommyMarketplace
I'm bumping this up to see if anyone has figured out chelle's issue--I am having the same problem. I just upgraded to 4.1.7 & the detailed images produced by the cart are much larger/nicer than the ones in thickbox.

ThickBox will resize images(using browser) that are bigger than the browser window, but browser resizing of images generally gives poor results. >> ThickBox forum
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #143  
Old 07-05-2007, 04:05 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,470
 

Default Re: Lightbox JS v2.0 implementation

Hello ...

Does anyone know how to modify thickbox_productpage.tpl so that it only displays one link available to start the popup functionality rather than showing multiple links to each detailed image.

Thanks & Regards

Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote
  #144  
Old 07-05-2007, 04:30 AM
 
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

Quote:
Originally Posted by chamberinternet
Does anyone know how to modify thickbox_productpage.tpl so that it only displays one link available to start the popup functionality rather than showing multiple links to each detailed image.

Thinking out loud: Thickbox3 has a "gallery" function... I have not explored it yet. But I was thinking of exploring this -- what if????? I may explore this tonight. Let me know if you get there first.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #145  
Old 07-05-2007, 04:34 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,470
 

Default Re: Lightbox JS v2.0 implementation

Gallery Function ?
I'm on the Jquery website and i dont see any mention is this feature ... Are you reading about this elsewhere ?

Regards

Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote
  #146  
Old 07-05-2007, 04:39 AM
 
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

Thickbox 3
http://forum.x-cart.com/showthread.php?t=32300

http://jquery.com/demo/thickbox/
Quote:
GALLERY IMAGES
Description:

This example is exactly like the single image functionality except that it allows use of the rel attribute to group images together so they can be navigated in a ThickBox. The ideal usage would be for images galleries.
Instructions:
  • Create a link element (<a href>)
  • Give the link a class attribute with a value of "thickbox" (class="thickbox")
  • Provide a path in the href attribute to an image file (.jpg .jpeg .png .gif .bmp)
  • Give each link element the same rel element and value. (Example: rel="gallery-plants")
Important to Remember:

While you have a ThickBox gallery image open, you can navigate forward and backward through the images by using the left < key (previous) and right > key (next) on the keyboard (Next and Previous links are also provided in the ThickBox). The images will appear in the gallery from first to last as they appear in the HTML document flow.

PS -- maybe this thread should move to Thickbox 3?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #147  
Old 07-05-2007, 04:45 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,470
 

Default Re: Lightbox JS v2.0 implementation

Ah right yes ...

I think this functionality already existed in v2.x ... as i've used this in smaller/static based sites. Looks slick..
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote
  #148  
Old 07-05-2007, 04:55 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

Quote:
Originally Posted by chamberinternet
Hello ...

Does anyone know how to modify thickbox_productpage.tpl so that it only displays one link available to start the popup functionality rather than showing multiple links to each detailed image.

Thanks & Regards

Shafiq :sK

Open thickbox_productpage.tpl and add this code to DIV style properties(to image DIV, not wrapper DIV). Also, you can adjust numbers of "none" values...depending on the maximum number of detailed images:
Quote:

display:{cycle values="block,none,none,none,none,none"};

btw.new version of thickbox mode(based on Thickbox 3) is attached.
Attached Files
File Type: zip x-cart_thickbox_4.1.x.zip (23.9 KB, 113 views)
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #149  
Old 07-05-2007, 05:01 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

Quote:
Originally Posted by carpeperdiem
Thickbox 3
http://forum.x-cart.com/showthread.php?t=32300

http://jquery.com/demo/thickbox/


PS -- maybe this thread should move to Thickbox 3?

This feature is already included in the Thickbox mod, but can't be called gallery...if you open one image with Thickbox you can navigate forward and backward through the images.
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #150  
Old 07-05-2007, 05:23 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,470
 

Default Re: Lightbox JS v2.0 implementation

Quote:
Open thickbox_productpage.tpl and add this code to DIV style properties(to image DIV, not wrapper DIV). Also, you can adjust numbers of "none" values...depending on the maximum number of detailed images:

display:{cycle values="block,none,none,none,none,none"};

Brilliant .. worked a treat.

Thanks a lot.

Regards

Shafiq :sK

P.S: Your Thickbox 3 update works fine
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
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 06:10 PM.

   

 
X-Cart forums © 2001-2020