Loading template/touchIframe.html +5 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ <script type="text/javascript" src="touch/sencha-touch-all.js"></script> <link rel="stylesheet" type="text/css" href="touch/resources/css/sencha-touch.css"> <style id="iframe-css" type="text/css"></style> <script type="text/javascript"> var refreshPage = function(code, options) { try { Loading @@ -14,6 +15,10 @@ if (!options.raw) { code = "Ext.setup({onReady: function(){" + code + "}});"; } if (options.tablet) { // Scale example down to half the size. Default font-size is 114% Ext.get('iframe-css').update("body {font-size: 57% !important}"); } eval(code); } catch (e) { document.body.innerHTML = e; Loading Loading
template/touchIframe.html +5 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,7 @@ <script type="text/javascript" src="touch/sencha-touch-all.js"></script> <link rel="stylesheet" type="text/css" href="touch/resources/css/sencha-touch.css"> <style id="iframe-css" type="text/css"></style> <script type="text/javascript"> var refreshPage = function(code, options) { try { Loading @@ -14,6 +15,10 @@ if (!options.raw) { code = "Ext.setup({onReady: function(){" + code + "}});"; } if (options.tablet) { // Scale example down to half the size. Default font-size is 114% Ext.get('iframe-css').update("body {font-size: 57% !important}"); } eval(code); } catch (e) { document.body.innerHTML = e; Loading