FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Table menu

 


thaonguyenxanh
The first copy Script bellow paste <head>
Quote:


<style type="text/css">
.menu {font-family:times new roman; arial; font-weight:bold}

.menu a{
text-decoration:none;
color:fuchsia;
}
</style>
<script language="javascript">
<!--
function movein(which,html){
which.style.background='yellow'
if (document.getElementById)
document.getElementById().innerHTML=html
else
boxdescription.innerHTML=html
}

function moveout(which){
which.style.background='bisque'
if (document.getElementById)
document.getElementById().innerHTML=' '
else
boxdescription.innerHTML=' '
}

//-->
</script>

Second copy code bellow paste <body>
Quote:

<table bgcolor="white" border="1" bordercolor="red" cellpadding="4" cellspacing="0">
<tr>
<td bordercolor="black" style="background-color:aqua">
<font color="#0000FF"><u><b>My Albums:</b></u></font></td></tr>

<td class="menu" bordercolor="black" id="choice1" style="background-color:bisque; cursor:hand" onmouseover="movein(this,'Hình Gia đình')" onmouseout="moveout(this)">
<a href="http://freewarejava.com"><LI>My Family Album</a></td></tr>
<td class="menu" bordercolor="black" id="choice2" style="background-color:bisque; cursor:hand" onmouseover="movein(this,'Hình Tuyển Tập')" onmouseout="moveout(this)">
<a href="http://www.freebox.com/cereweb/"><LI>My Photo Album</a></td></tr>
<td bordercolor="black" style="background-color:aqua"><u><b>
<font color="#0000FF">Java Scripts & Tips:</font></b></u></td></tr>
<td class="menu" bordercolor="black" id="choice3" style="background-color:bisque; cursor:hand" onmouseover="movein(this,'Java Sources')" onmouseout="moveout(this)">
<a href="http://www.sitepoint.com"><LI>Java Scripts</a></td></tr>
<td class="menu" bordercolor="black" id="choice4" style="background-color:bisque; cursor:hand" onmouseover="movein(this,'Java Applet,Sources')" onmouseout="moveout(this)">
<a href="http://www.sitepoint.com"><LI>Java Applet</a></td></tr>
<td bordercolor="black" style="background-color:aqua">
<tr>
<td bordercolor="black" bgcolor="white" height="18"><font id="boxdescription" face="Verdana" size="2"></font></td></tr>
</table>
Related topics

how to make hover drop menus without flash?
JavaScript (Menu)
[Java] Top-Down Menu bar tweak.
menu box following scrollbar movement
embedding javascript menu simple problem

Menu + drop down
Menu Bar Won't Center
Menu slide
PostNuke Module needed
Windows Tips&tricks!

The worlds shortest and laziest Mambo tutorial.
[java scripts] Text effect , img ....
Highlighting Table Cells
Advanced Rollovers
Linux & Windows
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.