38、很酷的方框菜单代码

38、很酷的方框菜单代码

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin

document.write('<style><!--');

document.write('.BorderOn  { cursor:hand; width:90px; margin-left:10px; border:1px solid #456789 }');

document.write('.BorderOff { width:90px; margin-left:0px; border:1px solid #444444 }');

document.write('.CBMenu {font-family:宋体; font-size:9pt; color:#000000; text-decoration:none;}');

document.write('--></style>');

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;      }   }}

document.write('<table cellpadding="0" cellspacing="0" width="100"><tr><td align="center">');

document.write('<table cellpadding="3" cellspacing="0" bgcolor="#FFCC66" class="BorderOff">');

document.write('<tr><td><p align="center"><font class="CBMenu">导航菜单</font></p></td></tr></table>');

document.write('<table cellpadding="3" cellspacing="0" class="BorderOff" onclick="window.location=\'http://\'" title="这是导航" onMouseover="boxOn(this,\'永远爱你!哈哈哈哈,你有爱人吗?\')" onMouseout="boxOff(this)"><tr><td>');

document.write('<a class="CBMenu">连接1</a></td></tr></table>');

document.write('<table cellpadding="3" cellspacing="0" class="BorderOff" onclick="window.location=\'http://\'" title="gggggggggggggggggggggggg" onMouseover="boxOn(this,\'我很无聊,无聊,我的主页:—7STK.COm\')" onMouseout="boxOff(this)"><tr><td>');

document.write('<a class="CBMenu">连接2</a></td></tr></table>');

document.write('<table cellpadding="3" cellspacing="0" class="BorderOff" onclick="window.location=\'http://\'" title="hhhhhhhhhhhhhhhhhhhhhhhhhh" onMouseover="boxOn(this,\'la我的空间作\')" onMouseout="boxOff(this)"><tr><td>');

document.write('<a class="CBMenu">连接1</a></td></tr></table>');

document.write('<table cellpadding="3" cellspacing="0" class="BorderOff" onclick="window.location=\'http://\'" title="eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee" onMouseover="boxOn(this,\'欢迎你我的浦欧i\')" onMouseout="boxOff(this)"><tr><td>');

document.write('<a class="CBMenu">连接1</a></td></tr></table>');

document.write('<table cellpadding="3" cellspacing="0" class="BorderOff" onclick="window.location=\'http://\'" title="rrrrrrrrrrrrrrrrrrrrrrr" onMouseover="boxOn(this,\'我只是业余的的,我也不懂\')" onMouseout="boxOff(this)"><tr><td>');

document.write('<a class="CBMenu">连接1</a></td></tr></table>');

 

document.write('<table cellpadding="1" cellspacing="0" bgcolor="#444444" width="90"><tr><td>');

document.write('<table cellpadding="3" cellspacing="0" bgcolor="#FFCC66" width="88" height="100"><tr><td align="left" valign="top">');

document.write('<font id="Message" class="CBMenu">移动鼠标至上面的选项来查看导航菜单的详细说明。</font>');

document.write('</td></tr></table></td></tr></table></td></tr></table>');

// End -->

</SCRIPT>

 

Write a comment

Comments: 0