上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 24 下一页
摘要: using System;using System.Collections.Generic;using System.Text;using System.Security.Cryptography;using System.IO;namespace DAL{ public sealed class MD5Hashing { private static MD5 md5 = MD5.Create(); private static string sKey = GenerateKey(); private MD5Hashing() { } /**/ /// <summary> /// 阅读全文
posted @ 2011-04-01 08:53 xfyn 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 事件源对象event.srcElement.tagNameevent.srcElement.type捕获释放event.srcElement.setCapture();event.srcElement.releaseCapture();事件按键event.keyCodeevent.shiftKeyevent.altKeyevent.ctrlKey事件返回值event.returnValue鼠标位置event.xevent.y窗体活动元素document.activeElement绑定事件document.captureEvents(Event.KEYDOWN);访问窗体元素document.a 阅读全文
posted @ 2011-03-31 16:49 xfyn 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 在链接的后面加 /64m或 /64memo 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" cont 阅读全文
posted @ 2011-03-31 16:13 xfyn 阅读(242) 评论(0) 推荐(0) 编辑
摘要: Window对象是客户端javascript最高层对象之一,只要打开浏览器窗口,不管该窗口中是否有打开的网页,当遇到BODY、FRAMESET或FRAME元素时,都会自动建立window对象的实例。另外,该对象的实例也可由window.open()方法创建。由于window对象是其它大部分对象的共同祖先,在调用window对象的方法和属性时,可以省略window对象的引用。例如:window.document.write()可以简写成: document.write()。 在窗口中觖发本窗口对象的任何方法和属性时可以省去窗口的实例名称。例如给当前的myWin窗口设置status属性时,可以只用 阅读全文
posted @ 2011-03-31 13:07 xfyn 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 前进一页onclick="javascript:window.history.forward()"后退一页onclick="javascript:window.history.back();"前进/后退 n页n为正是前进,负数是后退onclick="javascript:window.history.go(n);"刷新onclick="window.location.reload();" 阅读全文
posted @ 2011-03-31 11:55 xfyn 阅读(411) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Data; 3 using System.Data.SqlClient; 4 5 using System.Collections; 6 7 namespace DAL 8 { 9 /// <summary> 10 /// DataBase 的摘要说明。 11 /// </summary> 12 public class DataBase 13 { 14 private SqlConnection conn; 15 private string _connString = null; 16 public st 阅读全文
posted @ 2011-03-31 11:02 xfyn 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Web; 5 using System.Data; 6 using System.Web.UI.WebControls; 7 /// <summary> 8 ///GridViewMergeCell 合并GridView liyang 20090916 9 /// </summary> 10 public class GridViewMergeCell 11 { 12 public GridVie 阅读全文
posted @ 2011-03-31 09:35 xfyn 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 1 <html> 2 <head> 3 <script type="text/javascript" src="/jquery/jquery.js"></script> 4 <script type="text/javascript"> 5 $(document).ready(function(){ 6 $("button").click(function(){ 7 $("img").attr("width",fun 阅读全文
posted @ 2011-03-30 08:46 xfyn 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 一.HTML 元素默认是静态定位,且无法移动。如需使元素可以移动,请把 CSS 的 position 设置为 relative 或 absolute。二.由于 JavaScript 语句(指令)是逐一执行的 - 按照次序,动画之后的语句可能会产生错误或页面冲突,因为动画还没有完成。为了避免这个情况,您可以以参数的形式添加 Callback 函数。jQuery Callback 函数当动画 100% 完成后,即调用 Callback 函数。典型的语法:$(selector).hide(speed,callback)callback参数是一个在 hide 操作完成后被执行的函数。错误(没有 cal 阅读全文
posted @ 2011-03-29 16:46 xfyn 阅读(132) 评论(0) 推荐(0) 编辑
摘要: jQuery 名称冲突jQuery 使用 $ 符号作为 jQuery 的简介方式。某些其他 JavaScript 库中的函数(比如 Prototype)同样使用 $ 符号。jQuery 使用名为 noConflict() 的方法来解决该问题。var jq=jQuery.noConflict(),帮助您使用自己的名称(比如 jq)来代替 $ 符号。示例:<html><head><script type="text/javascript" src="/jquery/jquery.js"></script>< 阅读全文
posted @ 2011-03-29 16:12 xfyn 阅读(414) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 24 下一页