Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var default_video_html = '<html><head><script type="text/javascript">document.addEventListener("touchmove", touchHandler, false);function touchHandler(e) { if(e.touches.length == 1) { e.preventDefault(); } }</script><style type="text/css">div#test { background: #ca0000; height: 495px; width: 680px; }</style></head><body><div id="test" onclick="alert(\'Clicked!\');">Hey</div></body></html>';
- var web_videobox = Ti.UI.createWebView({
- height: 200,
- width: 200,
- backgroundColor: "transparent",
- html: default_video_html
- });
- web_videobox.addEventListener("touchmove", function(e) { });
Add Comment
Please, Sign In to add comment