X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Lightbox JS v2.0 implementation (https://forum.x-cart.com/showthread.php?t=23858)

Cpt.Crashtastic 08-28-2006 11:15 AM

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.

Cpt.Crashtastic 08-29-2006 01:25 PM

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

leorulz 08-29-2006 02:52 PM

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.

Zaja 08-30-2006 02:12 AM

Re: Lightbox JS v2.0 implementation
 
Guys, I'm working on that isuue...please be patient....;-)

carpeperdiem 09-07-2006 07:17 AM

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

Zaja 09-07-2006 10:23 AM

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

Jayk 09-07-2006 10:44 AM

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

carpeperdiem 09-07-2006 10:59 AM

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.

Zaja 09-07-2006 12:13 PM

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.

carpeperdiem 09-07-2006 12:34 PM

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


All times are GMT -8. The time now is 12:28 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.