cursor move on to "menu" then i get submenu in submenu i click on one option the page will display on <div> of same page, plz help me.thanks in advance.
my code is:
<a href="#" onmouseover="javascript:test(1)" id="ss">tutor</a>
<div id="frame1" style="position:absolute; top:120px;left:65px;" class="hide";>
<table id="itut" border="1">
<tr>
<td>
<a href="#" onclick="tutorlogin()">tutorlogin</a><br />
</td></tr><tr>
<td>
<a href="#" onclick="tutordirectory()">tutordirectory</a><br />
</td></tr>
<tr>
<td>
<a href="#" onclick="tutorforum()">turorforum</a></td></tr></table>
</div>
<style type="text/css" media="screen">
.show {
display:block;
}
.hide{
display:none;
}
.
</style>
<script language="javascript">
function test(n)
{
for( var i=1;i<3;i++)
{
document.getElementById("frame"+i).className='hide';
if(n==i)
document.getElementById("frame"+i).className='show';
else
document.getElementById("frame"+i).className='hide';
}
return true;
}
if i click on tutorlogin the tutorlogin.php(another page call through function) wil ldispay