Here’s a drop down animated menu example made with jquery.js 1.2.2
Roll over this text to show the menu
Related links:
Here’s the source code :
<script type="text/javascript" src="http://ayozone.org/wp-content/scripts/jquery-1.2.2.pack.js"></script>
$(function() {
$("a#menu-call").mouseover( function() {
$("ul#menu").animate({height:"show",opacity:"show"},"slow"); return false;
});
$("ul#menu").hover( function() {},
function() { $("ul#menu").animate({opacity:1.0},1125).slideUp(375); return false;
});
$("a.mlnk").hover(
function() { $(this).css({ backgroundColor:"#ececec", border:"1px solid #1042de" }) },
function() { $(this).css({ border:"none",backgroundColor:"#ffffff" }) }
);
})
</script>
<a href="#" id="menu-call" style="float:right;margin-right:64px;">menu</a></p>
<div id="menu-container">
<ul id="menu" style="position:absolute;display:inline;z-index:99;width:216px;background:#fff;border:1px solid black;margin-left:300px;margin-top:4px;padding:3px;display:none;list-style-type:none;">
<li style="background:none;padding:0 4px 0 0;margin:3px;">
<a href="#" class="mlnk" style="display:block;width:100%;text-decoration:none;"><span style="padding-left:12px">entry one</span></a></li>
<li style="background:none;padding:0 4px 0 0;margin:3px;">
<a href="#" class="mlnk" style="display:block;width:100%;text-decoration:none;"><span style="padding-left:12px">entry two</span></a></li>
<li style="background:none;padding:0 4px 0 0;margin:3px;">
<a href="#" class="mlnk" style="display:block;width:100%;text-decoration:none;"><span style="padding-left:12px">entry three</span></a></li>
</ul>
</div>
great…i’m gonna using on my sites
congratulations
chani bahala….
Its not working fine on IE 6
Fantastic thank you. Find the files you are looking for at http://all-shares.com the most comprehensive source for free-to-try files downloads on the Web
It works fine on my version of Firefox 1.5.0.1 Perhaps you don’t have the latest version. I run an image gallery myself, but I don’t think type of layout would art? work very well for me as I have descriptions for my images and some of the images are quite large. I don’t know, it might be worth experimenting with.
678
IE 6 bug :s
IE 8 don’t work
Man…
how about developing something that works?
Thank you … that has me very helped.
Exactly what I’m looking for…too bad it’s full of bugs.
ohh yeeaa thanks…
The demo link doesn’t seem to work for me. Im using FF3
Windows XP
doesnt work in winxp sp3, ff3.5