Link to home
Start Free TrialLog in
Avatar of Gurnain
Gurnain

asked on

Menu bar

I already have a header file... that is:
<%
If Session("User_Id") <> "hradmin" Then
%>
<html>
<!-- #BeginTemplate "/Templates/main_e.dwt" -->
<head>

<STYLE TYPE="text/css">
<!--
A { text-decoration: none; }
A:hover { text-decoration: underline; }
-->
</STYLE>

<!-- #BeginEditable "doctitle" -->
<title>NAV CANADA Intranet</title>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="http://intranet/ncwebadmin/navstyles.css">
</head>  
<body bgcolor="#ffffff" TEXT="#000000" MARGINWIDTH="0" MARGINHEIGHT="0" LEFTMARGIN="0" TOPMARGIN="0">
<!-- TOP MENU BAR--> <img src="images/courseRegisterEN.jpg" width="504" height="50"><br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>  
<!-- #BeginEditable "top_menu" -->
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
            <td bgcolor="#FFCC66" width="8%">
                  <center>
                        <a href="FrameM_Hr.asp"><b><FONT id="sideTreeFont">Home</font></a>
                  </center>
            </td>    
            <td bgcolor="#FFCC66" width="8%">
                  <center>
                        <a href="Chg_Password.asp"><b><FONT id="sideTreeFont">Change Password</font></a>
                  </center>
            </td>    
            <td bgcolor="#FFCC66" width="8%">
                  <center>
                        <a href="Logout.asp"><b><FONT id="sideTreeFont">&nbsp;&nbsp;Sign Out</font></b></a>&nbsp;&nbsp;
                  </center>
            </td>
      </tr>
</table>
<!-- #EndEditable -->
                  </td>
            </tr>
</table>
<!-- END OF TOP MENU BAR -->

<%
Else
%>
<!-- #BeginTemplate "/Templates/main_e.dwt" -->
<head>

<STYLE TYPE="text/css">
<!--
A { text-decoration: none; }
A:hover { text-decoration: underline; }
-->
</STYLE>

<!-- #BeginEditable "doctitle" -->
<title>NAV CANADA Intranet</title>
<!-- #EndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="http://intranet/ncwebadmin/navstyles.css">
</head>  
<body bgcolor="#ffffff" TEXT="#000000" MARGINWIDTH="0" MARGINHEIGHT="0" LEFTMARGIN="0" TOPMARGIN="0">
<!-- TOP MENU BAR--> <img src="images/courseRegisterEN.jpg" width="504" height="50"><br>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>  
<!-- #BeginEditable "top_menu" -->
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
            <td bgcolor="#FFCC66" width="8%">
                  <center>
                        <a href="FrameM_Hr.asp"><b><FONT id="sideTreeFont">Home</font></a>
                  </center>
            </td>
            <td bgcolor="#FFCC66" width="8%">
                  <center>
                        <a href="Date_Range.asp"><b><FONT id="sideTreeFont">Date Range</font></a>
                  </center>
            </td>      
            <td bgcolor="#FFCC66" width="8%">             
                  <center>
                        <b><FONT color="#265674">&nbsp;&nbsp;Employee</font></b>&nbsp;&nbsp;
                  </center>
            </td>
            <td bgcolor="#FFCC66" width="8%">
                  <center>
                        <a href="Supplier_Detail.asp"><b><FONT id="sideTreeFont">&nbsp;&nbsp;Supplier</font></b></a>&nbsp;&nbsp;
                  </center>
            </td>
            <td bgcolor="#FFCC66" width="8%">
                  <center>
                        <a href="Course_Detail.asp"><b><FONT id="sideTreeFont">&nbsp;&nbsp;Course</font></b></a>&nbsp;&nbsp;
                  </center>
            </td>
            <td bgcolor="#FFCC66" width="8%">
                  <center>
                        <a href="Schedule.asp"><b><FONT id="sideTreeFont">&nbsp;&nbsp;Schedule</font></b></a>&nbsp;&nbsp;
                  </center>
            </td>
            <td bgcolor="#FFCC66" width="8%">
                  <center>
                        <a href="Training_Sch.asp"><b><FONT id="sideTreeFont">&nbsp;&nbsp;Registration</font></b></a>&nbsp;&nbsp;
                  </center>
            </td>
            <td bgcolor="#FFCC66" width="8%">
                  <center>
                        <a href="Report.asp"><b><FONT id="sideTreeFont">&nbsp;&nbsp;Reports</font></b></a>&nbsp;&nbsp;
                  </center>
            </td>
            <td bgcolor="#FFCC66" width="8%">
                  <center>
                        <a href="Logout.asp"><b><FONT id="sideTreeFont">&nbsp;&nbsp;Sign Out</font></b></a>&nbsp;&nbsp;
                  </center>
            </td>
      </tr>
</table>
<!-- #EndEditable -->

                  </td>
            </tr>
</table>
<!-- END OF TOP MENU BAR -->
<%
</body>
</html>

Now, what i want is, that when i click on Employee, i need a drop down menu, with two things, 1) Password, 2) Contractors

Please advice, how do to create this menu.

Thank you.
Avatar of __ZaM__
__ZaM__

Try using HierMenus, a javascript utility for multiple browsers. It's easy to use and configure.
you can call the menu in the onclick method.

http://www.webreference.com/dhtml/hiermenus/inprogress/8/
Avatar of Gurnain

ASKER

Hi _Zam_,

Since i am new to this, i would like more explanation on it.

The site which you gave me, does show a few examples, but i am still confused, maybe i am not trying to understand.

Prabmeet Kaur
ASKER CERTIFIED SOLUTION
Avatar of __ZaM__
__ZaM__

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial