Last active
December 16, 2015 23:09
-
-
Save cacheleocode/5512145 to your computer and use it in GitHub Desktop.
Adobe Edge Animate iBooks Author HTML Widget prevent defaults
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/> | |
<title>Untitled</title> | |
<script> | |
document.addEventListener('touchstart', function (e) {e.preventDefault();}, false); | |
document.addEventListener('touchmove', function (e) {e.preventDefault();}, false); | |
document.addEventListener('touchend', function (e) {e.preventDefault();}, false); | |
</script> | |
<style type="text/css"> | |
* | |
{ | |
-webkit-touch-callout: none; | |
-webkit-user-select: none; | |
} | |
</style> | |
</head> | |
<body onselectstart="return false;"> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment