| TITLEカスタマイズ方法 赤字削除変更不可、青字設定箇所、グレーは必要のない部分(解説)です。
<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD> <TITLE>タイトル浮遊</TITLE> <STYLE type="text/css"> .time{behavior: url(#default#time2);} </STYLE> <?IMPORT namespace="t" implementation="#default#time2"> </HEAD> <BODY id="body">
<TABLE border="0" width="100%" cellpadding="0" cellspacing="0" height="100%"><TR><TD align="center"> <!--画像ファイル指定--> <IMG id="title1" src="title.gif" border="0" style="width:0;height:0;position:relative;top:0;left:0;">
<!--画像を浮遊させる--> <t:animateMotion targetElement="title1" path="m 0 0 c 0 300 0 300 0 0" begin="0" dur="1" repeatCount="2" fill="hold"/>
<!--画像を大きくする--> <t:animate targetElement="title1" attributeName="width" begin="0" from="0" to="1200" dur="3" autoreverse="false" fill="hold" /> <t:animate targetElement="title1" attributeName="height" begin="0" from="0" to="400" dur="3" autoreverse="false" fill="hold" />
<!--画像を最後に少しだけ揺らす--> <t:animate targetElement="title1" attributeName="width" begin="3.1" from="500" to="600" dur=".2" autoreverse="true" fill="hold" repeatcount="2" /> <t:animate targetElement="title1" attributeName="height" begin="3.1" from="160" to="200" dur=".2" autoreverse="true" fill="hold" repeatcount="2" /> <!--画像にマウスが乗ったら背景色をグラデ変化させる--> <t:animateColor targetElement="body" attributeName="backgroundColor" values="black;red;yellow;blue;lime;green;gold;white;" dur="3" autoReverse="true" repeatCount="indefinite" begin="title1.mouseover" end="title1.mouseout" /> </TD></TR></TABLE> </BODY></HTML> |