Swap Images via MouseOver or Click

Description
This package is intended to be used either as a framework for an alternate
product-type or as a modification to the standard "product" product-type.

Once activated, it can be used to enable javascript image-swaps via a
common onMouseOver or onClick event, the most appropriate likely being
the onMouseOver.

Now your customers can simply hover their mouse over your "extra" product images and see the preview LIVE right on your product detail page, without having to click to see an enlarged version.

It will display medium (if found) or regular-sized (small) images based on
what you have previously uploaded to your server's images folder according to
normal Zen Cart v1.2.x procedures.

In the onMouseOver mode, it will also allow clicking to bring up a popup window
with the "large" version displayed ... so that prior functionality is still retained.
Of course, popup options are disabled if you have selected "onClick" as the mode for this module to operate in.

The module also takes the "noscript" feature into full consideration, so that
customers who have their browsers set to disable JavaScript will not encounter errors or unpleasant display. Instead, images will display properly, and popups are converted to launching a new browser page containing the appropriate image.
+ Download Latest

Submit An Updated Version
Zen Cart® Versions v1.3.9
Original Author DrByte
Last Updated by Nineve - 4 Oct 2010
Downloads 10,589

Version History

Swap Images via MouseOver or Click   -   Version: v139f_b
Added instructions for including text links under thumbnails.   + Download
Zen Cart® Versions v1.3.9
Date Added 4 Oct 2010
Author Nineve
File Size 18.5 KB
Encapsulated? No
Downloads 2,843
 
Swap Images via MouseOver or Click   -   Version: v1.3.9f
Updated the following files to bring it up to date. additional_images.php and main-product-image.php   + Download
Zen Cart® Versions v1.3.9
Date Added 13 Sep 2010
Author Nineve
File Size 18.2 KB
Encapsulated? No
Downloads 280
 
Swap Images via MouseOver or Click   -   Version: 1.3.8
Revised to add onMouseOut functionality - provided by starrydesigns.

If you would like for the original image to return when you move the mouse away set
'PRODUCT_IMAGE_SWAP_ONMOUSEOUT' in /includes/extra_configures/rollover_defines.php
to 'true'.

Updated 'readme.txt'
  + Download
Zen Cart® Versions v1.3.8
Date Added 13 May 2008
Author maitaijim
File Size 10.4 KB
Encapsulated? No
Downloads 3,966
 
Swap Images via MouseOver or Click   -   Version: 1.3.8
To be compatible with v1.3.8, I have replaced "$products_image_extention" with "$products_image_extension" in "/includes/modules/YOURTEMPLATE/additional_images.php".
This contribution now correctly finds and loads medium image files.
The older version will be required for older versions of Zen Cart.
  + Download
Zen Cart® Versions v1.3.8
Date Added 4 May 2008
Author maitaijim
File Size 9.7 KB
Encapsulated? No
Downloads 269
 
Swap Images via MouseOver or Click   -   Version: 1.3.5
Revised to work with v1.3.5+

If you need to use it on v1.2.x, use the older contrib version, as this one is specific to the 1.3.x series.
  + Download
Zen Cart® Versions v1.3.5
Date Added 1 Oct 2006
Author DrByte
File Size 9.6 KB
Encapsulated? No
Downloads 2,805
 
Swap Images via MouseOver or Click   -   Version: 1.0
Designed for v1.2.4/1.2.5   + Download
Zen Cart® Versions v1.2.5
Date Added 25 Sep 2006
Author DrByte
File Size 17.7 KB
Encapsulated? No
Downloads 426
 

disjunctive-egg