![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#2
|
|||
|
|||
|
Ok, I figured it out myself.
I first copied the <div id="nav">...</div> code for the top nav and entered it into Simple Hooks under the genesis_before_header hook (where I decided my primary nav was going to be). I then removed the primary nav from the site by adding this to functions.php: remove_action('genesis_after_header', 'genesis_do_nav'); I then went back to the <div id="nav">...</div> code and added the onClick code to the individual menu items. |
| Tags |
| google analytics, javascript, menu item |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change menu to not show sub-menu items | Florux | General Discussion | 2 | 11-27-2009 01:15 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us