Results 1 to 3 of 3

Thread: Hover zoom for dynamic content.....please help...

  1. #1
    Join Date
    May 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Hover zoom for dynamic content.....please help...

    1) Script Title: Image w/ description tooltip

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ooltip_dev.htm

    3) Describe problem: I am not even sure that this is the right script for what I would like to do. (pretty new to this) I simpley want a larger image (zoom) on mouse over of images I have on the page. The images are created dynamicly through joomla/virtuemart.

    The original php:
    <div class="browseProductContainer" align=center>

    <a style="font-size:12px; font-weight:bold;"><?php echo $product_name ?></a>

    <div style="width:90%" align=center>
    <a href="<?php echo $product_flypage ?>" title="<?php echo $product_name ?>">
    <?php echo ps_product::image_tag( $product_thumb_image, 'class="browseProductImage" border="0" title="'.$product_name.'" alt="'.$product_name .'"' ) ?>
    </a>


    </div>
    <p align=center><?php echo $product_price ?></p>

    <div style="float:left;width:90%;margin-top: 3px;">
    <?php echo $product_rating ?>
    </div>
    <div style="float:left;width:90%;margin-top: 3px;"><?php echo $form_addtocart ?>
    </div>
    <br style="clear:both;" />
    <br>
    <br>
    <br>
    </div>

    I added the script to the top and added onmouseover="doTooltip(event,0)" onmouseout="hideTip()" to the <a href="<?php echo $product_flypage ?>" title="<?php echo $product_name ?>"> and in the script I added
    messages[0] = new Array('echo $product_full_image','<?php echo ps_product::image_tag( $product_full_image, 'class="browseProductImage" border="0" "' ) ?>',"#FFFFFF");

    This made the effect work perfectly except it only pulls the "full image of the last image on that page for every image on the page. See here http://www.icarpetking.com/index.php...id=1&Itemid=40

    Any help would be greatly appreciated. Is this the right script? Is there anyway to get this to work?

    Thank you,

    matt

  2. #2
    Join Date
    Jan 2008
    Location
    High Wycombe, UK
    Posts
    6
    Thanks
    0
    Thanked 1 Time in 1 Post

    Thumbs up Zooming images

    Matt,

    That's a tooltip script - it won't zoom an image.

    You need an image zoom script like Magic Zoom.

    There is a Joomla/Virtuemart module, so you don't have to do any coding of templates:

    http://www.magictoolbox.com/magiczoom_virtuemart/

    You get free support to help you get it working on your website if you need.

    TS

  3. The Following User Says Thank You to thesource For This Useful Post:

    mattfrench (05-24-2008)

  4. #3
    Join Date
    May 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thank you for the reply, but I already tried magiczoom. It unfortunately does not work on the browse pages of Vituemart for Joomla 1.5.

    I really need a solution and need it quick.

    This script would work as I do not necessarily need a zoom of the thumbnail but rather a load of the "product_full_image" .

    Thank you again for the attempt.

    matt

Bookmarks

Posting Permissions

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