Return to Snippet

Revision: 36697
at November 25, 2010 01:20 by Mosaic


Initial Code
function check(e){
            //alert(window.orientation);
            if(e==0 || e== 180){
                alert('Gira il telefono!');
            }
        }

Initial URL

                                

Initial Description
understanding if  the iphone is in landscape or portrait mode

Initial Title
[JS][iphone]Check orientation

Initial Tags
iphone

Initial Language
JavaScript