/Tests/Manual/layoutEphemeralSubviewTest/index.html

http://github.com/cacaodev/cappuccino · HTML · 77 lines · 52 code · 13 blank · 12 comment · 0 complexity · eb341064324a96aed323e012fef6da6a MD5 · raw file

  1. <!DOCTYPE html
  2. PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  5. <!--
  6. index.html
  7. layoutEphemeralSubview Test
  8. Created by Aparajita Fishman on October 8, 2010.
  9. -->
  10. <head>
  11. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7, chrome=1" />
  12. <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
  13. <meta name="apple-mobile-web-app-capable" content="yes" />
  14. <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  15. <link rel="apple-touch-icon" href="Resources/icon.png" />
  16. <link rel="apple-touch-startup-image" href="Resources/default.png" />
  17. <title>layoutEphemeralSubview Test</title>
  18. <script type="text/javascript">
  19. OBJJ_MAIN_FILE = "main.j";
  20. </script>
  21. <script type="text/javascript" src="Frameworks/Objective-J/Objective-J.js" charset="UTF-8"></script>
  22. <style type="text/css">
  23. body{margin:0; padding:0;}
  24. #container {position: absolute; top:50%; left:50%;}
  25. #content {width:800px; text-align:center; margin-left: -400px; height:50px; margin-top:-25px; line-height: 50px;}
  26. #content {font-family: "Helvetica", "Arial", sans-serif; font-size: 18px; color: black; text-shadow: 0px 1px 0px white; }
  27. #loadgraphic {margin-right: 0.2em; margin-bottom:-2px;}
  28. </style>
  29. <!--[if lt IE 7]>
  30. <STYLE type="text/css">
  31. #container { position: relative; top: 50%; }
  32. #content { position: relative;}
  33. </STYLE>
  34. <![endif]-->
  35. </head>
  36. <body style="">
  37. <div id="cappuccino-body">
  38. <div id="loadingcontainer" style="background-color: #eeeeee; overflow:hidden; width:100%; height:100%; position: absolute; top: 0; left: 0;">
  39. <script type="text/javascript">
  40. document.write("<div id='container'><p id='content'>" +
  41. "<img id='loadgraphic' width='16' height='16' src='Resources/spinner.gif' /> " +
  42. "Loading layoutEphemeralSubview Test...</p></div>");
  43. </script>
  44. <noscript>
  45. <div id="container">
  46. <div style="width: 440px; padding: 10px 25px 20px 25px; font-family: sans-serif; background-color: #ffffff; position: relative; left: -245px; top: -120px; text-align: center; -moz-border-radius: 20px; -webkit-border-radius: 20px; color: #555555">
  47. <p style="line-height: 1.4em;">JavaScript is required for this site to work correctly but is either disabled or not supported by your browser.</p>
  48. <p style="font-size:120%; padding:10px;"><a href="http://cappuccino-project.org/noscript">Show me how to enable JavaScript</a></p>
  49. <p style="font-size:80%;">You may want to upgrade to a newer browser while you're at it:</p>
  50. <ul style="margin:0;padding:0; text-align: center; font-size:80%;" >
  51. <li style="display: inline;"><a href="http://www.apple.com/safari/download/">Safari</a></li>
  52. <li style="display: inline;"><a href="http://www.mozilla.com/en-US/firefox/">Firefox</a></li>
  53. <li style="display: inline;"><a href="http://www.google.com/chrome/">Chrome</a></li>
  54. <li style="display: inline;"><a href="http://www.opera.com/download/">Opera</a></li>
  55. <li style="display: inline;"><a href="http://www.microsoft.com/windows/downloads/ie/getitnow.mspx">Internet Explorer</a></li>
  56. </ul>
  57. </div>
  58. </div>
  59. </noscript>
  60. </div>
  61. </div>
  62. </body>
  63. </html>