This example shows a product tour with gallery that is placed into a responsive container with full-page width.
The tour adjusts itself when you resize the browser window. It does not adjust if you would resize the parent container via JavaScript. In this example, you can test how to start the resizing process and synchronize it via JavaScript.
If you resize the AJAX-ZOOM parent container via javascript by
e.g. click on a button, which changes the size with css directly or adds a different CSS class to it,
then you should call jQuery.fn.axZm.resizeStart(3000);
when the resizing starts
and jQuery.fn.axZm.resizeStart(1);
when it definitely ends.
For creating data needed for these tours, please use the product tour editor. It generates XML data that you can then use in this or other AJAX-ZOOM examples with the possibility to insert product tours. Besides examples, which start with 35, the zoom on mouse hover extension supports product tours.