共 22 篇文章 |
|
在网络,网页,网站处理方面,很多人都遇到过,想要用某种语言(Python,C#等),去实现一些需求,常见的有这几大类:想要从某静态网页中,提取某些内容想要抓取某些动态网页中的某些内容想要模拟登陆某个网站。关于代码示例演示方面,根据之前的三大类需求,有三大类系列的教程:想要从某静态网页中,提取某些内容Python版。但是,其实,相关... 阅7 转自franklinfj 公众公开 14-04-16 12:27 |
Net动态页面转换。关于在Asp.Net动态页面转静态页面的方法网上比较多。一个Asp.Net动态页面转换的类,该类通过静态函数Changfile()来实现,Asp.Net动态页面到静态页面的转换。/**//// /// Summary description for HtmlProxy /// public class HtmlProxy ...{ public HtmlProxy() ...{ } public static bool ChangeFile(int id) ...{ ... 阅52 转0 评0 公众公开 14-04-16 11:49 |
ASP.NET中将.aspx页面转化成静态Html页面的方法。在开发中我们有时候需要将ASP.NET中的.aspx页面转化成静态的页面进行相关的业务处理,网上搜索了不少方法,有一些方法的确是蛮不错的,也帮助了我,在此谢谢那些网友啦。在这个例子中,我要将服务器端已经传送到客户端的.aspx页面(加班单)转化成Html静态页面,前去盖章审核。 阅497 转4 评0 公众公开 14-04-16 11:41 |
js 页面刷新location.reload和location.replace的区别小结首先介绍两个方法的语法: reload 方法,该方法强迫浏览器刷新当前页面。下面是相关的应用与知识点: window.location.href window.top.location.replace("http://www.jb51.net") top.location.href("http://www.jb51.net") window.navigate ("http://www.jb5... 阅64 转2 评0 公众公开 14-04-01 13:38 |
asp.net 获取网站根目录。MapPath(Request.ServerVariables["PATH_INFO"]) Server.MapPath("/") Server.MapPath("")Server.MapPath(".") Server.MapPath("../") Server.MapPath("..") Page.Request.ApplicationPath.但是HttpContext.Current.Server.... 阅433 转3 评0 公众公开 14-03-31 16:14 |
div+css兼容各种浏览器的方法特别说明的是,此法不支持IE5.5,IE6下也有点问题。和margin相关的属性一共有5个,分别是margin,margin-top,margin-right,margin-bottom,margin-left,margin=margin-top + margin-right + margin-bottom + margin-left,请注意顺序是上右下左。3、margin:10px 20px 30px 40px;表示上10px外边距,右20px外边距... 阅2454 转4 评0 公众公开 14-03-30 10:28 |
阅253 转3 评0 公众公开 14-03-30 10:19 |