您的位置: 首页 > IT文章 > 左右漂浮的图片广告代码 左右漂浮的图片广告代码 分类: IT文章 • 2022-02-15 20:23:10 <!-- http://www.xxxsitexxx.com --> <!-- bbs http://bbs.xxxsitexxx.com --> <!--把如下代码加入到<body>区域中--> 用鼠标拖拽图片试试看效果怎么样! <SCRipT LANGUAGE="javaScript"> <!-- Begin function resizeImage(evt,name){ newX=evt.x newY=evt.y eval("document."+name+".width=newX") eval("document."+name+".height=newY") } // End --> </script> <img src="http://www.xxxsitexxx.com/images/468_60.gif" width="468" height="60" name="image" ondrag="resizeImage(event,'image')">