window.status Javascript [英] window.status Javascript
问题描述
嘿伙计们,
i一直在搜索......似乎下面的代码是
适用于单页。
< BODY BGCOLOR = white onMouseOver =" window.status =''something''; return
true">
但是......我有大量的页面,而不是去每个页面和
添加这个代码,我想知道上面的代码是否可以用
来完成我可以放入我的HEAD的javascript ...例如< SCRIPT> ....< / SCRIPT>
在我的数百页中,我让他们指向一个页面,其中有一个
的脚本列表。 ..并且想在这里添加该脚本。
hey guys,
i have been searching around... and it seems that the below code is
good for a SINGLE PAGE.
<BODY BGCOLOR=white onMouseOver="window.status='' something '';return
true">
but... i have TONS of pages, and instead of going to each page and
adding this code, i was wondering if the above code could be done in a
javascript that i can put in my HEAD... such as <SCRIPT> ....</SCRIPT>
in my hundreds of pages, I have them pointing to one page that has a
list of scripts.... and would like to add that script here.
推荐答案
Steve hu kiteb:
Steve hu kiteb:
嘿伙计们,
我一直在寻找......似乎下面的代码对于单页来说是好的。
< BODY BGCOLOR = white onMouseOver =" window.status =''something'';返回
true">
但是...我有大量的页面,而不是去每个页面和
添加此代码,我想知道上面的代码是否可以在我可以放入HEAD的
javascript中完成...例如< SCRIPT> ....< / SCRIPT>
在我的数百页中,我让他们指向一个有一个脚本列表的页面....并且想要添加脚本在这里。
hey guys,
i have been searching around... and it seems that the below code is
good for a SINGLE PAGE.
<BODY BGCOLOR=white onMouseOver="window.status='' something '';return
true">
but... i have TONS of pages, and instead of going to each page and
adding this code, i was wondering if the above code could be done in a
javascript that i can put in my HEAD... such as <SCRIPT> ....</SCRIPT>
in my hundreds of pages, I have them pointing to one page that has a
list of scripts.... and would like to add that script here.
这种事情可以在javascript中完成,但在样式表中可以更有效地完成
。< br $> b $ b -
-
Fabian
经常长时间访问我的网站!
< a rel =nofollowhref =http://www.lajzar.co.uktarget =_ blank> http://www.lajzar.co.uk
This kind of thing can be done in javascript, but would be done far more
efficiently in a style sheet.
--
--
Fabian
Visit my website often and for long periods!
http://www.lajzar.co.uk
Steve于2003年11月15日在comp.lang.javascript中写道 :
Steve wrote on 15 nov 2003 in comp.lang.javascript:
我一直在寻找..似乎下面的代码对于单页来说是好的。
< BODY BGCOLOR = white onMouseOver =" window.status =''something''; return
true">
返回true没有任何意义,可以说。
但是...我有很多页面,而不是去每个页面和
添加此代码,我想知道上面的代码是否可以在我可以放入我的HEAD的
javascript中完成...例如< SCRIPT> ....< / SCRIPT>
i have been searching around... and it seems that the below code is
good for a SINGLE PAGE.
<BODY BGCOLOR=white onMouseOver="window.status='' something '';return
true">
The return true has no purpose, methinks.
but... i have TONS of pages, and instead of going to each page and
adding this code, i was wondering if the above code could be done in a
javascript that i can put in my HEAD... such as <SCRIPT> ....</SCRIPT>
虽然你可以这样做:
< SCRIPT>
document.body.onclick = function(){window.status =''so mething''}
< / SCRIPT>
你必须在< body>之后写下它声明。
=============================
>
为什么不简单地在标题中这样做:
< SCRIPT>
window.status =''其他''
< / SCRIPT>
-
Evertjan。
荷兰。
(请将x''es更改为我的电子邮件地址中的点数)
While you can do this:
<SCRIPT>
document.body.onclick=function(){window.status=''so mething''}
</SCRIPT>
you have to write it AFTER the <body> declaration.
=============================
why not simply do this in the header:
<SCRIPT>
window.status=''something else''
</SCRIPT>
--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)
Evertjan。 <前************** @ interxnl.net>在消息中写道
news:Xn ******************** @ 194.109.133.29 ...
"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29...
史蒂夫写于2003年11月15日的comp.lang.javascript :
Steve wrote on 15 nov 2003 in comp.lang.javascript:
我一直在搜索...似乎下面的代码
适用于单页。
< BODY BGCOLOR = white onMouseOver =" window.status =''something
''; return true">
i have been searching around... and it seems that the below code is good for a SINGLE PAGE.
<BODY BGCOLOR=white onMouseOver="window.status='' something '';return true">
返回true没有任何意义,可以解决。
The return true has no purpose, methinks.
但是...我有很多页面,而不是去每个页面和<添加此代码,我想知道上面的代码是否可以在javascript中完成
,我可以放入我的HEAD ...例如< SCRIPT>
.....< / SCRIPT>
but... i have TONS of pages, and instead of going to each page and
adding this code, i was wondering if the above code could be done in a javascript that i can put in my HEAD... such as <SCRIPT> .....</SCRIPT>
虽然你可以这样做:
< SCRIPT>
文件。 body.onclick = function(){window.status =''so mething''}
< / SCRIPT>
你必须在< body>之后写它声明。
=============================
为什么不简单在标题中执行此操作:
< SCRIPT>
window.status =''其他内容''
< / SCRIPT>
- -
Evertjan。
荷兰。
(请在我的电子邮件地址中将x'变为点数)
While you can do this:
<SCRIPT>
document.body.onclick=function(){window.status=''so mething''}
</SCRIPT>
you have to write it AFTER the <body> declaration.
=============================
why not simply do this in the header:
<SCRIPT>
window.status=''something else''
</SCRIPT>
--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)
这篇关于window.status Javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!