LonLatToXY.html 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <!-- saved from url=(0014)about:internet -->
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  4. <!--
  5. Smart developers always View Source.
  6. This application was built using Adobe Flex, an open source framework
  7. for building rich Internet applications that get delivered via the
  8. Flash Player or to desktops via Adobe AIR.
  9. Learn more about Flex at http://flex.org
  10. // -->
  11. <head>
  12. <title>&#x7ecf;&#x7eac;&#x5ea6;&#x8f6c;&#x6362;DEMO</title>
  13. <meta name="google" value="notranslate" />
  14. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  15. <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
  16. the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
  17. the percentage of the height of its parent container, which has to be set explicitly. Fix for
  18. Firefox 3.6 focus border issues. Initially, don't display flashContent div so it won't show
  19. if JavaScript disabled.
  20. -->
  21. <style type="text/css" media="screen">
  22. html, body { height:100%; }
  23. body { margin:0; padding:0; overflow:auto; text-align:center;
  24. background-color: #cccccc; }
  25. object:focus { outline:none; }
  26. #flashContent { display:none; }
  27. </style>
  28. <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
  29. <!-- BEGIN Browser History required section -->
  30. <link rel="stylesheet" type="text/css" href="history/history.css" />
  31. <script type="text/javascript" src="history/history.js"></script>
  32. <!-- END Browser History required section -->
  33. <script type="text/javascript" src="swfobject.js"></script>
  34. <script type="text/javascript">
  35. // For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.
  36. var swfVersionStr = "11.6.0";
  37. // To use express install, set to playerProductInstall.swf, otherwise the empty string.
  38. var xiSwfUrlStr = "playerProductInstall.swf";
  39. var flashvars = {};
  40. var params = {};
  41. params.quality = "high";
  42. params.bgcolor = "#cccccc";
  43. params.allowscriptaccess = "sameDomain";
  44. params.allowfullscreen = "true";
  45. var attributes = {};
  46. attributes.id = "LonLatToXY";
  47. attributes.name = "LonLatToXY";
  48. attributes.align = "middle";
  49. swfobject.embedSWF(
  50. "LonLatToXY.swf", "flashContent",
  51. "100%", "100%",
  52. swfVersionStr, xiSwfUrlStr,
  53. flashvars, params, attributes);
  54. // JavaScript enabled so display the flashContent div in case it is not replaced with a swf object.
  55. swfobject.createCSS("#flashContent", "display:block;text-align:left;");
  56. </script>
  57. <script language="javascript">
  58. function closeWin(){
  59. var mb = myBrowser();
  60. if ("FF" == mb) {
  61. window.location.href="about:blank";
  62. }
  63. else if ("Chrome" == mb) {
  64. window.location.href="about:blank";
  65. }else{
  66. window.opener=null;
  67. window.close();
  68. }
  69. }
  70. function myBrowser(){
  71. var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
  72. var isOpera = userAgent.indexOf("Opera") > -1;
  73. if (isOpera) {
  74. return "Opera"
  75. }; //判断是否Opera浏览器
  76. if (userAgent.indexOf("Firefox") > -1) {
  77. return "FF";
  78. } //判断是否Firefox浏览器
  79. if (userAgent.indexOf("Chrome") > -1){
  80. return "Chrome";
  81. }
  82. if (userAgent.indexOf("Safari") > -1) {
  83. return "Safari";
  84. } //判断是否Safari浏览器
  85. if (userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1 && !isOpera) {
  86. return "IE";
  87. }; //判断是否IE浏览器
  88. }
  89. </script>
  90. </head>
  91. <body>
  92. <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
  93. JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
  94. when JavaScript is disabled.
  95. -->
  96. <div id="flashContent">
  97. <p>
  98. To view this page ensure that Adobe Flash Player version
  99. 11.6.0 or greater is installed.
  100. </p>
  101. <script type="text/javascript">
  102. var pageHost = ((document.location.protocol == "https:") ? "https://" : "http://");
  103. document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='"
  104. + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
  105. </script>
  106. </div>
  107. <noscript>
  108. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="LonLatToXY">
  109. <param name="movie" value="LonLatToXY.swf" />
  110. <param name="quality" value="high" />
  111. <param name="bgcolor" value="#cccccc" />
  112. <param name="allowScriptAccess" value="sameDomain" />
  113. <param name="allowFullScreen" value="true" />
  114. <!--[if !IE]>-->
  115. <object type="application/x-shockwave-flash" data="LonLatToXY.swf" width="100%" height="100%">
  116. <param name="quality" value="high" />
  117. <param name="bgcolor" value="#cccccc" />
  118. <param name="allowScriptAccess" value="sameDomain" />
  119. <param name="allowFullScreen" value="true" />
  120. <!--<![endif]-->
  121. <!--[if gte IE 6]>-->
  122. <p>
  123. Either scripts and active content are not permitted to run or Adobe Flash Player version
  124. 11.6.0 or greater is not installed.
  125. </p>
  126. <!--<![endif]-->
  127. <a href="http://www.adobe.com/go/getflashplayer">
  128. <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
  129. </a>
  130. <!--[if !IE]>-->
  131. </object>
  132. <!--<![endif]-->
  133. </object>
  134. </noscript>
  135. </body>
  136. </html>