Cool menu bar - [Credits to: Scooter Armstrong[Dreamweaver]]
2 posts
Page 1 of 1
Cool menu bar.

Code: Select all
I TAKE NO CREDIT!<!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=utf-8" />
<title>Zulf's Dungeon - Downloads</title>
<script src="js/jquery-1.4.2.js" type="text/javascript"></script>
<style type="text/css">
/* BeginOAWidget_Instance_2102522: #navigation */
ul#navigation {
position: fixed;
margin: 0px;
padding: 0px;
top: 0px;
right: 10px;
list-style: none;
z-index:999999;
width:auto;
}
ul#navigation li {
display:inline;
float:left;
width:102;
}
ul#navigation li a {
display: block;
float:left;
color:#000000;
margin-top: -2px;
height: 25px;
width:100;
background-repeat:no-repeat;
background-position:50% 10px;
background-color:#E7F2F9;
border:1 solid #BDDCEF;
-moz-border-radius:0px 0px 10px 10px;
-webkit-border-bottom-right-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-khtml-border-bottom-right-radius: 10px;
-khtml-border-bottom-left-radius: 10px;
text-decoration:none;
text-align:center;
padding-top:80px;
opacity: 0.7;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
}
ul#navigation li a:hover{
background-color:#CAE3F2;
}
ul#navigation .home a{
background-image: url(/png/settings.png);
}
ul#navigation .about a{
background-image: url(/png/notes.png);
}
ul#navigation .search a{
background-image: url(/png/notes.png);
}
ul#navigation .podcasts a{
background-image: url(/png/ipod.png);
}
ul#navigation .rssfeed a{
background-image: url(/png/weather.png);
}
ul#navigation .photos a{
background-image: url(/png/maps.png);
}
ul#navigation .contact a{
background-image: url(/png/chat.png);
}
/* EndOAWidget_Instance_2102522 */
</style>
<script type="text/xml">
<!--
<oa:widgets>
<oa:widget wid="2102522" binding="#navigation" />
</oa:widgets>
-->
</script>
</head>
<body>
<ul id="navigation">
<li class="home"><a href="">Home</a></li>
<li class="about"><a href="">About</a></li>
<li class="search"><a href="">Search</a></li>
<li class="photos"><a href="">Photos</a></li>
<li class="rssfeed"><a href="">Rss Feed</a></li>
<li class="podcasts"><a href="">Podcasts</a></li>
<li class="contact"><a href="">Contact</a></li>
</ul>
<script type="text/javascript">
// BeginOAWidget_Instance_2102522: #navigation
$(function() {
var d=300;
$('#navigation a').each(function(){
$(this).stop().animate({
'marginTop':'-80px'
},d+=150);
});
$('#navigation > li').hover(
function () {
$('a',$(this)).stop().animate({
'marginTop':'-2px'
},200);
},
function () {
$('a',$(this)).stop().animate({
'marginTop':'-80px'
},200);
}
);
});
// EndOAWidget_Instance_2102522
</script>
</body>
</html>
thank you, i really needed a design like this 

This is a signature.
2 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023