Jump to content

Custom Menu Item Not Active


Nathan

Recommended Posts

  • Administrators

When using IP.Content alongside my forum I ran into trouble with the navigation buttons not working correctly.

 

No matter what page I was on in IP.Conent the "Pages" tab would stay selected. Well I have several different pages so this won't work.

 

To fix just drop this code into the top of the page within IP.Content for any of your pages and it's all fixed.

 

<script type="text/javascript">
//<![CDATA[
$('nav_app_ccs').removeClassName('active');
$('nav_custom').addClassName('active');
//]]>
</script>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...