![]() |
Question about adding Javascript image magnification code.
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. |
Re: Question about adding Javascript image magnification code.
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:
{/capture} Code:
<script src="customer/PopBox.js" type="text/javascript"></script> And copy these images in your skin1/images directory So you complete first and second step |
Re: Question about adding Javascript image magnification code.
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 |
Re: Question about adding Javascript image magnification code.
Check my sig for a link for highslide :)
|
All times are GMT -8. The time now is 02:07 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.