Title: jQuery problem with navigation
Last modified: August 22, 2016

---

# jQuery problem with navigation

 *  [Donorbrain](https://wordpress.org/support/users/donorbrain/)
 * (@donorbrain)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/jquery-problem-with-navigation/)
 * Hey there,
 * I’ve been having a problem some while now with a plugin i’ve used for a vertical
   navigation menu on this [website](http://www.hesterscheurwater.com).
 * i’ve modified the plugin [jquery vertical accordion menu](http://www.designchemical.com/blog/index.php/wordpress-plugins/wordpress-plugin-jquery-vertical-accordion-menu-widget/)
   to a certain extend because what i was trying to achieve is the “menu state” 
   would be remembered accross navigating through the different pages.
    This seemed
   impossible because every time you would navigate to a different page the whole
   website would refresh resetting the menu state. So that’s why i used cookies.
 * But sometimes this [error](http://www.donorbrain.com/menu-state-error.jpg) appears,..
   leaving to submenu’s from different categories overlapping each other…I’m not
   sure what to do and also if this error is based on browser type.. Maybe it could
   be the use of taxonomies in wordpress or some sort of conflict between permalinks?
 * On each “archive” page i get the posts from a certain category doing this in 
   php `<?php
    $expl = explode(‘/’, $_SERVER[‘REQUEST_URI’]); if(isset($expl[3])){
   query_posts( array ( ‘post_type’ => ‘portfolio’, ‘portfolio_category’ => mysql_real_escape_string(
   $expl[2]), ‘showposts’ => 1, ‘taxonomy’=>’category’, ‘orderby’ => ‘date’, ‘order’
   => ‘DESC’ )); } else { query_posts( array ( ‘post_type’ => ‘portfolio’, ‘showposts’
   => 1, ‘taxonomy’=>’category’, ‘orderby’ => ‘date’, ‘order’ => ‘DESC’ )); } ?>`
 * Could this be a problem?
 * thanks a lot for any help!!!!
 * – Jacco

Viewing 1 replies (of 1 total)

 *  Thread Starter [Donorbrain](https://wordpress.org/support/users/donorbrain/)
 * (@donorbrain)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/jquery-problem-with-navigation/#post-5282533)
 * Anyone? Please?

Viewing 1 replies (of 1 total)

The topic ‘jQuery problem with navigation’ is closed to new replies.

## Tags

 * [caching](https://wordpress.org/support/topic-tag/caching/)
 * [cookies](https://wordpress.org/support/topic-tag/cookies/)
 * [dropdown](https://wordpress.org/support/topic-tag/dropdown/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [navigation](https://wordpress.org/support/topic-tag/navigation/)
 * [submenu](https://wordpress.org/support/topic-tag/submenu/)

 * 1 reply
 * 1 participant
 * Last reply from: [Donorbrain](https://wordpress.org/support/users/donorbrain/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/jquery-problem-with-navigation/#post-5282533)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
