?? trans.htm
字號(hào):
<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>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -