trying to make html page with 2nd page caller having div inside the content area. somehow i isnt display properly. sharing code here.
for the information it shows it has flash (Don't Worry) it interprete through js file and shows JS player instead flash.
actaully i want to show 100% height and width filling up space between header and footer of the player.
Here is the code of html :
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
- <meta name="apple-mobile-web-app-capable" content="yes" />
- <title>jQuery Mobile Page</title>
- <link rel="stylesheet" href="jquery.mobile-1.0a3.css" />
- <script type="text/javascript" src="jquery-1.5.1.min.js"></script>
- <script type="text/javascript" src="jquery.mobile-1.0a3.min.js"></script>
- <style>
- html { height:100%; }
- body { height:100%; overflow: hidden; margin:0; padding:0; font-family:Arial, Helvetica, sans-serif; font-size:16px; color:#FFFFFF; background-color:#000000; }
- a{ color:#AAAAAA; text-decoration:underline; }
- a:hover{ color:#FFFFFF; text-decoration:underline; }
- </style>
- </head>
- <body>
- <!-- Start of first page -->
- <div data-role="page" id="Home" data-theme="a">
-
- <div data-role="header">
- <h1>Home</h1>
- </div><!-- /header -->
-
- <div data-role="content" data-theme="a">
-
- <div data-role="navbar">
- <ul>
- <li><a href="a.html" class="ui-btn-active">One</a></li>
- <li><a href="b.html">Two</a></li>
- </ul>
- </div><!-- /navbar -->
- <p>Hello world</p>
- <ul data-role="listview" data-inset="true" data-theme="c">
- <li><a href="#Products">Products</a></li>
- <li><a href="#Services">Services</a></li>
- <li><a href="#about">About us</a></li>
- <li><a href="#contact">Contact</a></li>
- </ul>
- </div><!-- /content -->
-
- <div data-role="footer" data-position="fixed" data-theme="a">
- <h4>Testing</h4>
- </div><!-- /footer -->
- </div><!-- /page -->
- <!-- Start of second page -->
- <div data-role="page" id="Products" data-theme="a">
-
- <div data-role="header">
- <h1>Products</h1>
- </div><!-- /header -->
-
- <div data-role="content" >
- <script src="pano.js"></script>
- <div id="pano" style="width:100%; height:100%;">
- <noscript>Javascript not activated</noscript>
- <script>
- embedpano({swf:"krpano.swf", xml:"ERbr.xml", target:"pano"});
- </script>
- </div>
- </div><!-- /content -->
-
- <div data-role="footer" data-position="fixed" data-theme="a">
- <h4>Products</h4>
- </div><!-- /footer -->
- </div><!-- /page -->
- </body>
- </html>
Please guide.