For this problem...create a role basis...For example, if your an
administrator/member then display menu...if not then hide
On Mar 21, 2005 2:13 PM, maiphuong1412 <[EMAIL PROTECTED]> wrote:
>
>
> 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ải
> Thị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ập qu�n
> sự</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 Sponsor
> ADVERTISEMENT
>
> ________________________________
> 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 the Yahoo! Terms of Service.
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/