| View previous topic :: View next topic |
| Author |
Message |
stanley@searchfit 2
Joined: 23 Jan 2003 Posts: 6213 Location: Austin, TX
|
|
| Back to top |
|
 |
Americover 2
Joined: 03 Jul 2008 Posts: 59
|
Posted: Tue Nov 04, 2008 7:24 am GMT Post subject: |
|
|
Stan,
Nice work with the Jquery integration. Do you have a link to the script that switches images or color options?
| Quote: |
| Uses other JQuery based scripts for image & value switching. |
Thanks |
|
| Back to top |
|
 |
ed@searchfit 2
Joined: 27 Sep 2004 Posts: 1300
|
Posted: Tue Nov 04, 2008 2:46 pm GMT Post subject: |
|
|
The setup is using JQuery, the JQuery Zoom Plugin and a Custom Script. It's not highly tested, so use with caution.
Checkout the source code of this page: http://demo3.searchfit.us.com/
These are the scripts necessary to make the display work:
| Code: |
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
var images_cz = ['black.jpg','red.jpg','alt_3.jpg','alt_1.jpg','alt_2.jpg'];
image_cz_form = 'add2cart_form_' + 57129;
</script>
<script src="http://demo3.searchfit.us.com/alt_image_effects.js"></script>
<script src="http://demo3.searchfit.us.com/jquery.jqzoom.js"></script>
|
|
|
| Back to top |
|
 |
Americover 2
Joined: 03 Jul 2008 Posts: 59
|
Posted: Tue Dec 09, 2008 12:03 pm GMT Post subject: |
|
|
Looking at this script now and the source code from the page that it is running on I am still having a hard time understanding how it differentiates the Alternate images from the product option images. Is this done in the .js that I can't see on Searchfits site, is it in the CSS, or is it in the .js on Jquery's side?
Thanks |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|