Forum Moderators: open
Not sure if this is Javascript? Any pointers would be appreciated.
[edited by: whoisgregg at 2:29 pm (utc) on Sep. 21, 2009]
[edit reason] Whoops, no URLs please. See TOS [webmasterworld.com] :) [/edit]
Basically, though, you have markup like this:
<ul id="nav">
<li><a href="#widgets">Widgets</a>
<div>
<p>Put whatever you want here, including links, images, etc.</p>
</div>
</li>
</ul>
And CSS code like so:
li div { display: none; position: absolute; }
li:hover div { display: block; }
So, what happens is that the div is hidden until you mouse over the main heading. Then the <div> appears, with whatever content you've put inside of it.
This example will render pretty horrendously in any browser though... you'll have to do lot's of CSS tweaking to get it right.