| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Question about adding Javascript image magnification code. | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I found a pretty cool image magnification javascript (link) that I wanted to use in the body (detailed description) of my product pages. Currently I have an image on each of my product pages (in addition to the thumbnail and additional images) and I'd like to be able to use this script to magnify it... it's cool because it doesn't open it in a new window or navigate away from that page, you just click it anywhere to open and click it anywhere to close.
Anyway... I have no idea how or where to insert the code. I have basic HTML knowledge, but that's about it. These are the instructions that came with the free software: Quote:
I'm stuck on the #1. Do I add the code to /customer/main/product.tpl ? If so, where?I know I'm going to have trouble with the rest of the instructions as well. This script would be great for my site if I could get it to work... any help you guys could give me would be REALLY appreciated.
__________________
4.3.2 |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() You can add this script elsewhere you wish within skin1 dir (in a separate file named PopBox.js).
I think placing it in skin1/customer/ is good idea Then insert in /customer/main/product.tpl right below the lines Code:
Code:
And copy these images in your skin1/images directory So you complete first and second step
__________________
Regards, Victor Dubiniuk X-Cart Skins Store ![]() - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#3
|
|||||||
|
|||||||
![]() This looks great. I also have very basic skills.
I would be keen to implement this so that the main image on the product details page is magnified on mouse-over or click. Any help with where to put the code would be appreciated. Cheers Paul |
|||||||
#4
|
|||||||
|
|||||||
![]() Check my sig for a link for highslide
![]() |
|||||||
|
|||
X-Cart forums © 2001-2020
|