OSDN Git Service

Version 0.6.59, js/_old was removed.
[pettanr/clientJs.git] / 0.6.x / logger.html
1 <!DOCTYPE html>\r
2 <html lang="ja">\r
3 <head>\r
4         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r
5                 \r
6         <title>Logger</title>\r
7         \r
8         <meta name="HandheldFriendly" content="true">\r
9         <meta name="mobileoptimized" content="0">\r
10         \r
11         <!-- for ie & chrome frame -->\r
12         <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">\r
13         <meta http-equiv="imagetoolbar" content="no">\r
14         \r
15         <!-- for smartphone -->\r
16         <meta name="format-detection" content="telephone=no">\r
17         <meta name="apple-mobile-web-app-capable">\r
18         \r
19         <!-- maximum-scale=1 初代iPod touch で必要, dynamic-viewport は operaで可能  -->\r
20         <meta name="viewport" id="dynamic-viewport" content="width=device-width,target-densitydpi=device-dpi,initial-scale=1,user-scalable=0,maximum-scale=1">\r
21 \r
22         <style>\r
23                 html, body {\r
24                         padding  : 0;\r
25                         margin   : 0;\r
26                         border   : 0;\r
27                         width    : 100%;\r
28                         height   : 100%;\r
29                         overflow : hidden;\r
30                 }\r
31                 iframe {\r
32                         display     : block;\r
33                         padding     : 0;\r
34                         border      : 0;\r
35                         height      : 100%;\r
36                         margin-left : 240px;\r
37                 }\r
38                 #log {\r
39                         position   : absolute;\r
40                         top        : 0;\r
41                         left       : 0;\r
42                         width      : 240px;\r
43                         height     : 100%;\r
44                         font-size  : 12px;\r
45                         z-index    : 999;\r
46                         color      : #fff;\r
47                         background : #000;\r
48                 }\r
49         </style>\r
50         \r
51         <script>\r
52                 function __onload(){\r
53                         if( document.all ){\r
54                                 document.body.children[1].style.width = ( document.documentElement || document.body ).offsetWidth - 240 + 'px';\r
55                         } else {\r
56                                 document.body.lastChild.style.width  = ( window.innerWidth - 240 ) + 'px';\r
57                                 document.body.lastChild.style.height = window.innerHeight + 'px'; // NetFront3.4\r
58                         };\r
59                 };\r
60         </script>\r
61         <noscript>\r
62         <meta name="viewport" content="width=device-width,initial-scale=1">\r
63         </noscript>\r
64 </head>\r
65 <body onload="__onload()" onresize="__onload()" scroll="no"><div id="log">-- console.log() --</div><iframe src="index.html" height="100%" scrolling="yes" frameborder="0"></body>\r
66 </html>\r
67 <xmp class="cleanup-target" style="display:none"><plaintext style="display:none"><!-- plainetext は nds 用 -->