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
  #11  
Old 08-28-2006, 11:15 AM
 
Cpt.Crashtastic Cpt.Crashtastic is offline
 

eXpert
  
Join Date: Jan 2006
Posts: 219
 

Default Re: Lightbox JS v2.0 implementation

hand coded it and if i remember correctly i put the html into the welcome text.

I think there may be a clash of names somewhere between common.js and the lightbox js. Too tired to look though at the moment.
__________________
Xcart 4.4.?
Xcart Next
Litecommerce with Drupal
http://www.corbywebworx.com

Custom Mods, Hosting and Support for Xcart-Next and LiteCommerce
Reply With Quote
  #12  
Old 08-29-2006, 01:25 PM
 
Cpt.Crashtastic Cpt.Crashtastic is offline
 

eXpert
  
Join Date: Jan 2006
Posts: 219
 

Default Re: Lightbox JS v2.0 implementation

Quote:
Originally Posted by leorulz
i am still trying to figure it out. I wrote an email to 7dana.com, maybe he can help out. By the way nice website you have. How did you manage to have clickable thumbnails on product page?

Any joy with 7dana yet? I'd really like to have this working properly within a fortnight when we launch the site even if costsmoney.

It's interesting what happens in Firefox. I have (weird and wonderful) wholesale prices activated. As soon as you change the colour option the array of colours is wiped and the wholesale array is filled with nothing. This must be a clue. At the moment I'm totally clueless with this, and can't afford to strain the few remaining cells I have left on it.

Ant
__________________
Xcart 4.4.?
Xcart Next
Litecommerce with Drupal
http://www.corbywebworx.com

Custom Mods, Hosting and Support for Xcart-Next and LiteCommerce
Reply With Quote
  #13  
Old 08-29-2006, 02:52 PM
 
leorulz leorulz is offline
 

Advanced Member
  
Join Date: Jul 2006
Posts: 66
 

Default Re: Lightbox JS v2.0 implementation

7dana replied, this was their reply:

Hi Alex,

Unfortunately I don't have a fix for this problem ...too many pending jobs.

Regards,
Goran
www.7dana.com"

At this point, i dont know what to do. Perhaps, i ll just leave it the way it is for now.
__________________
version 4.4.2
www.bodyandmindspa.com/
Reply With Quote
  #14  
Old 08-30-2006, 02:12 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

Guys, I'm working on that isuue...please be patient....
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #15  
Old 09-07-2006, 07:17 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

Goran,

Any word on getting Lightbox working w/ 4.1 and variants?

I have been exploring every "detailed image" mod, including:

X-Magnifier (flash based -- slow to load images - bloated with code)
PhilJ's "Zoomify Multiple Images" (I'm not a fan of the "zoomify" concept)
Tela Firma (not compato w/ 4.1 - also based on "zoomify")

Lightbox is simply cool.

I know the code originated elsewhere -- can a developer re-package this code as a commercial product if they add value (make changes)? In this case, could it be worth the price of a mod to you (or someone) if you can solve the js conflict issue in MSIE 6 (with variants)?

Has anyone figured this out?

Thanks,

Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #16  
Old 09-07-2006, 10:23 AM
  Zaja's Avatar 
Zaja Zaja is offline
 

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

Lightbulb Re: Thickbox 2.0 implementation

Ok, Lightbox is replaced with Thickbox 2.0!

In my opinion, this is a far better option than Lightbox which is more bloaty.

The ThickBox.js + jQuery.js + CSS file only add an additional 28kb vs 105kb from Lightbox.
Thickbox 2.0 can display any inline content, iframed content, or content served through AJAX on the current page, not only images.

I have tested on x-cart 4.1.3 and product variants and Add to cart buttons works fine...and no javascripts errors.

Demo and download:
http://www.7dana.com/106.84.0.0.1.0.phtml
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #17  
Old 09-07-2006, 10:44 AM
  Jayk's Avatar 
Jayk Jayk is offline
 

eXpert
  
Join Date: Nov 2003
Location: Calgary, Alberta, Canada
Posts: 333
 

Default Re: Lightbox JS v2.0 implementation

This sounds great. I will replace the Lightbox implementation. I like the idea of being able to add other content besides images.

Cheers,
Jason
__________________
X-Cart Gold 4.4.3
Blog: www.flashinthepan.ca
Reply With Quote
  #18  
Old 09-07-2006, 10:59 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

AWESOME!

Thank you, Goran!

2 minor edits may be needed...

1. the directory, /thickbox/images is not in the distributive. I used the directory from lightbox, and it seems to be ok...
2. In file, /thickbox/thickbox_productpage.tpl

FIND:

<img src="{$SkinDir}/lightbox/

REPLACE WITH:

<img src="{$SkinDir}/thickbox/

yes?

THANKS A ZILLION. I am configuring and testing right now.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #19  
Old 09-07-2006, 12:13 PM
  Zaja's Avatar 
Zaja Zaja is offline
 

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

Default Re: ThickBox 2 implementation

Jeremy, that's right, please download package again.

btw. The images directory is not needed any more, zoom.gif is placed inside thickbox/files folder.
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #20  
Old 09-07-2006, 12:34 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

OK! Now we're cooking with fire...

The good news: Safari (mac), MSIE 6 (winxp) and Opera (both mac/win) look and function great.
The bad news: Firefox (both mac and win) has a minor display issue...

The product page in both win and mac firefox does not render correctly, and it tries to place the "thickbox" "click to enlarge" links ON TOP of the product description text.

Could this be a problem with my product.tpl formatting, or do others also see this?

It very well may be just me -- but I thought I'd toss this out to the community.

Goran, I was getting frustrated with the detailed image display options and you have come to the rescue (again). Hopefully, this is only a minor display issue... I'll keep testing and if i figure out why Firefox is displaying things poorly, I'll report back ASAP.

Thanks!

Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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:03 PM.

   

 
X-Cart forums © 2001-2020