hao_2468

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2009年9月11日

摘要: 媒体播放器的外观界面在网页中,你可以通过相关属性来控制媒体播放器的哪些部分出现,哪些部分不出现。媒体播放器包括如下元素:Video Display Panel:视频显示面板;Video Border:视频边框;Closed Captioning Display Panel;字幕显示面板;Track Bar;搜索栏;Control Bar with Audio and Position Contro... 阅读全文
posted @ 2009-09-11 13:35 hao_2468 阅读(302) 评论(0) 推荐(0)

摘要: 综合型:简易型:标签型: 阅读全文
posted @ 2009-09-11 13:33 hao_2468 阅读(385) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2009-09-11 13:31 hao_2468 阅读(367) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2009-09-11 13:30 hao_2468 阅读(633) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2009-09-11 13:28 hao_2468 阅读(292) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2009-09-11 13:28 hao_2468 阅读(253) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2009-09-11 13:27 hao_2468 阅读(379) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2009-09-11 13:23 hao_2468 阅读(584) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2009-09-11 13:06 hao_2468 阅读(132) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2009-09-11 13:00 hao_2468 阅读(212) 评论(0) 推荐(0)

摘要: ICallbackEventHandler存在于System.Web.UI中,我们先做一个非常简单的例子来试用一下。 第一步,在VS2005中建立一个新的WEB窗件。 第二步,在ASPX中,放上一段HTML代码(如下):1234CallServer567 第三步,然后在中放入一段JavaScript脚本: 1 第四步,在此... 阅读全文
posted @ 2009-09-11 12:56 hao_2468 阅读(143) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2009-09-11 12:55 hao_2468 阅读(1477) 评论(0) 推荐(1)

摘要: .example{color:red ;}/*firefox*/ * html .example{color:blue;}/*ie6*/ *+html .example{color:black;}/*ie7*/ 1、 IE6、IE7、Firefox之间的兼容写法:写法一:IE都能识别*;标准浏览器(如FF)不能识别*;IE6能识别*,但不能识别 !important,IE7能识别*,也能识别!im... 阅读全文
posted @ 2009-09-11 12:54 hao_2468 阅读(156) 评论(0) 推荐(0)

摘要: 这里填写 你要打印的代码 阅读全文
posted @ 2009-09-11 12:50 hao_2468 阅读(164) 评论(0) 推荐(0)

摘要: 语句1. window.parent.frames[1].location.reload();语句2. window.parent.frames.bottom.location.reload();语句3. window.parent.frames["bottom"].location.reload();语句4. window.parent.frames.item(1).location.reloa... 阅读全文
posted @ 2009-09-11 12:02 hao_2468 阅读(137) 评论(0) 推荐(0)

摘要: 网页插入FLASH代码插入透明FLASH代码 1。首先在上传文件的地方上传一个FLASH文件,得到一个网络地址 例如:一个蝴蝶FLASH的网络地址是http://www.heima.com/user/21/41557/freehand/top.swf 2。在首页布告的地方加上如下代码: 其中红色的代码可以替换成您自己的FLASH代码 绿色的代码width="700"代表FLASH宽度为... 阅读全文
posted @ 2009-09-11 12:01 hao_2468 阅读(204) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2009-09-11 11:56 hao_2468 阅读(169) 评论(0) 推荐(0)

摘要: create FUNCTION f_GetMonthDay ( @year int, @month int )RETURNS intAS BEGIN Declare @Ret_V int Declare @tmpDate datetime if @month>12 begin set @year=@year+1 set @month=@month-12 end SET @tmpD... 阅读全文
posted @ 2009-09-11 11:53 hao_2468 阅读(128) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2009-09-11 11:52 hao_2468 阅读(205) 评论(0) 推荐(0)

摘要: /// /// 字符串加密 /// /// 明文 /// 密文 public static string Encrypt(string original) { byte[] buff = System.Text.Encoding.Default.GetByt... 阅读全文
posted @ 2009-09-11 11:51 hao_2468 阅读(180) 评论(0) 推荐(0)

摘要: 匹配双字节字符(包括汉字在内):[^\x00-\xff]匹配空行的正则表达式:\n[\s| ]*\r匹配HTML标记的正则表达式:/.*|/匹配首尾空格的正则表达式:(^\s*)|(\s*$)匹配Email地址的正则表达式:\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*匹配网址URL的正则表达式:http://([\w-]+\.)+[\w-]+(/[\w- ... 阅读全文
posted @ 2009-09-11 11:49 hao_2468 阅读(122) 评论(0) 推荐(0)

摘要: window.history.go(0) window.location.reload() window.location.href=location.href window.location.assign(location.href) document.execCommand('Refresh') window.navigate(location... 阅读全文
posted @ 2009-09-11 11:47 hao_2468 阅读(408) 评论(0) 推荐(0)

摘要: 无标题文档一个DIV第一个文本框 第二个广本框 阅读全文
posted @ 2009-09-11 11:46 hao_2468 阅读(106) 评论(0) 推荐(0)

摘要: string ip = Request.UserHostAddress; string userAgent = Request.UserAgent == null ? "无" : Request.UserAgent; if(Request.ServerVariables["HTTP_UA_CPU"] == null) clientInfos.... 阅读全文
posted @ 2009-09-11 11:39 hao_2468 阅读(156) 评论(0) 推荐(0)

摘要: 页面载入中,请稍等... 阅读全文
posted @ 2009-09-11 11:24 hao_2468 阅读(118) 评论(0) 推荐(0)

摘要: 当前字符数: 阅读全文
posted @ 2009-09-11 11:22 hao_2468 阅读(190) 评论(0) 推荐(0)

摘要: function opennwindow(url,width,height) { xposition=0; yposition=0; if ((parseInt(navigator.appVersion) >= 4 )) { xposition = (screen.width - width) / 2; //窗体居中的x坐标 ypos... 阅读全文
posted @ 2009-09-11 11:14 hao_2468 阅读(186) 评论(0) 推荐(0)

摘要: function checkfilterSqlName() { var checkValue = document.all["txtNum"].value; var arr = new Array("action","add" ,"aggregate","all", "alter" ,"after" ,"and", "as","asc" ,"avg... 阅读全文
posted @ 2009-09-11 11:10 hao_2468 阅读(705) 评论(0) 推荐(0)

摘要: JScript codevar txtID = document.getElementById("textbox_IDno").valuevar x=new ActiveXObject("Microsoft.XMLHTTP");x.open("post","Default.aspx?IDno="+txtID,false);x.send(null);if (x.status == 200){//返回... 阅读全文
posted @ 2009-09-11 11:09 hao_2468 阅读(124) 评论(0) 推荐(0)

摘要: txt.Attributes["onkeypress"] = "javascript:txt_onkeypressed()"; 阅读全文
posted @ 2009-09-11 10:53 hao_2468 阅读(169) 评论(0) 推荐(0)

摘要: private string GenerateCheckCode() { int number; string strCode = string.Empty; //随机种子 //Random random = new Random(); //for (int ... 阅读全文
posted @ 2009-09-11 10:52 hao_2468 阅读(316) 评论(0) 推荐(0)

摘要: 网页特效代码|itFensi.com|---复选框全选、全不选和反选的效果实现C1C2 阅读全文
posted @ 2009-09-11 10:50 hao_2468 阅读(137) 评论(0) 推荐(0)

摘要: function checkDelete() { var ids = document.getElementsByName("mbzj"); if(document.forms[0].selectAll.checked) { for(var i=0; i<ids.length; i++) { ids[i].checked="checked";... 阅读全文
posted @ 2009-09-11 10:49 hao_2468 阅读(127) 评论(0) 推荐(0)

摘要: 1,给图片添加图片水印EmployeeMessage/EditEmployee.aspxsystem.drawing.image image = system.drawing.image.fromfile(path);system.drawing.image copyimage = system.drawing.image.fromfile( server.mappath(".") + "/ale... 阅读全文
posted @ 2009-09-11 10:48 hao_2468 阅读(194) 评论(0) 推荐(0)

摘要: ASP.NET学习之Redirect,Transfer,Execute的区别Response.Redirect此函数常用来将用户重定向到一个登录或错误页面。因为重定向强制请求新页面,结果是浏览器必须到 Web 服务器往返两次,且 Web 服务器必须多处理一个请求。Server.Transfer将执行转移到同一台服务器上的另一个ASP页。这样就避免多余的浏览器Web服务器的往返,从而改善了总体系统性... 阅读全文
posted @ 2009-09-11 10:44 hao_2468 阅读(225) 评论(0) 推荐(0)

摘要: --一。查找重复记录--1。查找全部重复记录Select * From 表 Where 重复字段 In (Select 重复字段 From 表 Group By 重复字段 Having Count(*)>1)--2。过滤重复记录(只显示一条)Select * From HZT Where ID In (Select Max(ID) From HZT Group By Title)-- 注:此处显示... 阅读全文
posted @ 2009-09-11 10:23 hao_2468 阅读(149) 评论(0) 推荐(0)