你的位置:
主页
>>
图像特效
用一些变色的方块挡住图片,可以用鼠标来使图片一块块地显示
加入如下代码到body区域
<DIV id=person> <P align=center><IMG height=240 src="1.jpg" width=315> </P></DIV> <DIV id=colortables style="HEIGHT: 240px; LEFT: 231px; POSITION: absolute; TOP: 115px; WIDTH: 315px"> <TABLE border=0 cellPadding=0 cellSpacing=0 height=240 width=315> <TBODY> <TR> <TD bgColor=#ff0000 onmouseover="show('FF0000')"></TD> <TD bgColor=#ff3333 onmouseover="show('FF3333')"></TD> <TD bgColor=#ff5555 onmouseover="show('FF5555')"></TD> <TD bgColor=#ff7777 onmouseover="show('FF7777')"></TD> <TD bgColor=#ffaaaa onmouseover="show('FFaaaa')"></TD> <TD bgColor=#ffcccc onmouseover="show('FFcccc')"></TD></TR> <TR> <TD bgColor=#ff00ff onmouseover="show('FF00ff')"></TD> <TD bgColor=#ff33ff onmouseover="show('FF33ff')"></TD> <TD bgColor=#ff55ff onmouseover="show('FF55ff')"></TD> <TD bgColor=#ff88ff onmouseover="show('FF88ff')"></TD> <TD bgColor=#ffaaff onmouseover="show('FFaaff')"></TD> <TD bgColor=#ffccff onmouseover="show('FFccff')"></TD></TR> <TR> <TD bgColor=#0011ff onmouseover="show('0011FF')"></TD> <TD bgColor=#1133ff onmouseover="show('1133FF')"></TD> <TD bgColor=#2255ff onmouseover="show('2255FF')"></TD> <TD bgColor=#3377ff onmouseover="show('3377FF')"></TD> <TD bgColor=#44aaff onmouseover="show('44aaFF')"></TD> <TD bgColor=#55ddff onmouseover="show('55ddFF')"></TD></TR> <TR> <TD bgColor=#22ff22 onmouseover="show('22ff22')"></TD> <TD bgColor=#55ff55 onmouseover="show('55ff55')"></TD> <TD bgColor=#77ff77 onmouseover="show('77ff77')"></TD> <TD bgColor=#aaffaa onmouseover="show('aaffaa')"></TD> <TD bgColor=#ccffcc onmouseover="show('ccffcc')"></TD> <TD bgColor=#ddffdd onmouseover="show('ddffdd')"></TD></TR></TBODY></TABLE></DIV> <DIV id=redirection style="LEFT: 420px; POSITION: absolute; TEXT-ALIGN: center; TOP: 10px; WIDTH: 180px; text-valign: center"></DIV> <SCRIPT language=javaScript> <!-- Beginning of JavaScript - function positionimage() { if (document.all) { document.all.person.style.posTop=10 document.all.person.style.posLeft=80 document.all.person.style.visibility="VISIBLE" } } function show(thiscolor) { if(document.all) {document.all.colortables.style.filter="chroma(color="+thiscolor+")"} } // - End of JavaScript - --> </SCRIPT>