Quote:
Originally Posted by Philip M
This is not php - it is Javascript. Labrar used the wrong tags.
Code:
<script type = "text/javascript">
document.ontouchstart=document.onmousedown=preventer;
function preventer(e){
if(!e){e=window.event;}
e.preventDefault();
}
</script>
|
This piece of code does the trick in chrome, but in android simulator stops the app buttons and links from responding.
I wonder if it could be a matter of placement of the piece, but as I changed its location no chance resulted in either of the two environments.