Kendo ModalView - plugin syntax
by kendomobile
HTML
<script src="http://cdn.kendostatic.com/2013.2.716/js/kendo.all.min.js"></script>
<link rel="stylesheet" href="http://cdn.kendostatic.com/2013.2.716/styles/kendo.mobile.all.min.css">
<!-- Demo created for the book: Building Mobile Applications Using Kendo UI Mobile andASP.NET Web API.
http://www.packtpub.com/building-mobile-applications-with-kendoui-html5/book -->
<div data-role="view" data-init="init">
<a href="#myModalView"
data-rel="modalview"
data-role="button">
Open Modal View
</a>
</div>
<div data-role="modalview"
id="myModalView">
<h2> Modal View... </h2>
</div>
JavaScript
var app = new kendo.mobile.Application(document.body);
function init(){
$('#myModalView').kendoMobileModalView({
height:100,width:100, modal:false
}).data("kendoMobileModalView");
}