Mondomix Developer

My Mondo Mix

JavaScript SDK

You just need to integrate the following script on your web site.
<script src="http://ws.mondomix.net/mymondomix/js/mymondomix.js"></script>
Set your callback function and show the response on your web page.

<script language="javascript">
window.onload = function(){
	MX_mymondomix.init({
		callback : "callBack",
		nbitems  : 4
	});

}



function callBack(response){	
	console.log(response);

	MX_mymondomix.show(response,'mymondomix');
}
</script>
Don't forget to add a layer for response on your page (in this exemple a div with ID = 'mymondomix')
<div id="mymondomix" ></div> 



Demo