Page 1 of 3 123 LastLast
Results 1 to 10 of 29
  1. #1
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Additional Image Hover - jQuery

    I'm proud to announce the addition of a new mod now available in the contributions section at

    http://www.zen-cart.com/index.php?ma...oducts_id=1967

    Demo is here: http://zencartdelia.com/testing/inde...roducts_id=180

    The product page has been altered to move the additional images underneath the main product image. Then if you hover over those additional images, the main product image changes to that image.

    This mod is very lightweight, easy to install, alters no core files and only is called on the product page. The amount of code added is only a few lines in addition to the base jQuery library.

    I don't expect folks to need any support but this is the place to ask questions.

    If you already have a mod that uses jQuery, you may need to do some special merging.

    Most jQuery mods require additional lines of code in the header. Two jQuery mods have to be merged differently than the usual stuff so that may well be your question.

    Please understand that I'm glad to help you with this mod - but merging it with other jQuery is not part of the support I am offering here.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  2. #2
    Join Date
    Aug 2011
    Posts
    10
    Plugin Contributions
    0

    help question Re: Additional Image Hover - jQuery

    This is nearly what I've been looking for.

    Do you think that you could add an image zoom the same as is used on Magento websites?

    See:

    http://www.sharmin.com.au/index.php/...le-silver.html

    Also add left and right arrows on the product image like on this website ?

    http://www.asos.com/ASOS/ASOS-Crop-T...px?iid=1634460

  3. #3
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Additional Image Hover - jQuery

    No, I've never even seen those two effects before. This is meant to be a simple mod and it will stay that way.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  4. #4
    Join Date
    Aug 2011
    Posts
    10
    Plugin Contributions
    0

    Default Re: Additional Image Hover - jQuery

    Quote Originally Posted by delia View Post
    No, I've never even seen those two effects before. This is meant to be a simple mod and it will stay that way.
    ASOS is one of the most highly rated ecommerce designs in the world.

    The way they handle product images is really user friendly and is it what businesses are now asking for.

    Could you change your mod so that clicking a thumbnail changes the main image rather than a hover?

  5. #5
    Join Date
    Aug 2011
    Posts
    10
    Plugin Contributions
    0

    Default Re: Additional Image Hover - jQuery

    Here is one on a Zen Cart website. Does anyone know how to make it like that?

    http://www.shop.mulberryfundraisers....f-MP810063.htm

  6. #6
    Join Date
    Aug 2011
    Posts
    10
    Plugin Contributions
    0

    Default Re: Additional Image Hover - jQuery

    Here is another example of how to show the product images:

    http://www.houseoffraser.co.uk/Mango...efault,pd.html

    Considering this is used by very highly rated top professional websites, is anyone else interested in doing this, or is it just me?

  7. #7
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Additional Image Hover - jQuery

    Well, either you do it yourself or pay someone to do it if you want it. I provided the free mod as a courtesy to the community. I actually paid for someone to figure out what I wanted. I've made no money off of it. I do have to make a living.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  8. #8
    Join Date
    Mar 2006
    Location
    Tennessee
    Posts
    310
    Plugin Contributions
    0

    Default Re: Additional Image Hover - jQuery

    Zen version 1.3.9h
    Also installed Zen Lightbox and Image Handler 3

    Hover works great, but image is blurry. It's not picking up the larger image, only the thumbnail.

    Any idea what might be wrong?
    I'll finish that project tomorrow, I've made enough mistakes today!

  9. #9
    Join Date
    Apr 2012
    Posts
    15
    Plugin Contributions
    0

    Default Re: Additional Image Hover - jQuery

    I did everything except for uploading these 2 files - product_info_prices.php and additional_images.php

    I can't overwrite them as I have changed a lot in these 2 files. I tried to merge them but the main image doesn't change...

    Below are the cut html code and would you please let me know what I am missing?


    <head>
    <link rel="stylesheet" type="text/css" href="includes/templates/custom/css/product_info.css" />
    <script type="text/javascript" src="includes/templates/custom/jscript/jscript_jquery-1.5.2.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {
    var origsrc = $("#productMainImage a img").attr("src");
    $("#productAdditionalImages .additionalImages a img").hover(
    function () {
    $("#productMainImage a img").attr('src', this.src);
    },
    function () {
    $("#productMainImage a img").attr('src', origsrc);
    }
    );
    });
    </script>
    </head>


    <body>
    <div id="productMainImage">
    <img src="images/dvd/picture_01.jpg" width="558" height="558">
    </div>

    <div id="productAdditionalImages">

    <tr>
    <td>
    <img src="images/dvd/picture_01.jpg" width="135" height="135" style="border:1px solid black" />
    </td>
    </tr>

    <tr>
    <td>
    <img src="images/dvd/picture_02.jpg" width="135" height="135" style="border:1px solid black" />
    </td>
    </tr>

    <tr>
    <td>
    <img src="images/dvd/picture_03.jpg" width="135" height="135" style="border:1px solid black" />
    </td>
    </tr>

    </div>
    </body>

  10. #10
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Additional Image Hover - jQuery

    You're showing me rows and columns but not table tags - just left them out for this post? There's supposed to be a class of .additionalImages and there has to be a link on the image.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v151 Additional images popup and jquery
    By delia in forum General Questions
    Replies: 5
    Last Post: 3 Jul 2014, 01:15 PM
  2. Adding Additional Text to Hover Image
    By grayscale in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 11 Nov 2010, 03:39 PM
  3. disable image handler hover for additional images?
    By etoile03 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 23 Sep 2010, 07:13 AM
  4. Jquery Fancy Thumbnail Hover Effect on Product page
    By ftdc in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Mar 2010, 11:50 PM
  5. Adding JQuery Lightbox to additional images
    By chillout_buddha in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Apr 2009, 02:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg