Title: Javascript Quirk
Last modified: August 19, 2016

---

# Javascript Quirk

 *  [jmarcello](https://wordpress.org/support/users/jmarcello/)
 * (@jmarcello)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/javascript-quirk/)
 * I am using a small java script to generate an expandable link in my navigation.
   The quirk is that each I load a new page on the site the expandable link flashes
   open and then closes. The default state should be closed. It’s kind of annoying
   and since it’s for a client, they’ve asked to have the imperfection removed.
 * Link to site is [http://www.buenolisto.com](http://www.buenolisto.com) and the
   link in question is “galleries” which is in the left-hand nav bar. You can click
   any link to make this imperfection occur. Any help would be greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/javascript-quirk/#post-1823052)
 * codex guides:
 * [http://codex.wordpress.org/Using_Javascript](http://codex.wordpress.org/Using_Javascript)
   
   [http://codex.wordpress.org/Function_Reference/wp_enqueue_script](http://codex.wordpress.org/Function_Reference/wp_enqueue_script)
 *  Thread Starter [jmarcello](https://wordpress.org/support/users/jmarcello/)
 * (@jmarcello)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/javascript-quirk/#post-1823054)
 * I appreciate the links, both of which I had already looked at, unfortunately 
   this does not address in any kind of way the “imperfection” I am referencing.
 * Could you possibly address the particular issue in reference or have any other
   suggestions. All the source code should be visible, if I have made some kind 
   of mistake, please feel free to point it out.
 * Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Javascript Quirk’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [jmarcello](https://wordpress.org/support/users/jmarcello/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/javascript-quirk/#post-1823054)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
