学习ie5.5的Element Behaviors笔记
来源:互联网 发布:阿里云活体核验照片 编辑:程序博客网 时间:2024/05/17 14:26
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.
分两种:
<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
- 学习ie5.5的Element Behaviors笔记
- CSS的解决IE5/IE5.5/IE6/FF的兼容性问题
- 【转】 解决IE5/IE5.5/IE6/FF的兼容性问题
- 解决IE5/IE5.5/IE6/FF的兼容性问题
- 学习web标准一:居中兼容IE5.5+/FF/谷歌浏览器的一个页面布局
- IE6/Firefox CSS兼容问题 - 解决IE5/IE5.5/IE6/Firefox的CSS兼容性问题
- IE5,IE5.5,IE6,IE7,IE8,IE9的css兼容性列表
- [css]IE5/IE5.5/IE6/FF兼容性
- CSS声音IE5.5
- Javascript学习笔记(Element对象)
- 启用ie5的java控制台
- Firefox,IE5,IE6,IE5.5等浏览器兼容性解决方法
- Firefox,IE5,IE6,IE5.5等浏览器兼容性解决方法
- extJs 2.0学习笔记(Element.js篇)
- prototype学习笔记(Element篇一)
- prototype学习笔记(Element篇二)
- prototype学习笔记(Element篇三)
- extJs 2.0学习笔记(Element.js篇)
- 记录错误程序
- JAVA应用程序开发 知识总结
- 智能指针的标准之争:Boost vs. Loki
- 设计模式总结
- 新手入门学习:浅析c/c++中的指针
- 学习ie5.5的Element Behaviors笔记
- 北京纪事——搬家记
- Java/WebService 入门与使用
- 在自定义Server Control中捆绑JS文件 Step by Step (.cs文件打包到dll中)
- html 注释 特殊符号和字符
- 收藏几段SQL Server语句和存储过程
- 指针
- windows下堆溢出
- [DOS]图形编程-图形模式初始化