Unique menu for home page only

I am using wordpress 3.3 and need the home page horizontal menu to a specific way while ALL the interior pages have a more involved drop down menu.
So, one menu for home page and all other pages get a detailed menu/


<?php include_header(); ?>
        		<?php mainmenu(); ?>


how can I make it detect if it is homepage to use mainmenu, and if not to use a secondmenu for all other pages?

I am not a programmer, more of a stylist.

Thanks

Set the homepage to use its own template in the admin panel. As your design evolves you are likely to come up with other differences between the two layouts, so separating the templates now will be easier than later.

Also, we have a Wordpress specific forum. This one is for general PHP questions.

In the theme editor area? the home.php or index.php they both have <?php get_header(); ?>
so you would simply edit it to get_headerhome(); ?> and make a headerhome.php file ?

we can move this question to wordpress if necessary.

One possible way is to make two headers and different template for home page.
So you can have header.php and header-home.php.
Than for home page template you can call <?php get_header(‘home’); ?> and for page.php just <?php get_header(‘’); ?>.
Hope that helps.

Off Topic:

I would question the wisdom of having a different menu on different parts of the site. Sounds confusing to me.

I want it to be hierachical. Instead of bloating the homepage with a full menu. it is menu “a” (no dropdown) and ALL pages inside the site get menu “b” (which has dropdown)