在狀態列顯示連結提示
- Internet Explorer 6.0
- Internet Explorer 7.0
- Internet Explorer 8.0
- Mozilla Firefox 2.0
- Mozilla Firefox 3.0
- Google Chrome
- Safari 3.1
- Opera 9.5
- 在狀態列顯示連結提示 - 指到超連結物件上,狀態列會顯示相關說明。
- 語法總長度:456 字元
<script type="text/javascript">
function upstatus() {
if (st==true) window.status=text.substring(l--,text.length)
else window.status="";
if ((l>=0) && (st==true)) setTimeout("upstatus()",50);}
function showstatus(item) {
st=true;
text=item;
l=text.length;
upstatus();}
function cancel() {
window.status="";}
</script>
<a href="連結的地方" onmouseover="showstatus('狀態列說明訊息');" onmouseout="cancel();">
請指過來然後看看狀態列</a>