Oh yea, I completely blanked about that $(document).ready(function() {});. The reason I was using $.find() was because I was looking on Dark Horizons they have a menu with code like this:
Code:
$("#content-navigation .navigation-tongue").hover(
function () {
$(this).find("ol").toggle("fast");
$(this).addClass("selected");
},
function () {
$(this).find("ol").toggle("slow");
$(this).removeClass("selected");
}
)
With a menu structure that looks like:
HTML Code:
<div id="content-navigation">
<ul>
<li id="content-navigation-news" class="navigation-tongue">
<a href="/news/">News</a>
<ol>
<li><a href="/news/">Latest News</a></li>
<li><a href="/news/archive/">News Archive</a></li>
</ol>
</li>
<li id="content-navigation-interviews" class="navigation-tongue">
<a href="/interviews/">Interviews</a>
<ol>
<li><a href="/interviews/">Latest Interviews</a></li>
<li><a href="/interviews/a/">Interviews Archive</a></li>
</ol>
</li>
<!-- Etc -->
I used a similar structure but then why does that work when mine doesn't?
Also: Whenever you mouseout of the anchor tag the OL retracts, I want people to be able to hover over that while the menu section is expanded so it would be possible to click the links on that. Any help with that?