Rollover Menu In DHTML

Rollover Menu In DHTML

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>

<title> Rollover Menu </title>

<meta name=”generator” content=”editplus” />

<meta name=”author” content=”” />

<meta name=”keywords” content=”” />

<meta name=”description” content=”” />

<style type=”text/css”>

#ebizmenu{

width: 180px;

border-right: 1px solid #000;

padding: 0 0 1em 0;

margin-bottom: 1em;

font-family: ‘Verdana’, ‘Lucida Grande’, Arial, sans-serif;

font-size: 90%;

background-color: #5B9ACE;

color: #333;

}

* html #ebizmenu{

width: 147px;

 

}

#ebizmenu ul{

list-style: none;

margin: 0;

padding: 0;

border: none;

}

#ebizmenu li {

border-bottom: 1px solid #FFCC99;

margin: 0;

}

#ebizmenu li a{

display: block;

padding: 5px 5px 5px 8px;

border-left: 10px solid #996600;

border-right: 10px solid #508fc4;

background-color: #0099CC;

color: #FFCC99;

text-decoration: none;

width: 100%;

}

html>body #ebizmenu li a{ /*Non IE6 width*/

width: auto;

}

#ebizmenu li a:hover{

border-left: 10px solid #996600;

border-right: 10px solid #5ba3e0;

background-color: #2586d7;

color: #fff;

}

</style>

<script LANGUAGE=”JavaScript”>

function displayDescription (description) {

window.status = description;

return true;

}

function clearstatus() {

window.status=””;

}

</script>

 

</head>

<body bgcolor=”#A3D6F3″>

<div id=”ebizmenu”>

<ul>

<li><a href=”http://www.ebizel.com/”
onMouseOver=”javascript:displayDescription
(‘Go to eBIZ Home Page’); return true”

onMouseOut=”javascript:clearstatus();”>eBIZ home page</a></li>

<li><a href=”http://mail.ebizel.com/”
onMouseOver=”javascript:displayDescription
(‘Go to eBIZ mail’); return true”

onMouseOut=”javascript:clearstatus();”>eBIZ email</a></li>

<li><a href=”http://support.ebizel.com/”
onMouseOver=”javascript:displayDescription
(‘Go to eBIZ Support Home page’); return true”

onMouseOut=”javascript:clearstatus();”>Contact Us</a></li>

<li><a href=”http://ebizmatrimonial.com/”
onMouseOver=”javascript:displayDescription
(‘Go to eBIZShaadi Home page’); return true”

onMouseOut=”javascript:clearstatus();”>ebizShaadi</a></li>

<li><a href=”http://education.ebizel.com/”
onMouseOver=”javascript:displayDescription
(‘Go to eBIZ education page’); return true”

onMouseOut=”javascript:clearstatus();”>eBIZ education</a></li>

<li><a href=”http://gk.ebizel.com/”
onMouseOver=”javascript:displayDescription
(‘Go to eBIZ GK Home page ‘); return true”

onMouseOut=”javascript:clearstatus();”>eBIZ GK</a></li>

</ul>

</div>

</body>

</html>

Scroll to Top