Hi guys, I was curious if any HTML Gods here could lend me a helping hand. I have the following page: Link I would like to have the buttons be drop down menus, there should be three drop down menus, and then two other buttons and I do not know how to do it. I already have three buttons, but would like it to look more like this:
Button One: Home
Button Two: Forms - Drop Down Menu -
Sub Menu 1 - Applicant Form
Sub Menu 2 - Award Form
Button Two: Delete Records - Drop Down Menu -
Sub Menu 1 - Delete Applicant
Sub Menu 2 - Delete Award
Button Three: Reports- Drop Down Menu -
Sub Menu 1 - Applicant Query
Sub Menu 2 - Award Query
Button Four: Logout
I have had a friend create the page for me ( it is for a database design project, and we are working as a grp) and I can't figure out to do the next step.
Being in college I dont have a lot of money, but could pay someone 5-10 dollars to help me out! Any Help would be great! and it is much appreciated!
Here is the source code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<head>
<title> Franklin University - Scholarship Office</title>
<link rel="stylesheet" type="text/css" href="index.css" />
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />
<meta name="keywords" content="Template - 02" />
<meta name="author" content="Synthetic Cheese" />
<meta name="description" content="Template - 02" />
</head>
<body>
<div id="container">
<div class="top">
<div class="topy"> </div>
<div class="topbar">
<div align="center"><a href="#"></a><img src="images/spacer.gif" style="width: 80px; height: 1px;" alt="spacer" /> </div>
</div>
<div align="center">
<!--end of top -->
</div>
<div class="topleft"> </div>
<div class="topbottom">
<div align="center">
<p><br />
<span><b>Scholarship Office - Admin Area </b><br />
This area is for administration use only, all other use is strictly prohibited. Your IP address is being record into a database for our protection. </span> </p>
<p> </p>
</div>
</div>
<div class="topright">
<div align="center"><img src="images/banneradmin.gif" alt="banner" width="536" height="194" /> </div>
</div>
</div>
<div align="center">
<!--end of top -->
<br />
</div>
<div class="nav">
<div align="center"><img src="images/navleft.gif" style="float: left;" alt="navleft" />
<img src="images/navright.gif" style="float: right;" alt="navright" />
</div>
<div class="button">
<div align="center"><a href="index.html"><img src="images/button.gif" class="image" alt="Home" /><span> Home</span></a></div>
</div>
<div class="button">
<div align="center"><a href="students.htm"><img src="images/button.gif" class="image" alt="Students" /><span>Students</span></a></div>
</div>
<div class="button">
<div align="center"><a href="contact.htm"><img src="images/button.gif" class="image" alt="Contact" /><span> Contact</span></a></div>
</div>
</div>
<div align="center">
<!-- end of nav -->
</div>
<div class="title">
<div class="titlebar">
<div align="center">
<p><br>
Your IP Address is: <?php echo $_SERVER["REMOTE_ADDR"]; ?>
</p>
<p> </p>
</div>
</div>
<div class="content">
<div class="content
"><!-- Begin of MTop web button menu code -->
<script type="text/javascript" language="JavaScript1.2">
<!--
var m9271_timerID = null;
var m9271_timerOn = false;
var m9271_timeCount = 1000;
var m9271_mnuCount = 3;
function m9271_showLayer(btntd,btnmnu,bdir,mdir,mpos,xoffset,yoffset)
{
var td,layer;
if (btnmnu==0) return;
td = document.getElementById(btntd);
layer = document.getElementById(btnmnu);
if (bdir==0)
{
switch(mpos)
{
case 0:
layer.style.left = xoffset;
break;
case 1:
layer.style.left = td.offsetWidth/2 + xoffset;
break;
case 2:
layer.style.left = td.offsetWidth+xoffset;
break;
}
if (mdir==0)
layer.style.top = td.offsetHeight+yoffset;
else
layer.style.top = -layer.offsetHeight-yoffset;
}
else
{
switch(mpos)
{
case 0:
layer.style.top = yoffset;
break;
case 1:
layer.style.top = td.offsetHeight/2 + yoffset;
break;
case 2:
layer.style.top = td.offsetHeight+yoffset;
break;
}
if (mdir==0)
layer.style.left = td.offsetWidth+xoffset;
else
layer.style.left = -layer.offsetWidth-xoffset;
}
layer.style.visibility = "visible";
};
function m9271_hideLayer(btnmnu)
{
var layer;
if (btnmnu==0) return;
layer = document.getElementById(btnmnu);
layer.style.visibility = "hidden";
};
function m9271_hideAllLayers()
{
for (i=0; i<m9271_mnuCount; i++)
m9271_hideLayer("m9271_mbtn_mnu"+i);
};
function m9271_startTime()
{
if (m9271_timerOn == false)
{
m9271_timerID=setTimeout( "m9271_hideAllLayers()" , m9271_timeCount);
m9271_timerOn = true;
}
};
function m9271_stopTime()
{
if (m9271_timerOn)
{
clearTimeout(m9271_timerID);
m9271_timerID = null;
m9271_timerOn = false;
}
};
//-->
</script>
<!-- End of MTop web button menu code -->
</div>
</div>
<div align="center">
<!-- end of nav -->
</div>
</div>
<div class="copyright"><div align="center"></div>
</div>
</div>
<div align="center">
</div>
</body>
</html>
Question
thankins
Hi guys, I was curious if any HTML Gods here could lend me a helping hand. I have the following page: Link I would like to have the buttons be drop down menus, there should be three drop down menus, and then two other buttons and I do not know how to do it. I already have three buttons, but would like it to look more like this:
Button One: Home
Button Two: Forms - Drop Down Menu -
Sub Menu 1 - Applicant Form
Sub Menu 2 - Award Form
Button Two: Delete Records - Drop Down Menu -
Sub Menu 1 - Delete Applicant
Sub Menu 2 - Delete Award
Button Three: Reports- Drop Down Menu -
Sub Menu 1 - Applicant Query
Sub Menu 2 - Award Query
Button Four: Logout
I have had a friend create the page for me ( it is for a database design project, and we are working as a grp) and I can't figure out to do the next step.
Being in college I dont have a lot of money, but could pay someone 5-10 dollars to help me out! Any Help would be great! and it is much appreciated!
Here is the source code
Link to comment
Share on other sites
19 answers to this question
Recommended Posts