focus 专栏

--专注于.NET Web开发技术
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  XHTML

摘要:通过B/S程序中打开C/S程序.类似的应用:点击链接mailto:test@test.com,可以打开outlook程序并且自动将收件地址填上.还有在浏览器中输入一个地址,可以打开QQ聊天对话框.参考地址:http://blog.csdn.net/eroswang/archive/2007/05/02/1594795.aspxhttp://www.blogjava.net/wujun/archiv... 阅读全文

posted @ 2009-02-13 14:03 focus 阅读(955) 评论(0) 推荐(0)

摘要:考虑以下两种做法:方法1<html><head><script>functioncreateElements(){vart1=newDate();for(vari=0;i<10000;i++){varoP=document.createElement("p");oP.innerText="helloworld";document.all("div1").a... 阅读全文

posted @ 2008-02-27 16:52 focus 阅读(680) 评论(0) 推荐(0)

摘要:今天在项目的代码中看到这么一段: 奇怪了,这个登陆按钮没写任何代码触发 form 的提交,但是我们的程序又是怎样正确 work 的? 我想是不是在另外的地方用 js 给这个按钮绑定了 onclick 事件? 于是我把代码拷下来,生成了上面的简化版. 在测试中点击图片后,成功弹出 hello. 查阅资料发现,image button 可以自动触发 form 的 onsubmit 事件... 阅读全文

posted @ 2007-12-06 11:35 focus 阅读(3629) 评论(2) 推荐(0)

摘要:太棒了!!!相见恨晚啊! 官方地址:http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en 阅读全文

posted @ 2007-11-28 14:32 focus 阅读(143) 评论(0) 推荐(0)

摘要: 阅读全文

posted @ 2007-11-26 10:18 focus 阅读(311) 评论(0) 推荐(0)

摘要:指示搜索引擎是否登录 index:允许登录;noindex:不允许登录;nofollow:不允许沿着该页中的链接往下搜索; none:等于“noindex,nofollow".默认为 index. 关键词 为搜索引擎提供的关键字列表. 简介 为搜索引擎提供的网页内容描述. 禁用缓存 网页不保存在缓存中,每次访问都刷新页面. 作者 声明网页的作者. 文档类型 设置... 阅读全文

posted @ 2007-11-05 19:25 focus 阅读(181) 评论(0) 推荐(0)

摘要:加了历史保留功能:没有加的: 阅读全文

posted @ 2007-11-05 14:27 focus 阅读(393) 评论(0) 推荐(0)

摘要:1.模态对话框(用 window.showModalDialog 方法打开的窗口)中,点击链接默认都是在新窗口打开, 即使给 加上 target="_self" 属性依然如此.如果希望在本窗口中打开新网页,需要在模态对话框中 的网页的 之间加上 . 2.如果希望在模态对话框中用 button 来控制模态对话框中页面的地址,注意:用 window.location.href 是没用的.可以在模... 阅读全文

posted @ 2007-11-01 20:37 focus 阅读(187) 评论(0) 推荐(0)

摘要:scroll test ... 阅读全文

posted @ 2007-10-08 22:47 focus 阅读(200) 评论(0) 推荐(0)

摘要:A:均不设置postion,一般嵌套关系 B:仅外div设置relative,一般嵌套关系 C:仅内div设置absolute,文档中为嵌套关系,页面中内div浮起[非float],相对于页面定位,与外div无关。 D:外div设置relative,内div设置absolute,内div浮起来并相对于外div定位 D:外div设置rel... 阅读全文

posted @ 2007-01-15 23:29 focus 阅读(3744) 评论(1) 推荐(0)

摘要:./或~/ 是当前目录../ 是返回上一级目录/ 是返回网站的根目录 阅读全文

posted @ 2007-01-13 00:17 focus 阅读(315) 评论(0) 推荐(0)

摘要:Tab Demo tab1tab2tab3tab4Tab Demo Ver1.2(window.name)Created by forfor 2006-09-12ver1.0 2005-09-09ver1.1 2005-09-14ver1.2 2006-09-12 阅读全文

posted @ 2006-12-06 03:27 focus 阅读(392) 评论(0) 推荐(0)