⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 trans.htm

📁 CSS样式表的入门教程,内容详尽,值得参考,CSS网页特效
💻 HTM
字号:
<html>
<head>
<script language="JavaScript">
function startTrans()
{
window.defaultStatus=SampleID.filters.blendTrans.status;
SampleID.filters.blendTrans.Apply();
SampleID.src = "ss01093.jpg";
SampleID.filters.blendTrans.Play();
}
function finishTrans()
{
if (SampleID.filters.blendTrans.Status == 0) alert("滤镜展示完毕");
}
function doTrans()
{
theImg.filters.item(0).Apply();
theImg.src="ss01093.jpg";
theImg.filters.item(0).Play();
}
</script></head>

<body bgcolor="#FFFFFF">

<img ID="SampleID" src="ss01094.jpg"
style=" filter:blendTrans(duration=2)" onclick="startTrans()"
onFilterChange="finishTrans()" width="225" height="180">

<img ID="theImg" src="ss01094.jpg"
style="filter:revealTrans(Duration=3, Transition=23)" onClick="doTrans()"
onFilterChange="finishTrans()" width="225" height="180">

</body>
</html> 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -