example8.php HOME Overview (index.php) Buy / Download Ask a question
example10.php

AJAX-ZOOM - embed with custom loader - jquery.axZm.loader.js

With this custom JS loader file neither jQuery core nor AJAX-ZOOM JS and CSS files are needed to be loaded before triggering AJAX-ZOOM. jquery.axZm.loader.js loads everything in case it is needed on-the-fly. It might be useful if you cannot edit or do not have access the header in your CMS.

Please note that if you need to place more than one instance of AJAX-ZOOM on the same page, then you will need to use iframes which is also an alternative for quick integration, see example13.php

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.

Loading, please wait...

Embed AJAX-ZOOM with custom loader


	<!-- embed-responsive and embed-responsive-item are bootstrap css classes 
		but you do not need to use bootstrap and could easily reproduce this proportional container without css libraries
	-->
	<div class="embed-responsive" style="padding-bottom: 80%;">
		<div id="axZmPlayerContainer" class="embed-responsive-item" style="max-height: 94vh; max-height: calc(100vh - 50px);">
			Loading, please wait...
		</div>
	</div>
	<script type="text/javascript">
		var ajaxZoom = {};
		ajaxZoom.path = "../axZm/"; // Path to the axZm folder

		// Parameter passed to AJAX-ZOOM which defines what to load into the gallery
		// Description of possible predefined parameters is best viewed in example27.php
		ajaxZoom.parameter = "zoomDir=furniture";

		// "example" parameter defines a set of configuration parameters 
		// which can be found in /axZm/zoomConfigCustom.inc.php
		// you can extend it, change or define your own configuration set
		ajaxZoom.parameter += "&example=11";
		ajaxZoom.divID = "axZmPlayerContainer"; // The id of the Div where ajax-zoom has to be inserted
		ajaxZoom.responsive = true; // Embed responsive
		// other parameters inside /axZm/jquery.axZm.loader.js
	</script>
	<script type="text/javascript" src="../axZm/jquery.axZm.loader.js"></script>
	
Load other examples in slider