温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:Asp.Net许愿墙系统源码
当前文件路径:XuYuanQiang/index.aspx

1<%@ Page language="c#" Inherits="pizi.Index" CodeFile="index.aspx.cs" %> 2
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > 3
<HTML> 4
<HEAD> 5
<title>2006.爱戴.朝朝暮暮</title> 6
<meta http-equiv="Pragma" content="no-cache"> 7
<meta name="vs_defaultClientScript" content="JavaScript"> 8
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> 9
<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.5)"> 10
<META http-equiv="Page-Exit" content="blendTrans(Duration=1)"> 11
<meta content="中美爱梯,代玲,爱戴" name="keyword"> 12
<LINK href="style0930.css" type="text/css" rel="stylesheet"> 13
<style type="text/css"> BODY { MARGIN: 0px 5px; background-image: url(images/IdaiBg.jpg); } 14
TABLE { WORD-BREAK: break-all} 15
.tdb { BACKGROUND-POSITION: right top; BACKGROUND-IMAGE: url(images/love_04.jpg); BACKGROUND-REPEAT: no-repeat } 16
TD { FONT-SIZE: 12px; COLOR: #000000; LINE-HEIGHT: 18px } 17
.white { COLOR: #ffffff; TEXT-DECORATION: none } 18
.feng{ FILTER: alpha(opacity=75); LEFT: 0px; POSITION: absolute; TOP: 0px; Z-INDEX: 1; moz-opacity: .2; text-align: left; background-color:#E84B00; height: 550px; width: 950px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 23px; padding-top: 60px; padding-left: 300px; color: #FFFFFF;} 19
</style> 20
<script language="javascript"> 21
//-- 控制层删除start of script --> 22
function ssdel(){ 23
if (event) 24
{ 25
lObj = event.srcElement ; 26
27
while (lObj && lObj.tagName != "DIV") lObj = lObj.parentElement ; 28
} 29
var id=lObj.id 30
document.getElementById(id).removeNode(true); 31
//document.getElementById(id).outerHTML="";//这样也可以; 32
} 33
34
//-- 控制层删除End of script --> 35
</script> 36
<script> 37
//-- 控制层移动start of script --> 38
var Obj='' 39
var index=10000;//z-index; 40
document.onmouseup=MUp 41
document.onmousemove=MMove 42
43
function MDown(Object){ 44
Obj=Object.id 45
document.all(Obj).setCapture() 46
pX=event.x-document.all(Obj).style.pixelLeft; 47
pY=event.y-document.all(Obj).style.pixelTop; 48
} 49
50
function MMove(){ 51
if(Obj!=''){ 52
document.all(Obj).style.left=event.x-pX; 53
document.all(Obj).style.top=event.y-pY; 54
} 55
} 56
57
function MUp(){ 58
if(Obj!=''){ 59
document.all(Obj).releaseCapture(); 60
Obj=''; 61
} 62
} 63
//-- 控制层移动end of script --> 64
//获得焦点; 65
function getFocus(obj) 66
{ 67
if(obj.style.zIndex!=index) 68
{ 69
index = index + 2; 70
var idx = index; 71
obj.style.zIndex=idx; 72
//obj.nextSibling.style.zIndex=idx-1; 73
} 74
} 75
//查找祝福纸条 76
function Srch(obj) 77
{//alert(obj); 78
if(obj.style.zIndex!=index) 79
{ 80
index = index + 1000; 81
var idx = index; 82
obj.style.zIndex = idx; 83
obj.style.width = 400; 84
obj.style.height = 300; 85
obj.style.left = 200; 86
obj.style.top = 200; 87
} 88
} 89
function ChkSrch() 90
{ 91
if (SrchFrm.srchId.value == "") 92
{alert("\n\n\n你总得告诉我查找哪一个吧!!\n\n\n"); 93
SrchFrm.srchId.focus(); 94
return false; } 95
return true; 96
} 97
98
function checkNum(obj){ 99
var checkOK = "0123456789 "; 100
var checkStr = obj.value; 101
var allValid = true; 102
for (i = 0; i < checkStr.length; i++){ 103
ch = checkStr.charAt(i); 104
for (j = 0; j < checkOK.length; j++) 105
if (ch == checkOK.charAt(j)) 106
break; 107
if (j == checkOK.length){ 108
allValid = false; 109
break; 110
} 111
} 112
if (!allValid){ 113
alert("只能由数字组成!"); 114
obj.select(); 115
return (false); 116
} 117
return (true); 118
} 119
</script> 120
</HEAD> 121
<body> 122
<OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" 123
height="350" width="100%" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"> 124
<PARAM NAME="_cx" VALUE="25003"> 125
<PARAM NAME="_cy" VALUE="9260"> 126
<PARAM NAME="FlashVars" VALUE=""> 127
<PARAM NAME="Movie" VALUE="images/snow.swf"> 128
<PARAM NAME="Src" VALUE="images/snow.swf"> 129
<PARAM NAME="WMode" VALUE="Transparent"> 130
<PARAM NAME="Play" VALUE="-1"> 131
<PARAM NAME="Loop" VALUE="-1"> 132
<PARAM NAME="Quality" VALUE="High"> 133
<PARAM NAME="SAlign" VALUE=""> 134
<PARAM NAME="Menu" VALUE="-1"> 135
<PARAM NAME="Base" VALUE=""> 136
<PARAM NAME="AllowScriptAccess" VALUE=""> 137
<PARAM NAME="Scale" VALUE="ShowAll"> 138
<PARAM NAME="DeviceFont" VALUE="0"> 139
<PARAM NAME="EmbedMovie" VALUE="0"> 140
<PARAM NAME="BGColor" VALUE=""> 141
<PARAM NAME="SWRemote" VALUE=""> 142
<PARAM NAME="MovieData" VALUE=""> 143
<PARAM NAME="SeamlessTabbing" VALUE="1"> 144
<PARAM NAME="Profile" VALUE="0"> 145
<PARAM NAME="ProfileAddress" VALUE=""> 146
<PARAM NAME="ProfilePort" VALUE="0"> 147
<embed src="images/snow.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" 148
type="application/x-shockwave-flash" width="100%" height="350" wmode="transparent"> 149
</embed> 150
</OBJECT> 151
<form id="Form1" method="post" runat="server"> 152
<%=str%> 153
<%=stru%> 154
</form> 155
</body> 156
</HTML> 157





TABLE

}