135、文字导航的说明条

135、文字导航的说明条

脚本说明:

把如下代码加入<body>区域中:

<style>

<!--

 

.BorderOn  { width:90px;

             margin-left:2px;

             border:1px solid #456789 }

.BorderOff { width:90px;

             margin-left:0px;

             border:1px solid #444444 }

            

A.mBlue:link      {color:#00CCFF; text-decoration:none;}

A.mBlue:visited   {color:#00CCFF; text-decoration:none;}

A.mBlue:active    {color:#00CCFF; text-decoration:none;}

A.mBlue:hover     {color:#FF0000; text-decoration:underline;}       

 

A.mGreen:link     {color:#00FF80; text-decoration:none;}

A.mGreen:visited  {color:#00FF80; text-decoration:none;}

A.mGreen:active   {color:#00FF80; text-decoration:none;}

A.mGreen:hover    {color:#FF0000; text-decoration:underline;}

 

A.mYellow:link    {color:#FFFF00; text-decoration:none;}

A.mYellow:visited {color:#FFFF00; text-decoration:none;}

A.mYellow:active  {color:#FFFF00; text-decoration:none;}

A.mYellow:hover   {color:#FF0000; text-decoration:underline;}         

 

//-->            

</style>

<script language="JavaScript1.2">

<!--

offMessage = "欢迎你光临网络时空..."

 

function boxOn(which,message){

   if (document.all||document.getElementById){

      which.className='BorderOn'

      if (document.getElementById) {document.getElementById("Message").innerHTML = message}

         else {Message.innerHTML = message}

   }

}

 

function boxOff(which){

   if (document.all||document.getElementById){

      which.className='BorderOff'

      if (document.getElementById) {document.getElementById("Message").innerHTML = offMessage}

         else {Message.innerHTML = offMessage}

   }

}

 

//-->

</script>

<table cellpadding="3" cellspacing="0" class="BorderOff" onMouseover="boxOn(this,'链接一的文字解释')" onMouseout="boxOff(this)">

  <tr>

    <td><font color="#00FF80" size="2" face="Arial"><a class="mBlue" href="http://www.7stk.com" target="_blank">链接一</a></font></td>

  </tr>

</table> 

<table cellpadding="3" cellspacing="0" class="BorderOff" onMouseover="boxOn(this,'链接二的文字解释')" onMouseout="boxOff(this)">

  <tr>

    <td><font color="#00FF80" size="2" face="Arial"><a class="mBlue" href="http://www.7stk.com" target="_blank">链接二</a></font></td>

  </tr>

</table>

<table cellpadding="3" cellspacing="0" class="BorderOff" onMouseover="boxOn(this,'链接三的文字解释')" onMouseout="boxOff(this)"> 

  <tr>

    <td><font color="#00FF80" size="2" face="Arial"><a class="mGreen" href="http://www.7stk.com" target="_blank">链接三</a></font></td>

  </tr>

</table>

<table cellpadding="3" cellspacing="0" class="BorderOff" onMouseover="boxOn(this,'链接四的文字解释.')" onMouseout="boxOff(this)"> 

  <tr>

    <td><font color="#00FF80" size="2" face="Arial"><a class="mYellow" href="http://www.7stk.com" target="_blank">链接四</a></font></td>

  </tr>

</table>

<table cellpadding="3" cellspacing="0" class="BorderOff" onMouseover="boxOn(this,'链接五的文字解释.')" onMouseout="boxOff(this)"> 

  <tr>

    <td><font color="#00FF80" size="2" face="Arial"><a class="mYellow" href="http://www.7stk.com" target="_blank">链接五</a></font></td>

  </tr>

</table>

<table cellpadding="1" cellspacing="0" bgcolor="#444444" width="90">

<tr>

<td>

<table cellpadding="3" cellspacing="0" bgcolor="#000000" width="88" height="100">

  <tr>

    <td align="left" valign="top"><font id="Message" color="#CBA987" size="2" face="Arial">欢迎你光临网页特效代码...</font></td>

  </tr>

</table>

 

 

Write a comment

Comments: 0