Browse files

change main page

  • Loading branch information...
1 parent bedc072 commit 2bf3b6cb8d97d73f568de9b95826cdc618d70fca ShiChunhua committed Sep 6, 2012
Showing with 181 additions and 129 deletions.
  1. +2 −2 demo/core/Calendar/Example.htm
  2. +50 −127 index.html
  3. +129 −0 index2.html
  4. BIN pageSound/track.png
View
4 demo/core/Calendar/Example.htm
@@ -7,8 +7,8 @@
<META NAME="Author" CONTENT="ShiCH">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
- <script src="js/calendar.js" language="javascript"></script>
- <link rel="stylesheet" href="css/calendar.css" type="text/css"></link>
+ <script src="js/Calendar.js" language="javascript"></script>
+ <link rel="stylesheet" href="css/Calendar.css" type="text/css"></link>
<style type="text/css">
body {
background:#FFFFFF;
View
177 index.html
@@ -1,129 +1,52 @@
+<!-- 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>
- <head>
- <title> halloa </title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="generator" content="editplus">
- <meta name="author" content="">
- <meta name="keywords" content="">
- <meta name="description" content="">
- <link href="halloa.css" rel="stylesheet" type="text/css" />
- </head>
-
- <body scroll=no>
- <div>
- <!-- head begin -->
- <div class="head" id="head">
- <div class="zoomDiv" title="放大" onclick="zoom();"></div>
- <div class="logo"></div>
- <div id="menu" class="menu">
- <div class="itemChecked" order="0" tar="photo.html">首页</div>
- <!--<div class="item" order="1" tar="http://halloa.net/photo.html">Flash相册</div>-->
- <div class="item" order="2" tar="demo/index.htm">Demo</div>
- <div class="item" order="3" tar="feedback.htm">留言</div>
- </div>
- <div class="menuEnd"></div>
- </div>
- <!-- head end -->
-
- <!-- body begin -->
- <div class="body">
- <div class="frameLeft">
- <div class="lLogo"></div>
- <div id="lbody" class="lBody">
- <div class="leftMenu" id="leftMenu" style="display:none;">
- <div class="itemChecked" order="0" tar="photo.html"><table height=100%><tr><td>首<br/>页</td></tr></table></div>
- <!--<div class="item" order="1" tar="http://halloa.net/photo.html">Flash相册</div>-->
- <div class="item" order="2" tar="demo/index.htm"><table height=100%><tr><td>D<br/>e<br/>m<br/>o</td></tr></table></div>
- <div class="item" order="3" tar="feedback.htm"><table height=100%><tr><td>留<br/>言</td></tr></table></div>
- </div>
- <div class="rezoomDiv" title="还原" id="rezoomBT" style="display:none;" onclick="rezoom(this);"></div>
- </div>
- <div class="lFoot"></div>
- </div>
- <div id="frameDiv" class="frame">
- <iframe src="photo.html" width="100%" height="100%" frameborder="0" id="mainFrame"></iframe>
- </div>
- <div class="bFoot"></div>
- </div>
- <!-- body end -->
-
- <!-- foot begin -->
- <div class="foot" id="foot">
- <div class="footLogo"></div>
- <div class="footCopy">
- <span class="tcpIp">Get busy living or get busy dying.</span>
- <br/>
- <span class="copyRight">Copyright © 2006-2009 shichunhua.com All Rights Reserved. Powered by Numb.</span>
- </div>
- </div>
- <!-- foot end -->
-</div>
- <script language="javascript">
- try{document.execCommand("BackgroundImageCache", false, true);}catch(e){};
- $ = function(id){return document.getElementById(id);};
- var menuOrder = 0,menuHO = {};
- function resize(){
- var ld = $("lbody");
- var fd = $("frameDiv");
- var h = document.documentElement.clientHeight;
- //document.body.style.height = h + "px";
- var hh = $("head").style.display == "none" ? 0 : 78;//$("head").clientHeight || $("head").offsetHeight;
- var fh = $("foot").style.display == "none" ? 0 : 74;//$("foot").clientHeight || $("foot").offsetHeight;
- ld.style.height = h - hh - fh - 126 + "px";
- fd.style.height = h - hh - fh + "px";
- }
- window.onresize = resize;
- resize();
-
- function activeMenu(menuID){
- var ds = $(menuID).getElementsByTagName("div");
- menuHO[menuID] = ds[0];
- var ifr = $("mainFrame");
- for(var i=0,iLen=ds.length;i<iLen;i++){
- ds[i].onclick = function(){
- if(this.className == "itemChecked") return;
- this.className = "itemChecked";
- menuHO[this.parentNode.getAttribute("id")].className = "item";
- menuHO[this.parentNode.getAttribute("id")] = this;
-
- var tar = this.getAttribute("tar");
- ifr.setAttribute("src",tar);
- menuOrder = this.getAttribute("order");
- }
- }
- }
- activeMenu("leftMenu");
- activeMenu("menu");
-
- function checkMenu(menuID){
- var ds = $(menuID).getElementsByTagName("div");
- for(var i=0,iLen=ds.length;i<iLen;i++){
- ds[i].className = "item";
- if(ds[i].getAttribute("order") == menuOrder) {
- ds[i].className = "itemChecked";
- menuHO[ds[i].parentNode.getAttribute("id")] = ds[i];
- }
- }
- }
-
- function zoom(){
- $("foot").style.display = "none";
- $("head").style.display = "none";
- $("rezoomBT").style.display = "";
- $("leftMenu").style.display = "";
- resize();
- checkMenu("leftMenu");
- }
- function rezoom(obj){
- $("head").style.display = "";
- $("foot").style.display = "";
- $("leftMenu").style.display = "none";
- obj.style.display = "none";
- resize();
- checkMenu("menu");
- }
- zoom();
- </script>
- </body>
+<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> halloa </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
129 index2.html
@@ -0,0 +1,129 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+ <head>
+ <title> halloa </title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta name="generator" content="editplus">
+ <meta name="author" content="">
+ <meta name="keywords" content="">
+ <meta name="description" content="">
+ <link href="halloa.css" rel="stylesheet" type="text/css" />
+ </head>
+
+ <body scroll=no>
+ <div>
+ <!-- head begin -->
+ <div class="head" id="head">
+ <div class="zoomDiv" title="放大" onclick="zoom();"></div>
+ <div class="logo"></div>
+ <div id="menu" class="menu">
+ <div class="itemChecked" order="0" tar="photo.html">首页</div>
+ <!--<div class="item" order="1" tar="http://halloa.net/photo.html">Flash相册</div>-->
+ <div class="item" order="2" tar="demo/index.htm">Demo</div>
+ <div class="item" order="3" tar="feedback.htm">留言</div>
+ </div>
+ <div class="menuEnd"></div>
+ </div>
+ <!-- head end -->
+
+ <!-- body begin -->
+ <div class="body">
+ <div class="frameLeft">
+ <div class="lLogo"></div>
+ <div id="lbody" class="lBody">
+ <div class="leftMenu" id="leftMenu" style="display:none;">
+ <div class="itemChecked" order="0" tar="photo.html"><table height=100%><tr><td>首<br/>页</td></tr></table></div>
+ <!--<div class="item" order="1" tar="http://halloa.net/photo.html">Flash相册</div>-->
+ <div class="item" order="2" tar="demo/index.htm"><table height=100%><tr><td>D<br/>e<br/>m<br/>o</td></tr></table></div>
+ <div class="item" order="3" tar="feedback.htm"><table height=100%><tr><td>留<br/>言</td></tr></table></div>
+ </div>
+ <div class="rezoomDiv" title="还原" id="rezoomBT" style="display:none;" onclick="rezoom(this);"></div>
+ </div>
+ <div class="lFoot"></div>
+ </div>
+ <div id="frameDiv" class="frame">
+ <iframe src="photo.html" width="100%" height="100%" frameborder="0" id="mainFrame"></iframe>
+ </div>
+ <div class="bFoot"></div>
+ </div>
+ <!-- body end -->
+
+ <!-- foot begin -->
+ <div class="foot" id="foot">
+ <div class="footLogo"></div>
+ <div class="footCopy">
+ <span class="tcpIp">Get busy living or get busy dying.</span>
+ <br/>
+ <span class="copyRight">Copyright © 2006-2009 shichunhua.com All Rights Reserved. Powered by Numb.</span>
+ </div>
+ </div>
+ <!-- foot end -->
+</div>
+ <script language="javascript">
+ try{document.execCommand("BackgroundImageCache", false, true);}catch(e){};
+ $ = function(id){return document.getElementById(id);};
+ var menuOrder = 0,menuHO = {};
+ function resize(){
+ var ld = $("lbody");
+ var fd = $("frameDiv");
+ var h = document.documentElement.clientHeight;
+ //document.body.style.height = h + "px";
+ var hh = $("head").style.display == "none" ? 0 : 78;//$("head").clientHeight || $("head").offsetHeight;
+ var fh = $("foot").style.display == "none" ? 0 : 74;//$("foot").clientHeight || $("foot").offsetHeight;
+ ld.style.height = h - hh - fh - 126 + "px";
+ fd.style.height = h - hh - fh + "px";
+ }
+ window.onresize = resize;
+ resize();
+
+ function activeMenu(menuID){
+ var ds = $(menuID).getElementsByTagName("div");
+ menuHO[menuID] = ds[0];
+ var ifr = $("mainFrame");
+ for(var i=0,iLen=ds.length;i<iLen;i++){
+ ds[i].onclick = function(){
+ if(this.className == "itemChecked") return;
+ this.className = "itemChecked";
+ menuHO[this.parentNode.getAttribute("id")].className = "item";
+ menuHO[this.parentNode.getAttribute("id")] = this;
+
+ var tar = this.getAttribute("tar");
+ ifr.setAttribute("src",tar);
+ menuOrder = this.getAttribute("order");
+ }
+ }
+ }
+ activeMenu("leftMenu");
+ activeMenu("menu");
+
+ function checkMenu(menuID){
+ var ds = $(menuID).getElementsByTagName("div");
+ for(var i=0,iLen=ds.length;i<iLen;i++){
+ ds[i].className = "item";
+ if(ds[i].getAttribute("order") == menuOrder) {
+ ds[i].className = "itemChecked";
+ menuHO[ds[i].parentNode.getAttribute("id")] = ds[i];
+ }
+ }
+ }
+
+ function zoom(){
+ $("foot").style.display = "none";
+ $("head").style.display = "none";
+ $("rezoomBT").style.display = "";
+ $("leftMenu").style.display = "";
+ resize();
+ checkMenu("leftMenu");
+ }
+ function rezoom(obj){
+ $("head").style.display = "";
+ $("foot").style.display = "";
+ $("leftMenu").style.display = "none";
+ obj.style.display = "none";
+ resize();
+ checkMenu("menu");
+ }
+ zoom();
+ </script>
+ </body>
+</html>
View
BIN pageSound/track.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2bf3b6c

Please sign in to comment.