This code is like V1...and the names says it all too. I got give a big thanks to James for helping me with it.
Changes from v1 to v2:-When you hoverd over a catagory in V1, it showed all the forums in all catagorys and didn't close. In V2, when you hover over a catagory, it only showes the forums from that catagory taht you are hovering over. Also, when your not hovering over them, they close.
<script type="text/javascript">
$(function() {
$("table.forums").addClass("classnme").hide();
//Code Created by Agent Moose with help of James[WWX]
$(".classnme").parent().hover(function(){
$(this).addClass("over");
$(this).children("table.forums").fadeIn("fast");
},function(){
$(this).addClass("out");
$(this).children("table.forums").fadeOut("fast");
});
$(".collapse").hide();
});
</script>
For the green text, that is the speed it shows up. You can change the speeds to:
slow
normal
fast
Make sure both of them say the same thing. If you don't, it will just be kinda weird...
EDIT:
Forgot the preview:
Click Here