Use the product tour editor to create the tours. This example needs the output code of what you have created in the editor.
The cropLoadObj.cropJsonURL of the imageCropLoadFullscreen
extension
can be URL to the JSON file, or it can be the JSON itself.
The imageCropLoadFullscreen
is an extension that manages other AJAX-ZOOM extensions for this effect.
You can find the documentation of the options at the bottom of this page.
If you want to use all the features of the extension, the minimal AJAX-ZOOM core version for this example is 5.3.12.
Press on the blue buttons below to open AJAX-ZOOM with product tour at full page or screen, and different options enabled. Of course, you can apply this extension to any other type of element and not just buttons as in this demo.
1. Open 360 product tour as full screen from a link usingimageCropLoadFullscreen
plugin
If you put the JavaScript files not in the head but into the bottom of the body, make sure that you trigger the
$.imageCropLoadFullscreen
on an element on document load event.
<!-- Include jQuery core into head section if not already present. Do not include it twice! -->
<script type="text/javascript" src="../axZm/plugins/jquery-2.2.4.min.js"></script>
<!-- AJAX-ZOOM core files, needed -->
<link rel="stylesheet" href="../axZm/axZm.css" type="text/css">
<script type="text/javascript" src="../axZm/jquery.axZm.js"></script>
<!-- Include axZm.thumbSlider plugin, needed -->
<link rel="stylesheet" href="../axZm/extensions/axZmThumbSlider/skins/default/jquery.axZm.thumbSlider.css" type="text/css" />
<script type="text/javascript" src="../axZm/extensions/axZmThumbSlider/lib/jquery.mousewheel.min.js"></script>
<script type="text/javascript" src="../axZm/extensions/axZmThumbSlider/lib/jquery.axZm.thumbSlider.js"></script>
<!-- Include jquery.axZm.imageCropLoad.js, needed -->
<script type="text/javascript" src="../axZm/extensions/jquery.axZm.imageCropLoad.js"></script>
<!-- A small function to add title button which will expend to full description, depends -->
<link rel="stylesheet" href="../axZm/extensions/jquery.axZm.expButton.css" type="text/css" />
<script type="text/javascript" src="../axZm/extensions/jquery.axZm.expButton.js"></script>
<!-- Extension to open the product tour at fullscreen -->
<link rel="stylesheet" href="../axZm/extensions/jquery.axZm.imageCropLoadFullscreen.css" type="text/css" />
<script type="text/javascript" src="../axZm/extensions/jquery.axZm.imageCropLoadFullscreen.js"></script>
$.imageCropLoadFullscreen
documentation / options