StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 06-15-2011, 05:05 PM
HyperRae HyperRae is offline
Registered User
GenesisConnect
Genesis Member
 
Join Date: Aug 2010
Location: Oakland, CA
Posts: 40
Default

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -5. The time now is 08:30 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.