123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- <!DOCTYPE html>
- <html>
- <head>
- <link rel="shortcut icon" href="icon.png">
- <link rel="icon" href="icon.png">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <script language="javascript" type="text/javascript">
- window.onload = function (){
- // updateShare(0,0);
- };
- </script>
- <meta charset="utf-8">
- <title>青蛙闯关</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
- <meta name="format-detection" content="telephone=no">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-status-bar-style" content="black">
- <link rel="apple-touch-icon-precomposed" sizes="57x57" href="icon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="icon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="icon.ico">
- <link rel="apple-touch-icon-precomposed" sizes="144x144" href="icon.ico">
- <link rel="icon" href="icon.ico">
- <style>
- BODY, HTML {
- text-align: center;
- -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
- -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
- -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
- -webkit-tap-highlight-color: transparent;
- margin: 0;
- padding: 0;
- font-family: Arial, Verdana, sans-serif;
- font-size: 12px;
- font-weight: normal;
- color: #ccc;
- background-color: #FFFFFF;
- background: black;
- overflow: hidden;
- height: 100%;
- width: 100%;
- bottom: 0;
- }
- #content {
- position: absolute;
- height: 100%;
- width: 100%;
- margin: inherit;
- box-shadow: none;
- bottom: 0;
- }
- .no-mobile {
- display: none;
- }
- .portraitLock {
- width: 100%;
- height: 100%;
- background-color: #000000;
- }
- .rotatePhoneIcon {
- width: 60%;
- margin: 30px auto;
- display: block;
- }
- </style>
- <style>#sg-loadscrn{
- position:fixed; top:0;left:0;width:100%; height:100%; background-color:#fff; z-index:9999;
- }
- #sg-spinner{
- position: absolute; width: 150px; height: 50px; top:50%; left:50%; margin-top:-25px; margin-left:-75px;
- background-image: url('./assets/sg-loader.gif');
- }
- #sg-spinner.no-img{
- background: #ffffff;
- }
- #sg-loadtext{
- position:absolute;
- font-family: sans-serif;
- top:50%; left:50%;
- width: 250px;
- margin-left:-125px;
- margin-top:-125px;
- text-align:center;
- line-height:150%;
- font-size:16px;
- }</style>
- <script type="text/javascript">
- window.gameLangs = ['en', 'de', 'es', 'fr', 'it', 'pt', 'ru', 'tr'];
- window.gameJS = ['softgames_game.js'];
- window.gameOnLoadScript = "startGame()";
- </script>
- <script type="text/javascript" src="./assets/softgames-1.1.js"></script>
- <script type="text/javascript" src="./assets/sg.hooks.js"></script><script>
- function enableWarning() {
- document.getElementById("content").style.display = 'none';
- document.getElementById("content").style.height = '0';
- document.getElementById("portraitLock").style.display = '';
-
- }
- function disableWarning() {
- document.getElementById("content").style.height = '100%';
- document.getElementById("content").style.display = '';
- document.getElementById("portraitLock").style.display = 'none';
- }
- function level(l) {
-
- }
- function clickMoreGames() {
- // Play68.goHome();
- }
- var isMobile = {
- Android: function () {
- return navigator.userAgent.match(/Android/i) ? true : false;
- },
- BlackBerry: function () {
- return navigator.userAgent.match(/BlackBerry/i) ? true : false;
- },
- iOS: function () {
- return navigator.userAgent.match(/iPhone|iPad|iPod/i) ? true : false;
- },
- Opera: function () {
- return navigator.userAgent.match(/Opera Mini/i) ? true : false;
- },
- Windows: function () {
- return navigator.userAgent.match(/IEMobile/i) ? true : false;
- },
- any: function () {
- return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows());
- }
- };
- function startGame() {
-
- if (isMobile.iOS()) {
- document.getElementById("content").style.position = "relative";
- document.getElementById("content").style.overflow = "hidden";
- document.getElementById("portraitLock").style.position = "relative";
- }
- flambe.embed(["targets/main-html.js"], "content");
- }
- </script>
- </head>
- <body>
-
- <div id="portraitLock" class="portraitLock" style="display:none;position: absolute;">
- <img class="rotatePhoneIcon" src="rotate-phone.png">
- </div>
- <div id="content" style="position: absolute;"></div>
- <script>
- if (isMobile.Android()) {
- flambe.embed(["targets/main-html.js"], "content");
- }
- </script>
- </body>
- </html>
|