本文的特效还是jQuery实现的,一个超级简单的窗帘特效,如果你会CSS的话,可以稍加美化,我相信一定会非常有用的哦。
烈火网提示,本效果中使用了WindowClose.js插件。
查看实例演示:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <HTML xmlns="http://www.w3.org/1999/xhtml"> <HEAD id=Head1></HEAD> <script src="http://www.veryhuo.com/uploads/Common/js/jquery-1.3.2.js" type="text/javascript" ></script> <script src="http://www.veryhuo.com/uploads/Common/js/WindowClose.js" type="text/javascript"></script> <body><form> <input id="File1" type="file" /> </FORM></BODY> </HTML> <script>windowClose(5555, 'lightgreen');//动画时间,颜色(可改变)</script> <br /><center>如不能显示效果,请按Ctrl+F5刷新本页,更多网页代码:<a href='http://www.veryhuo.com/' target='_blank'>http://www.veryhuo.com/</a></center>提示:可修改后代码再运行!