Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 22nd, 2005, 06:53 AM
Registered User
 
Join Date: Apr 2005
Posts: 352
Thanks: 14
Thanked 0 Times in 0 Posts
Send a message via Yahoo to rupen
Default Menu creation

Can anyone brief about creating cross-frame menu, I tried following please pass your views.
Below is good for single page but when i display it in frame, submenu goes under frame, how to make it cross frame??
-----------------------------
<html>
<head>
<style>
    body{font-family:arial;}
    table{font-size:80%;background:black}
    a{color:black;text-decoration:none;font:bold}
    a:hover{color:#606060}
    td.meynu{background:lightblue}

    table.menu
    {
        font-size:100%;
        position:absolute;
        visibility:hidden;
    }
</style>
<script type="text/javascript">
function showmenu(elmnt)
{
document.getElementById(elmnt).style.visibility="v isible"
}
function hidemenu(elmnt)
{
document.getElementById(elmnt).style.visibility="h idden"
}
</script>
</head>

<body>
<table>
 <tr bgcolor="#FF8080">
  <td onmouseover="showmenu('timesheet')" onmouseout="hidemenu('timesheet')">
   <a href="#">Time Sheet</a><br />
   <table class="menu" id="timesheet" width="120">
   <tr><td class="menu"><a href="timesheet.asp">My Time Sheet</a></td></tr>
   </table>
  </td>
  <td onmouseover="showmenu('Leaves')" onmouseout="hidemenu('Leaves')">
   Leaves<br />
   <table class="menu" id="Leaves" width="120">
   <tr><td class="menu"><a href="leaveapply.html">Application</a></td></tr>
   <tr><td class="menu"><a href="leaveview.asp">Status</a></td></tr>
   <tr><td class="menu"><a href="leaveaction.asp">Request Received</a></td></tr>
   </table>
  </td>
  <td onmouseover="showmenu('Employee')" onmouseout="hidemenu('Employee')">
   Employee</a><br />
   <table class="menu" id="Employee" width="120">
   <tr><td class="menu"><a href="empaddform.asp">Add</a></td></tr>
   <tr><td class="menu"><a href="empsearch.html">Search</a></td></tr>
    </table>
    </td>
  <td onmouseover="showmenu('Reports')" onmouseout="hidemenu('Reports')">
   Reports</a><br />
   <table class="menu" id="Reports" width="120">
   <tr><td class="menu"><a href="parameters.asp?para=per" target="MainFrame">My Hours</a></td></tr>
   <tr><td class="menu"><a href="parameters.asp?para=team">Team Wise</a></td></tr>
   <tr><td class="menu"><a href="parameters.asp?para=proj">Project Wise</a></td></tr>
   <tr><td class="menu"><a href="parameters.asp?para=sum">Summary</a></td></tr>
    </table>
    </td>
 </tr>
</table>
</body>
</html>
---------------------






Similar Threads
Thread Thread Starter Forum Replies Last Post
CH 15 Context Menu - Element Menu Items Razzy The Pug BOOK: Ivor Horton's Beginning Visual C++ 2005 2 November 9th, 2008 03:53 PM
how create menubar, menu, menu item in xsl vijayanmsc XSLT 1 June 5th, 2006 06:43 AM
Menu Help in statusbar at mousemove over Menu item Kaustav VB Components 1 September 14th, 2005 09:28 AM
right click menu hidden by drop-drown menu Andraw HTML Code Clinic 0 March 18th, 2005 03:28 PM
Changing Menu made with VB 4 Menu Editor Zooker VB How-To 1 July 26th, 2003 11:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.