example8.phpExamples overviewDownloadAsk a question
example10.php

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

Loading, please wait...

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.

Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. 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.

Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

Embed AJAX-ZOOM with custom loader:


<div id="test">This text will be replaced after AJAX-ZOOM is loaded</div>
<script type="text/javascript">
var ajaxZoom = {}; // New empty object
ajaxZoom.path = "../axZm/"; // Path to the axZm folder
ajaxZoom.parameter = "zoomDir=furniture&example=11"; // Your custom parameter
ajaxZoom.divID = "test"; // The ID of the div where ajax-zoom has to be inserted into
ajaxZoom.opt = {}; // No callbacks
</script>
<script type="text/javascript" src="../axZm/jquery.axZm.loader.js"></script>

Comments (0)

Leave a Comment

Name (required):
Email (required):
Website:
Your comment (no html):
Looking for a place to add a personal image? Visit www.gravatar.com to get Your own gravatar, a globally-recognized avatar. After you're all setup, Your personal image will be attached every time you comment.