用户操作
[即时聊天] [发私信] [加为好友]
JohnsonID:51357
20507次访问,排名5825好友0人,关注者0
51357的文章
原创 27 篇
翻译 0 篇
转载 12 篇
评论 12 篇
最近评论
coolboylmk:你就是51357的作者吗?非常喜欢你的作品,51357,longator,中国网爪,都非常棒!
为什么不继续开发longator呢?期待中。。。
怀念当年用56k猫和51357的日子。。。
ScriptBaby:阁下于2000年在delphibbs的一个回复中解释了TWebBrowser内存泄漏的成因和解决办法, 化解了我的一个疑问, 因此我非常感谢您.
我在我的blog中引用了您的回复, 以表示敬意.
http://blog.csdn.net/scriptbaby/archive/2007/05/20/1618486.aspx

btw 从我知道那个问题……
ScriptBaby:阁下是否delphibbs的zhongs?
xuyunlong:看得懂,但有个问题不明白。UDP方式是否还有采用完成端口的必要,如果用,怎么实现呢?UDP下可没有listen和Accept,也返回不了客户端连接的套接口。该把哪个Socket关联到IOCP。
lovefox_zoe:大哥有没有完成端口的例子啊。
文章分类
收藏
相册
音乐
coool link
Ajax基础
C51单片机串行口中断服务程序
cnpack
homepage
STC实现IO_SOFT_SPI接口
UI参考
Visual Studio 2005 Web Application Project Tutorials (with C#)
winx blog
存档
软件项目交易
订阅我的博客
XML聚合  FeedSky
订阅到鲜果
订阅到Google
订阅到抓虾
订阅到BlogLines
订阅到Yahoo
订阅到GouGou
订阅到飞鸽
订阅到Rojo
订阅到newsgator
订阅到netvibes

原创 学习ie5.5的Element Behaviors笔记收藏

新一篇: bmp文件格式 | 旧一篇: TActiveForm遇到的焦点问题,导致Key/MouseWheel事件无法接收

Element Behaviors is HTML component.    be written in script using an HTC file, or it can be implemented with a binary by using ATL technoligic.

分两种:

attached behavior A DHTML behavior that binds asynchronously to standard HTML elements. It is possible to attach DHTML behaviors using the behavior attribute with CSS or by using the addBehavior method in script.
element behavior A feature of Internet Explorer 5.5 that allows DHTML behaviors to be bound synchronously to a custom element. Custom elements bound to element behaviors can be used like any other element in an HTML document, ensuring that the functionality of the behavior is never removed from the element.

 

<PUBLIC:COMPONENT tagName="checkers">
<PUBLIC:PROPERTY NAME="boardWidth" />
<PUBLIC:METHOD name="newGame()" />
<PUBLIC:ATTACH event="onmouseover" onevent="mouseover()" />
</PUBLIC:COMPONENT>

<SCRIPT Language="Javascript">
function newGame(){
// insert code to initialize a new game here
}

function mouseover(){
// insert code to handle mouseover events
}
</SCRIPT>
<BODY>
</BODY>

 

The complete HTML file, which implements the checkers element, is shown below.

<HTML xmlns:games>
<HEAD>
<?IMPORT namespace="games" implementation="checkers.htc" >
</HEAD>
<BODY>
<games:checkers />
</BODY>
</HTML>

 

Lightweight HTC Files

It is often possible to write an HTC file that does not contain any static HTML, lightweight HTC is that the page loads much faster, especially when multiple instances of the same custom element are used.

<PUBLIC:COMPONENT tagName="rollover" lightweight = true >
</PUBLIC:COMPONENT

发表于 @ 2007年08月28日 12:31:00|评论(loading...)|编辑

新一篇: bmp文件格式 | 旧一篇: TActiveForm遇到的焦点问题,导致Key/MouseWheel事件无法接收

评论:没有评论。

发表评论  


当前用户设置只有注册用户才能发表评论。如果你没有登录,请点击登录
Csdn Blog version 3.1a
Copyright © Johnson