Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: newdumdum/newdumdum.github.com
base: f6c57041c1
...
head fork: newdumdum/newdumdum.github.com
compare: 54c8cb528f
Checking mergeability… Don't worry, you can still create the pull request.
  • 4 commits
  • 8 files changed
  • 0 commit comments
  • 1 contributor
Commits on Mar 20, 2013
ShiChunhua add mobi 7cc1e55
ShiChunhua change index fd42d6e
ShiChunhua change js judge 3601046
ShiChunhua change index file to judge which page to go.
change index file to judge which page to go.
54c8cb5
View
21 apps/test/index.html
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
+ <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" sizes="72x72" href="images/ipadicon.png" />
+ <link rel="apple-touch-icon" sizes="114x114" href="images/retinaicon.png" />
+
+ <title>DumDum</title>
+ <link rel="stylesheet" type="text/css" href="mob.css" />
+ </head>
+ <body>
+ <audio controls="controls" autoplay="autoplay">
+ <source src="sound/numb.mp3" type="audio/mp3" />
+ Your browser does not support the audio element.
+ </audio>
+ </body>
+</html>
View
51 flash.html
@@ -0,0 +1,51 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
+<title> ^__^ </title>
+</head>
+<body>
+<style type="text/css">
+html,body{
+ margin:0;
+ padding:0;
+ height:100%;
+ border:none;
+ background:#4682B4;
+ overflow:hidden;
+}
+</style>
+<script language="JavaScript">
+<!--
+var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
+// Handle all the FSCommand messages in a Flash movie.
+function photo_DoFSCommand(command, args) {
+ var photoObj = isInternetExplorer ? document.all.photo : document.photo;
+ //
+ // Place your code here.
+ //
+}
+// Hook for Internet Explorer.
+if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
+ document.write('<script language=\"VBScript\"\>\n');
+ document.write('On Error Resume Next\n');
+ document.write('Sub photo_FSCommand(ByVal command, ByVal args)\n');
+ document.write(' Call photo_DoFSCommand(command, args)\n');
+ document.write('End Sub\n');
+ document.write('</script\>\n');
+}
+//-->
+</script>
+<!--url's used in the movie-->
+<!--text used in the movie-->
+<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" id="photo" width="100%" height="100%" align="middle">
+ <param name="allowScriptAccess" value="sameDomain" />
+ <param name="allowFullScreen" value="true" />
+ <param name="movie" value="photo.swf" />
+ <param name="quality" value="high" />
+ <param name="flashvars" value="serverUrl=demo/service/photoInfo.xml&soundUrl=pageSound/jsr.htm" />
+ <param name="bgcolor" value="#4682B4" />
+ <embed flashvars="serverUrl=demo/service/photoInfo.xml&soundUrl=pageSound/jsr.htm" src="photo.swf" quality="high" bgcolor="#4682B4" width="100%" height="100%" swLiveConnect=true id="photo" name="photo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
+</object>
+</body>
+</html>
View
78 index.html
@@ -1,52 +1,26 @@
-<!-- saved from url=(0013)about:internet -->
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
-<title> ^__^ </title>
-</head>
-<body>
-<style type="text/css">
-html,body{
- margin:0;
- padding:0;
- height:100%;
- border:none;
- background:#4682B4;
- overflow:hidden;
-}
-</style>
-<script language="JavaScript">
-<!--
-var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
-// Handle all the FSCommand messages in a Flash movie.
-function photo_DoFSCommand(command, args) {
- var photoObj = isInternetExplorer ? document.all.photo : document.photo;
- //
- // Place your code here.
- //
-}
-// Hook for Internet Explorer.
-if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
- document.write('<script language=\"VBScript\"\>\n');
- document.write('On Error Resume Next\n');
- document.write('Sub photo_FSCommand(ByVal command, ByVal args)\n');
- document.write(' Call photo_DoFSCommand(command, args)\n');
- document.write('End Sub\n');
- document.write('</script\>\n');
-}
-//-->
-</script>
-<!--url's used in the movie-->
-<!--text used in the movie-->
-<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" id="photo" width="100%" height="100%" align="middle">
- <param name="allowScriptAccess" value="sameDomain" />
- <param name="allowFullScreen" value="true" />
- <param name="movie" value="photo.swf" />
- <param name="quality" value="high" />
- <param name="flashvars" value="serverUrl=demo/service/photoInfo.xml&soundUrl=pageSound/jsr.htm" />
- <param name="bgcolor" value="#4682B4" />
- <embed flashvars="serverUrl=demo/service/photoInfo.xml&soundUrl=pageSound/jsr.htm" src="photo.swf" quality="high" bgcolor="#4682B4" width="100%" height="100%" swLiveConnect=true id="photo" name="photo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
-</object>
-</body>
-</html>
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>DumDum</title>
+ <script type="text/javascript">
+ var sUserAgent= navigator.userAgent.toLowerCase();
+ var bIsIpad= sUserAgent.match(/ipad/i) == "ipad";
+ var bIsIphoneOs= sUserAgent.match(/iphone os/i) == "iphone os";
+ var bIsMidp= sUserAgent.match(/midp/i) == "midp";
+ var bIsUc7= sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
+ var bIsUc= sUserAgent.match(/ucweb/i) == "ucweb";
+ var bIsAndroid= sUserAgent.match(/android/i) == "android";
+ var bIsCE= sUserAgent.match(/windows ce/i) == "windows ce";
+ var bIsWM= sUserAgent.match(/windows mobile/i) == "windows mobile";
+
+ if (bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) {
+ window.location.href= '/mobile/';
+ }else{
+ window.location.href = 'flash.html';
+ }
+ </script>
+ </head>
+ <body>
+ </body>
+</html>
View
BIN  mobile/images/ipadicon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  mobile/images/retinaicon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
21 mobile/index.html
@@ -0,0 +1,21 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
+ <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" sizes="72x72" href="images/ipadicon.png" />
+ <link rel="apple-touch-icon" sizes="114x114" href="images/retinaicon.png" />
+
+ <title>DumDum</title>
+ <link rel="stylesheet" type="text/css" href="mob.css" />
+ </head>
+ <body>
+ <audio controls="controls" autoplay="autoplay">
+ <source src="sound/numb.mp3" type="audio/mp3" />
+ Your browser does not support the audio element.
+ </audio>
+ </body>
+</html>
View
5 mobile/mob.css
@@ -0,0 +1,5 @@
+body {
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ background: #000;
+}
View
BIN  mobile/sound/numb.mp3
Binary file not shown

No commit comments for this range

Something went wrong with that request. Please try again.