`
文章列表

滚动显示信息

marquee实现滚动 direction属性:设置滚动方式 onmouseout属性:设置当鼠标离开时要做什么 onmouseover属性:设置当鼠标移到上面时要做什么 scrollAmount属性:设置滚动的速度。1为最慢 <marquee direction="up" onmouseout="this.star()" onmouseover="this.stop()" scrollamount="4" style="width:236px;height:133px"</m ...
object.shouwModalDialog(sUrl[,vArguments[,sFeatures]]) vArguments 用于向网页对话框中传递参数,参数类型不像 sFeatures 对话框窗口的设置参数 dialogWidth:设置宽度 dialogHeight:设置高度 DialogTop:设置对话框窗口相对于桌面左上角的位置 DialogLeft:设置对话框窗口相对于桌面左边的位置 Center:yes或1为居中,no或0为不居中 Help:设置对话框窗口是否显示上下文敏感的帮助图标 Scroll:设置对话框窗口是否出现滚动条 Resizable:设置对话框窗口的大少是否可以改变 ...

双向加密

(string strSource)方法用来对比比较重要的信息进行加密 Dencrypting(string source)方法将已加密的信息进行解密 using System.Security.Cryptography; using System.IO; using System.Text; public static string Encrypting(string strSource) { byte[] bytln = System.Text.Encoding.Default.GetBytes(strSource); byte ...
html代码: <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <div> <asp:TextBox ID=&q ...
在使用ASP.NET AJAX控件后,如果想利用Js脚本来输出一些提示对话框,往往会想到利用 Page.Register ClientScriptBlock或者 Page.RegisterStartupScript注册,但是,页面上仍然没有提示信息。利用如下语句即可以解决这个问题:     ScriptManager.RegisterClientScriptBlock(UpdatePanel1,this.GetType(),"click","alert('提示信息')",true); 就可以正常的弹出alert对话框了。     需要注意的是,如果在页面中 ...
<script language="javascript" type="text/javascript"> </scritp> //获取文本框的值 var a=document.form1.text1.value; //获取单选框的值(要分组,组名为zhu1,即把名称都设为zhu1) var xb if(document.form1.zhu1[0].checked;) { xb=document.form1.zhu1[0].value; } else { xb=document.form1.zhu1[1].value; } //获 ...
<html> <script language="javascript"> var i=5; <!-- function clock(){ //document.title="本窗口将在"+i+"秒后自动关闭!"; document.getElementById("s").innerHTML = i; if(i>0) setTimeout("clock();",1000); else //self.close(); ...
<html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>无标题页</title> <script type="text/javascript"> function findobj(n, d) { var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0 && parent.frames.length) { d=parent. ...
<html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>无标题页</title> <script language="javascript" type="text/javascript"> function copycode() { document.getElementById("logPanel").select(); var n=document.getElementBy ...
Global site tag (gtag.js) - Google Analytics