How to reload MagicZoom when we change the src proper tie of a picture?

  • Question
  • Updated 3 years ago
I want to buy MagicTool to use in my page countier.com.mx, then
Im trying the tool, (look http://www.countier.com.mx/catalogo.php),
But I have a question or problem:
How can I refresh the MagicZoom when I change by javaScript the propertie
"src" of a image, example:
document.getElementById('mediana').src = "Cata/mod"/grande.jpg";

In my webpage you can see in the left side of a picture some text titles
like: saco, blusa01,blusa02, chaleco, pantalon and others) and when you
click on it, you can see that the picture or photo change, but the magicZoom
still shows the same picture.
I try to update the MagicZoom with: MagicZoomPlus.update or MagicZoomPlus.refresh
but I cant change the picture.
Can you help me with this???? there is some way to refresh the plugin in this case?
Photo of ivanhalen77I

ivanhalen77

  • 2 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of oleksiy

oleksiy, Official Rep

  • 27 Posts
  • 1 Reply Like
For the Magic Zoom tool correct methods to call are MagicZoom.update(...) and MagicZoom.refresh()
(not MagicZoomPlus)

Please see instructions here: http://www.magictoolbox.com/magiczoom...
Photo of ivanhalen77I

ivanhalen77

  • 2 Posts
  • 0 Reply Likes
IM using MagicZoomPlus :) then is correct
Photo of Jacket

Jacket, Official Rep

  • 93 Posts
  • 8 Reply Likes
For Magic Zoom Plus, please see these instructions for reloading an image:

www.magictoolbox.com/magiczoomplus/in...