Posted By

dottDesign on 04/29/10


Tagged

header textmate iphone metatag


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

chrisaiv


iPhone Header


 / Published in: Other
 

  1. <meta name="viewport" content="width = 320" />
  2. <meta name="viewport" content="initial-scale=1, user-scalable=no" />
  3. <script type="application/x-javascript">
  4. addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
  5.  
  6. function hideURLbar(){
  7. window.scrollTo(0,1);
  8. }
  9. </script>

Report this snippet  

You need to login to post a comment.