<!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <style type="text/css"> #body{text-align:center;} #test{width:119px;position:absolute;margin:10px auto;height:114px;background:url(/images/logo.gif) ;border:2px dotted red;} </style> </head> <body> <input type="button" value="~~~让我抖抖吧~~" onclick="nn.start()" /> <input type="button" value="别抖了眼睛晕的很" onclick="nn.stop()" /> </body> </html> [Ctrl+A 全选 注:如需引入外部Js需刷新才能执行] JavaScript技术:js模拟QQ窗口的抖动效果,转载需保留来源! 郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。