鼠標放上顯示連接信息
來源:易賢網 閱讀:928 次 日期:2014-10-09 13:32:31
溫馨提示:易賢網小編為您整理了“鼠標放上顯示連接信息”,方便廣大網友查閱!

超級連接介紹,連接介紹,顯示連接信息,鼠標放上顯示連接信息

<html>

<head>

<title>鼠標觸及鏈接滾動提示信息的代碼</title>

</head><body>

<!--將以下代碼加入HTML的<Body></Body>之間-->

<style type="text/css">

<!--

a:link { color: #0020FF; text-decoration: none;font-size: 9pt}

a:visited { color:#0020FF; text-decoration: none;font-size: 9pt}

a:hover { color: #585858; text-decoration: underline;font-size: 9pt}

-->

</style>

<SCRIPT language=JavaScript>

if (!document.layers&&!document.all)

event="test"

function showtip2(current,e,text){

if (document.all&&document.readyState=="complete"){

document.all.tooltip2.innerHTML='<marquee style="border:1px solid blue">'+text+'</marquee>'

document.all.tooltip2.style.pixelLeft=event.clientX+document.body.scrollLeft+10

document.all.tooltip2.style.pixelTop=event.clientY+document.body.scrollTop+10

document.all.tooltip2.style.visibility="visible"

}

else if (document.layers){

document.tooltip2.document.nstip.document.write('<b>'+text+'</b>')

document.tooltip2.document.nstip.document.close()

document.tooltip2.document.nstip.left=0

currentscroll=setInterval("scrolltip()",100)

document.tooltip2.left=e.pageX+10

document.tooltip2.top=e.pageY+10

document.tooltip2.visibility="show"

}

}

function hidetip2(){

if (document.all)

document.all.tooltip2.style.visibility="hidden"

else if (document.layers){

clearInterval(currentscroll)

document.tooltip2.visibility="hidden"

}

}

function scrolltip(){

if (document.tooltip2.document.nstip.left>=-document.tooltip2.document.nstip.document.width)

document.tooltip2.document.nstip.left-=5

else

document.tooltip2.document.nstip.left=150

}

</SCRIPT>

<DIV id=tooltip2

style="background-color: white; clip: rect(0px 150px 50px 0px); height: 1px; left: 2px; position: absolute; top: 0px; visibility: visible; width: 100px; z-index: 2"><LAYER

name="nstip" width="500px" bgColor="white"></LAYER></DIV>

<A href="#" onmouseout=hidetip2() onmouseover="showtip2(this,event,'asp,js,photo,flash,seo網站制作學習')" target=_blank>網站制作學習</font></A><br>

<br>

</body></html>

更多信息請查看IT技術專欄

更多信息請查看腳本欄目
上一篇:無縫滾動
下一篇:網頁燈光效果
易賢網手機網站地址:鼠標放上顯示連接信息
由于各方面情況的不斷調整與變化,易賢網提供的所有考試信息和咨詢回復僅供參考,敬請考生以權威部門公布的正式信息和咨詢為準!

2026國考·省考課程試聽報名

  • 報班類型
  • 姓名
  • 手機號
  • 驗證碼
關于我們 | 聯系我們 | 人才招聘 | 網站聲明 | 網站幫助 | 非正式的簡要咨詢 | 簡要咨詢須知 | 新媒體/短視頻平臺 | 手機站點 | 投訴建議
工業和信息化部備案號:滇ICP備2023014141號-1 云南省教育廳備案號:云教ICP備0901021 滇公網安備53010202001879號 人力資源服務許可證:(云)人服證字(2023)第0102001523號
云南網警備案專用圖標
聯系電話:0871-65099533/13759567129 獲取招聘考試信息及咨詢關注公眾號:hfpxwx
咨詢QQ:1093837350(9:00—18:00)版權所有:易賢網
云南網警報警專用圖標
未满十八18勿进黄网站免费看