I have a drop-down menu and I want it only show link when member 
logged in. And I don't know how to do that? My web is written by ASP 
and the menu is written by JavaScript.
Here is my drop-down menu:

<script language="javascript">

function ShowMenu(Item) {
document.getElementById(Item).style.visibility = 'Visible';
}

function HideMenu(Item) {
document.getElementById(Item).style.visibility = 'Hidden';
}

function MenuSelect(Item) {
document.getElementById(Item).style.backgroundColor = '#d5e7f3';
}

function MenuDeselect(Item) {
document.getElementById(Item).style.backgroundColor='#F5F5DC';
}

</script>
<body>
<table id="1000" style="background-
color:#F5F5DC;top:133px;left:426px;position:absolute;visibility:hidde
n; height:40px; width:95px" onmousemove="ShowMenu('1000')" 
onmouseout="HideMenu('1000')">
<tr>
<td id="ht" style="cursor:hand;font-size:11pt" 
onmouseover="MenuSelect(id)" onmouseout="MenuDeselect(id)" 
onclick="location.href='http://localhost/tttn/haithinh.asp'" 
height="19">
<p align="center"><font face="Verdana" size="2">�i H&#7843;i 
Th&#7883;nh</font></td>
</tr>
<tr>
<td id="qs" style="cursor:hand;font-size:11pt" 
onmouseover="MenuSelect(id)" onmouseout="MenuDeselect(id)" 
onclick="location.href='http://localhost/tttn/quansu.asp'">
<p align="center"><font face="Verdana" size="2">T&#7853;p qu�n 
s&#7921;</font></td>
</tr>
</table><div align="left">

I want my menu only show links to the members who logged in. I wrote 
my web by ASP. 
I don't know how to do that. Can you show me how to do? I'm starting 
to learn ASP and web design








 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to