I'm currently installing main navigation on my site:
http://www.mohrdesigns.com/consumer-products
code in header file:
<ul id="nav" class="solidblockmenu">
<?php wp_list_pages('sort_column=menu_order&title_li=&depth=1'); ?>
</ul>
<?php if($post->post_parent)
$children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); else
$children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0");
if ($children) { ?>
<ul id="subnav">
<?php echo $children; ?>
</ul>
<?php } else { ?>
<?php } ?>
This does everything I want it to do EXCEPT I want to allow the user the ability to roll over any of the top level (parent) links and they can then view the second level (child) links. Regardless of what page they're on. How can I do this?