怎样让body里的内容抖动 为什么是BODY里的文字,你是说整个页面吧 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <script language="JavaScript">function surfto(form) {var myindex=form.select1.selectedIndexif (form.select1.options[myindex].value != null) {parent.main.location.href=form.select1.options[myindex].value;} } //这段JS代码意为当前页面的浏览器地震//</script><script language="JavaScript1.2">function shake(n) {if (window.top.moveBy) {for (i = 10; i > 0; i--) {for (j = n; j > 0; j--) {window.top.moveBy(0,i);window.top.moveBy(i,0);window.top.moveBy(0,-i);window.top.moveBy(-i,0);} } }//alert("呀~~地震啦!没~~吓坏吧?^_*"); //这里设定地震后弹出的嬉戏性文字(据需随意)//}</script><script language="JavaScript">function moyamoya(htmlfile) {parent.main.location.href=htmlfile;}function String.prototype.checkStrBy(){ var s = ["\\","\"","\'","\?"]; for (var i=0; i<s.length; i++){ if (this.indexOf(s[i]) != -1) return true;} return false;}</script><a onclick="shake(10); return false" href="#">点我看看呀</a> <script>function dither(){window.status=document.all.news.style.top;document.all.news.style.top=document.all.news.style.top=="60px"?"80px":"60px";document.all.news.style.left=document.all.news.style.left=="100px"?"120px":"100px";mydither=setInterval(dither,1000);}</script><div id=news style="position:absolute;top:60;left:100" onmouseover=dither() onmouseout=clearInterval(mydither)><p>our new headers 1<p>our new headers 2<p>our new headers 3<p>our new headers 4<p>our new headers 5<p>our new headers 6<p>our new headers 7<p>our new headers 8<p>our new headers 9</div> 个人认为:要body里的文字或者图片(A)抖动,应放在<table><tr><td id="a1"></td><td id="a2">A</td>可循环动态改变a1的宽度,或者是放在绝对位置的DIV中,也是不停改变DIV的left,top js字符串分割求教。 怎么判断客户端是否安装了flash播放器 这个如何实现? 怎样去掉字符串中的换行符? 给分问题。 关于框架内容保存为文本:( 关于z-index的问题? 请教,怎样用正则表达式去掉文档所有html标记,asp标记,注释标记? document.layers在netscape下的问题 <a href=rtsp://real.cctv.com.cn/songs/hjgq/zoujingxinshidai.rm>走进新时代</a> 用IE5的朋友能否帮帮忙? Netscape里面如何控制CSS属性display?
//这段JS代码意为当前页面的浏览器地震//
</script><script language="JavaScript1.2">function shake(n) {if (window.top.moveBy) {for (i = 10; i > 0; i--) {for (j = n; j > 0; j--) {window.top.moveBy(0,i);window.top.moveBy(i,0);window.top.moveBy(0,-i);window.top.moveBy(-i,0);} } }//alert("呀~~地震啦!没~~吓坏吧?^_*"); //这里设定地震后弹出的嬉戏性文字(据需随意)//}</script><script language="JavaScript">
function moyamoya(htmlfile) {parent.main.location.href=htmlfile;}
function String.prototype.checkStrBy()
{
var s = ["\\","\"","\'","\?"];
for (var i=0; i<s.length; i++){
if (this.indexOf(s[i]) != -1) return true;}
return false;
}
</script><a onclick="shake(10); return false" href="#">点我看看呀</a>
function dither()
{
window.status=document.all.news.style.top;
document.all.news.style.top=document.all.news.style.top=="60px"?"80px":"60px";
document.all.news.style.left=document.all.news.style.left=="100px"?"120px":"100px";
mydither=setInterval(dither,1000);
}
</script>
<div id=news style="position:absolute;top:60;left:100" onmouseover=dither() onmouseout=clearInterval(mydither)>
<p>our new headers 1
<p>our new headers 2
<p>our new headers 3
<p>our new headers 4
<p>our new headers 5
<p>our new headers 6
<p>our new headers 7
<p>our new headers 8
<p>our new headers 9
</div>
应放在<table><tr><td id="a1"></td><td id="a2">A</td>
可循环动态改变a1的宽度,或者是放在绝对位置的DIV中,也是不停改变DIV的left,top