Simple basic mobile template

01 <html>
02 <head>
03 <meta name="apple-mobile-web-app-status-bar-style" content="black">
04 <meta name="format-detection"content="telephone=no">
05 <meta name = "viewport" content = "width = 320, initial-scale = 1.0, user-scalable = no">
06 </head>
07 <body onload="init()">
08 <div id="loading" style="position:absolute; width:100%; text-align:center; top:300px;">
09 <img src="loading.gif" border=0></div>
10 <script>
11 var ld=(document.all);
12 var ns4=document.layers;
13 var ns6=document.getElementById&&!document.all;
14 var ie4=document.all;
15 if (ns4)
16 ld=document.loading;
17 else if (ns6)
18 ld=document.getElementById("loading").style;
19 else if (ie4)
20 ld=document.all.loading.style;
21 function init()
22 {
23 if(ns4){ld.visibility="hidden";}
24 else if (ns6||ie4) ld.display="none";
25 }
26 </script>
27 <!--Your content goes below here-->
28 <!--But above here-->
29 </body>
30 <!--Mobile Page Formatted by Brandon Anzaldi http://www.freebie-zone.co.cc/-->
31 </html>

www.rayis.me

Leave a comment