您目前尚未登陆,请选择【登陆】或【注册
首页->功能源码->Ajax实现无刷新添加和删除数据源码>>Default2.aspx>>代码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:Ajax实现无刷新添加和删除数据源码


当前文件路径:AjaxInsertDelete/Default2.aspx 文件类型
普通视图
		            
1<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %> 2 3<html> 4<head> 5<title>0、1数字下落</title> 6<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> 7</head> 8<body bgcolor=#000000> 9<!--------------------------------> 10<script language="JavaScript"> 11<!-- 12if (document.all){ 13Cols=10; 14Cl=24;//Space's are included so real length is 48! 15Cs=100; 16Ts=10; 17Tc='#008800'; 18Tc1='#00ff00'; 19MnS=5; 20MxS=30; 21I=Cs; 22Sp=new Array();S=new Array();Y=new Array(); 23C=new Array();M=new Array();B=new Array(); 24RC=new Array();E=new Array();Tcc=new Array(0,1); 25document.write("<div id='Container' style='position:absolute;top:0;left:-"+Cs+"'>"); 26document.write("<div style='position:relative'>"); 27for(i=0; i < Cols; i++){ 28S[i]=I+=Cs; 29document.write("<div id='A' style='position:absolute;top:0;font-family:Arial;font-size:" 30+Ts+"px;left:"+S[i]+";width:"+Ts+"px;height:0px;color:"+Tc+";visibility:hidden'></div>"); 31} 32document.write("</div></div>"); 33 34for(j=0; j < Cols; j++){ 35RC[j]=1+Math.round(Math.random()*Cl); 36Y[j]=0; 37Sp[j]=Math.round(MnS+Math.random()*MxS); 38for(i=0; i < RC[j]; i++){ 39 B[i]=''; 40 C[i]=Math.round(Math.random()*1)+' '; 41 M[j]=B[0]+=C[i]; 42 } 43} 44function Cycle(){ 45Container.style.top=window.document.body.scrollTop; 46for (i=0; i < Cols; i++){ 47var r = Math.floor(Math.random()*Tcc.length); 48E[i] = '<font color='+Tc1+'>'+Tcc[r]+'</font>'; 49Y[i]+=Sp[i]; 50 51if (Y[i] > window.document.body.clientHeight){ 52 for(i2=0; i2 < Cols; i2++){ 53 RC[i2]=1+Math.round(Math.random()*Cl); 54 for(i3=0; i3 < RC[i2]; i3++){ 55 B[i3]=''; 56 C[i3]=Math.round(Math.random()*1)+' '; 57 C[Math.floor(Math.random()*i2)]=' '+' '; 58 M[i]=B[0]+=C[i3]; 59 Y[i]=-Ts*M[i].length/1.5; 60 A[i].style.visibility='visible'; 61 } 62 Sp[i]=Math.round(MnS+Math.random()*MxS); 63 } 64} 65A[i].style.top=Y[i]; 66A[i].innerHTML=M[i]+' '+E[i]+' '; 67} 68setTimeout('Cycle()',20) 69} 70Cycle(); 71} 72// --> 73</script> 74<!----------------------------------> 75</body> 76</html> 77 78
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:Ajax实现无刷新添加和删除数据源码

- 邓西网站在线帮助系统V2.0(A..

- XproerBBS3.0.107源码(Access)

- FCKeditor2.4.2编辑器 For A..

- 苹果投票系统源码及毕业论文

- 运动员档案管理源码及论文

- 我的VS2008通讯录项目源码

- DotNetTextBox V3.0 所见即所..

- 开放式实验室预约系统 V1.0

51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号