- 博客(3)
- 资源 (3)
- 收藏
- 关注
原创 【IE扩展】增加菜单项
作为一个可扩展的系统,IE提供了优良的可扩展性,它的步骤可以很复杂,也可以很简单。这里我就以一个简单的示例来演示一下如何为IE增加一个简单的扩展。首先,我们需要向注册表中添加一个扩展键值,通过这个预置的外部接口,我们可以添加必要的参数和IE进行交互。这里我们要求我们的IE版本起码在IE5之后。生成GUID:可以利用Visual Studio的工具->创建GUID工具创建G
2008-09-26 02:00:00 604
原创 JavaScript拖拽,凑个热闹
很久没来写点什么了,最近看到园子里面做拖拽的人特别多,突然兴起,也就写了这么个拖拽的脚本。刚刚找了找看,发现原来拖拽这种常见的效果已经有了N篇文章M种办法。不过这里还是要分享一下我的这个drag.js。也许哪天您寻找的时候发现您需要的就是这种拖拽。说了这么多,首先阐释一下这个拖拽脚本的实现原理,以备大家在二次开发的时候能够有充分地认识,也便于大家发现这其中可能存在的问题。(本人对HTM
2008-09-23 00:00:00 298
原创 firefox extension
浏览器之争着实给开发者带来了诸多不便利,还好各个浏览器基本都有自己的扩展机制。这里就贴一个js文件,引用了该文件的页面允许对firefox进行部分的扩展,以期待跟IE拥有相似的效果。其中__defineGetter__, __defineSetter__扩展方式详见这里:点击进入。file://__firefox_extension.jsCode highlight
2008-09-22 14:01:00 239
使用增强的计时器测量代码段(Code Section)
2009-02-19
Learning GNU C
2008-09-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人