- 特效
-
窗体启动特效
【思路】: 在form的onload中 先使form不可见,然后从内向外,一层一层绘制rectangle ,最后让form可见 【难点】 首先输出效果的rectangle要有个地方显示,main form可不行,因为当绘制rectangle的时候 ,form是不可见的,这里使用了desktop桌面 【代码如下】 1. 加入命名空间 using system.drawing.imaging; using system.runtime.interopservices; 2...
JavaScript实现变色表格的特效
代码如下: <TABLE cellSpacing=0 cellPadding=0 width=200 border=1> <TBODY> <TR> <TD onmouseover="this.style.backgroundColor='#FF9966'" onmouseout="this.style.backgroundColor=''">&am...