点击按钮就可以实现自动向下或向下滚屏 dn001 2009-06-21 08:22:32 <!-- http://www.knowsky.com --> <!-- bbs http://bbs.knowsky.com --> <!--把如下代码加入到<body>区域中 当然你可以放一些更加规则的图片!--> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin if (navigator.appName == "Microsoft Internet Explorer") { image_directory = "http://www.knowsky.com/img/"; clear = new Image(); clear.src = image_directory + "200406301.jpg"; pic1 = new Image(); pic1.src = image_directory + "200406302.jpg"; pic2 = new Image(); pic2.src = image_directory + "200406303.jpg"; pic3 = new Image(); pic3.src = image_directory + "200406304.jpg"; pic4 = new Image(); pic4.src = image_directory + "200406305.jpg"; } function imagechange(imgName) { if (navigator.appName == "Microsoft Internet Explorer") { document.body.background = eval(imgName + ".src"); } } // End --> </script> <a href="#" onMouseOver="imagechange('pic1');" onMouseOut="imagechange('clear');"><img src="http://img.pc004.com/p/2009-06-21/20090621082232808.gif"></a> <a href="#" onMouseOver="imagechange('pic2');" onMouseOut="imagechange('clear');"><img src="http://www.knowsky.com/images/12090.gif"></a> <a href="#" onMouseOver="imagechange('pic3');" onMouseOut="imagechange('clear');"><img src="http://www.knowsky.com/images/468_60.gif"></a> <a href="#" onMouseOver="imagechange('pic4');" onMouseOut="imagechange('clear');"><img src="http://www.knowsky.com/images/shangye.jpg"></a>