04 2016 档案

摘要:今天访问127.0.0.1 发现 与localhost 不是访问的同一个内容。 于是乎,就向到了另一个方法来调试程序。 1.在IIS 建立站点 并指向程序源。 2.启动vs 调试→附加到进程→找到w3wp.exe进程 附加进去。找不到 就启用所有 3.属性 本机代码打√ 好了,就这么简单。现在 去打 阅读全文
posted @ 2016-04-23 14:37 caijinhao 阅读(294) 评论(0) 推荐(0) 编辑
摘要:获取当前网站的根目录:HttpContext.Current.Request.PhysicalApplicationPath+“Content” 阅读全文
posted @ 2016-04-19 10:11 caijinhao 阅读(119) 评论(0) 推荐(0) 编辑
摘要:引用字体@font-face {font-family: "ico"; src: url('ico.eot'); /* IE9*/ src: url('ico.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('ico.woff' 阅读全文
posted @ 2016-04-17 21:44 caijinhao 阅读(116) 评论(0) 推荐(0) 编辑
摘要:在iframe 页面获取父级页面的 html var obj = window.parent.document.getElementById('modaliframe'); 解决Jquery 的在一个页面的冲突问题 <!-- 引入 jquery 1.8.0 --> <script type="tex 阅读全文
posted @ 2016-04-13 15:34 caijinhao 阅读(121) 评论(0) 推荐(0) 编辑