| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized. | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
I made this script and adapted by me for x-cart.
Use at your own risk. I made for x-cart 4.1.9 but i believe that will works with any version as long you put the right code that refers to the product image. 1. Copy the file "thumbnail.css" to the /skin1 Code:
2. In /skin1/customer/home.tpl before </head> ad the line: Code:
3.In /skin1/customer/main/products_t.tpl Replace the line: Code:
for this one: Code:
Here an example how will looks like. http://www.support.webosusa.com/downloads/xcart/myMods/cssmouseover.gif http://www.support.webosusa.com/downloads/xcart/myMods/cssmouseover_small.gif
__________________
Pedro
digitalnotions.i2u.shop shop.modestclassy.com.au4.1.9 X-Cart
X-Cart Business 5.3.6.0 Multi-vendor 5.3.6.0 |
|||||||
|
#2
|
|||||||||
|
|||||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
hey pedro
thanks for the code- i just installed but my images blew up and the thumb is sitting directly next to the large one only smaller- any reason why i also have Dymanic Images (Telafirma) they are compatible correct?
__________________
X-CART Pro V.4.3.0 PHP version 5.2.11 MySQL version 5.0.81 Architecture x86_64 Apache version 2.2.14 (Unix)mod_ssl/2.2.14 Operating System: Linux Dedicated Ip cPanel Pro 1.0 (RC1) cPanel Version 11.24.5-RELEASE Modules: DL Expander, DL Products, One Page Checkout, Dynamic Images, Multicolumn Recommends, Narrow by Search, Random Products Tabs. X-AOM, SALES-N-STATS 1.3 , X-Offers-4.1.9, X-Magnifier41x, X-Fancy Categories, X-RSS Feeds, Static Meta Tags , X-AJAX Rating System v4.1 |
|||||||||
#3
|
|||||||
|
|||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
Well.
This MOD will get your original image on the original size and will show on the direction specified on the code below.... Code:
Unfortunaly i am trying to put the image to folow the mouse but i didn't quite get that yet. This should work fine with any 4.1.x version. And with no compatibility problems with Dymanic Images (Telafirma). Send me an image of the code in action on your website so i can have an idea what is happening? Can you do that? Thanks!
__________________
Pedro
digitalnotions.i2u.shop shop.modestclassy.com.au4.1.9 X-Cart
X-Cart Business 5.3.6.0 Multi-vendor 5.3.6.0 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
Quote:
hey pedro i did get it working fine- i made changes to the size of the image- with no probem. One question is how do i get rid of the Black Box Border around image- to just have the image itself with no border? i would like to see if that looks a bit lighter or not graphicly.
__________________
X-CART Pro V.4.3.0 PHP version 5.2.11 MySQL version 5.0.81 Architecture x86_64 Apache version 2.2.14 (Unix)mod_ssl/2.2.14 Operating System: Linux Dedicated Ip cPanel Pro 1.0 (RC1) cPanel Version 11.24.5-RELEASE Modules: DL Expander, DL Products, One Page Checkout, Dynamic Images, Multicolumn Recommends, Narrow by Search, Random Products Tabs. X-AOM, SALES-N-STATS 1.3 , X-Offers-4.1.9, X-Magnifier41x, X-Fancy Categories, X-RSS Feeds, Static Meta Tags , X-AJAX Rating System v4.1 |
|||||||||
#5
|
|||||||
|
|||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
The board color will be:
Code:
The padding (board thickness) will be... Code:
But this have the home background color by default.... if you do not want to be the default of the color for "Gif" files (transparent) you got to put images with no transparency. no problem if using "Jpg" files. Other thing.... to the images be able to show large onMauoseOver your image have to be with full path... Ex.: www.your-site.com/images/sample.gif if you put direct on database ... means if you choose the images when you putting on you product page from the database.... wont work and will show a little box with your background color. Any question let me know. Cya!
__________________
Pedro
digitalnotions.i2u.shop shop.modestclassy.com.au4.1.9 X-Cart
X-Cart Business 5.3.6.0 Multi-vendor 5.3.6.0 |
|||||||
#6
|
|||||||||
|
|||||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
Quote:
heya pedro- have a look at www.istock.com they have this feature- (or the one from 7dana which unfor. is not compatibe with Dynamic Images from Telafirma)- the script u put up no prob so far. see how on istock.com when you mouse over, the image is tighter to the orginal image. not so much to the L or R. How would i acheive this/
__________________
X-CART Pro V.4.3.0 PHP version 5.2.11 MySQL version 5.0.81 Architecture x86_64 Apache version 2.2.14 (Unix)mod_ssl/2.2.14 Operating System: Linux Dedicated Ip cPanel Pro 1.0 (RC1) cPanel Version 11.24.5-RELEASE Modules: DL Expander, DL Products, One Page Checkout, Dynamic Images, Multicolumn Recommends, Narrow by Search, Random Products Tabs. X-AOM, SALES-N-STATS 1.3 , X-Offers-4.1.9, X-Magnifier41x, X-Fancy Categories, X-RSS Feeds, Static Meta Tags , X-AJAX Rating System v4.1 |
|||||||||
#7
|
|||||||
|
|||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
It╢s not the same at all. That one cannot link the image to a specific page.
I know a code to do that, but i never adopt on x-cart. If you want let me know.
__________________
Pedro
digitalnotions.i2u.shop shop.modestclassy.com.au4.1.9 X-Cart
X-Cart Business 5.3.6.0 Multi-vendor 5.3.6.0 |
|||||||
#8
|
|||||||||
|
|||||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
Quote:
Not entirely true. You only need to make a small modification to the script. |
|||||||||
#9
|
|||||||
|
|||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
Correction... i just install the "TelaFirma╢s Radom Products and maid my MOD do not work if you use database to link your images for the option "Product thumbnails" but i got to work if your images are stored on the File Sistem. Do that and let me know if works with TF Image MOD.
Cya,
__________________
Pedro
digitalnotions.i2u.shop shop.modestclassy.com.au4.1.9 X-Cart
X-Cart Business 5.3.6.0 Multi-vendor 5.3.6.0 |
|||||||
#10
|
|||||||||
|
|||||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
Is Random Products the same as Dynamic Images?
the script you gave me (the first one) works great, im not sure what is the difference from that one from the one that 7dana Sells? and to Telafirma i did not know there was a WA- i had purchased the 7dana mod- and they refunded- u should let them know about the edit to fix the compatability issue- but what is the dif between the two- Pedro vs 7dana I think my image files are in a File Folder vs. Server- i know that is the prefered way to have it- im just using temp images right now and will delete all when im ready to upload my own product. and thats another story- how to upload a CSV file- or whatever its called
__________________
X-CART Pro V.4.3.0 PHP version 5.2.11 MySQL version 5.0.81 Architecture x86_64 Apache version 2.2.14 (Unix)mod_ssl/2.2.14 Operating System: Linux Dedicated Ip cPanel Pro 1.0 (RC1) cPanel Version 11.24.5-RELEASE Modules: DL Expander, DL Products, One Page Checkout, Dynamic Images, Multicolumn Recommends, Narrow by Search, Random Products Tabs. X-AOM, SALES-N-STATS 1.3 , X-Offers-4.1.9, X-Magnifier41x, X-Fancy Categories, X-RSS Feeds, Static Meta Tags , X-AJAX Rating System v4.1 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|