I wanna apply jQuery effect on my website, when you hover over title that it will fade - half opacity and my list hidden list menu will appear.
The code seems to work but not together. Thanks for any help
<script>
//Fade effect when hover over and display list menu
$(document).ready(function() {
$("#name").mouseover(function() {
$("#name").css({"color":"white", "opacity":"0.5"})
}, function(){
$("li").slideDown();
});
//Cancel fade Effect and hide list menu
$("#name").mouseout(function() {
$(this).css({"color":"#A37519", "opacity":"1"});
}, function() {
$("li").hide();
});
});
</script>