Iframe zoom code example

Example 1: iframe zoom

<div style="width: 600px; background-color: red; height: 250px;">
<iframe style="transform-origin: 0px 0px 0px; transform: scale(0.5); width: 1200px; height: 500px;" src="https://kunden.lan4play.de/members.php?op=membersGserver" name="iFrame" scrolling="no"></iframe>
</div>

Example 2: iframe content zoom in and zoom out jquery

var anOtherOnZoomFunction = function(info) {
	console.log(info);
};

$.axZm.userFunc = $.fn.axZm.mergeCallBackObj($.axZm.userFunc, {
	onZoom: anOtherOnZoomFunction
});

// or like this when AJAX-ZOOM is already initialized:
$.fn.axZm.addCallback('onZoom', anOtherOnZoomFunction);

Tags:

Misc Example