上一页 1 ··· 5 6 7 8 9 10 11 下一页
摘要: <html><head> <title>3D圆角</title> <style type="text/css"> .raised { background: transparent; width: 40%; } .raised h1, .raised p { margin: 0 10px; } .raised h1 { font-size: 2em; color: #fff; } .raised p { padding-bottom: 0.5em; } .raised .b1, .raised .b2, .rais 阅读全文
posted @ 2012-04-11 17:21 ajunfly 阅读(576) 评论(0) 推荐(0) 编辑
摘要: webservice 存在新数据时访问数据库,不存在时访问session,减少了对数据库的访问次数 /// <summary> /// 返回开标信息数据集 /// </summary> /// <param name="tenderId"></param> /// <returns></returns> [WebMethod(EnableSession = true)] public List<string> GetInformation(string tenderId) { string 阅读全文
posted @ 2012-03-28 17:32 ajunfly 阅读(196) 评论(0) 推荐(0) 编辑
摘要: JQuery操作iframe父页面与子页面的元素与方法下面简单使用Jquery来操作iframe的一些记录,这个使用纯JS与可以实现。第一、在iframe中查找父页面元素的方法:$('#id', window.parent.document)第二、在父页面中获取iframe中的元素方法:$(this).contents().find("#suggestBox")第三、在iframe中调用父页面中定义的方法和变量:parent.methodparent.value 阅读全文
posted @ 2012-03-26 11:44 ajunfly 阅读(6395) 评论(0) 推荐(0) 编辑
摘要: 先展示图片效果:1:在App_Code下添加类文件,命名为ImageSY 文件内容如下public class ImageSY : IHttpHandler{ public ImageSY() { // //TODO: 在此处添加构造函数逻辑 // } #region IHttpHandler 成员 public bool IsReusable { get { return true; } } public void ProcessRequest(HttpContext context) { //获得请求的物理图片路径 string imagePath = context.Request.Ph 阅读全文
posted @ 2012-03-10 18:28 ajunfly 阅读(838) 评论(0) 推荐(0) 编辑
摘要: <div id="dh_title" style="width: 960px; height: 40px; background: url(dh.gif); text-align: center;"> <ul class="db_c"> <li class="showdh">Menu</li> <li>Menu</li> <li>Menu</li> <li>Menu</li> <li> 阅读全文
posted @ 2012-02-28 16:04 ajunfly 阅读(2382) 评论(0) 推荐(0) 编辑
摘要: http://codylindley.com/jqueryselectors/ 阅读全文
posted @ 2012-02-24 15:03 ajunfly 阅读(205) 评论(0) 推荐(0) 编辑
摘要: oninput="getInputValue(this)" onpropertychange="getInputValue(this)",oninput支持火狐onpropertychange支持IE 阅读全文
posted @ 2012-02-24 14:54 ajunfly 阅读(314) 评论(0) 推荐(0) 编辑
摘要: $(function() { $("#Button1").click(function() { //无参数 $.ajax({ type: "post", //访问WebService使用Post方式请求 contentType: "application/json", //WebService 会返回Json类型 url: "WebService.asmx/HelloWorld", //调用WebService的地址和方法名称组合 data: "{}", //这里是要传递的参数,格式为 data 阅读全文
posted @ 2012-02-23 09:47 ajunfly 阅读(241) 评论(0) 推荐(0) 编辑
摘要: #region MD5算法public string md5(string str, int code){if (code == 32) //32位加密{return System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(str, “MD5″).ToLower();}else //16位MD5加密(取32位加密的9~25字符){return System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(str, 阅读全文
posted @ 2012-01-10 21:06 ajunfly 阅读(1949) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 赋值 表名,控件名,要查询的唯一数据 /// </summary> protected void SetEvaluate(string TableName, string UpName, string Id) { ContentPlaceHolder cph = (ContentPlaceHolder)Page.Master.FindControl("cph_context"); UpdatePanel up = (UpdatePanel)cph.FindControl(UpName); DataTable dt 阅读全文
posted @ 2012-01-09 19:14 ajunfly 阅读(263) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 下一页