Title: Responsive Menu   Ajax
Last modified: August 21, 2016

---

# Responsive Menu Ajax

 *  Resolved [dimmy1985](https://wordpress.org/support/users/dimmy1985/)
 * (@dimmy1985)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/responsive-menu-ajax/)
 * Hi!
 * Having a minor quirk occur when using this in conjunction with an AJAX plugin.
 * [Here’s the site.](http://damiansim.com/amir14/) Menu kicks in around 1000px 
   wide.
 * Works perfectly except for one thing: when a user is on a page they _didn’t_ 
   first land on, the menu requires two clicks to open. I’m assuming it’s an AJAX
   thing about loading scripts.
 * Manually loading responsive-menu-1.js + responsive-menu-1.css = works on first
   click on non-landing pages, but menu opens and closes itself instantly (albeit
   with the nice animated effect, just not the desired outcome).
 * _Current link above does not have this ‘quirk’ loaded_.
 * Any advice?
 * [https://wordpress.org/plugins/responsive-menu/](https://wordpress.org/plugins/responsive-menu/)

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

 *  [peterfeatherstone](https://wordpress.org/support/users/peterfeatherstone/)
 * (@peterfeatherstone)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/responsive-menu-ajax/#post-5096126)
 * Hi dimmy,
 * That is a strange one and I’m honestly not quite sure why it is behaving like
   that at this moment.
 * Can you try a few different combinations of using external/inline scripts and
   also try disabling the put JavaScript in footer option and see if this makes 
   it work on the first click and let me know, if not I may need access to your 
   FTP/WordPress Admin to take a closer look as I have never seen this behaviour
   before.
 * Many thanks
 * Peter
 *  Thread Starter [dimmy1985](https://wordpress.org/support/users/dimmy1985/)
 * (@dimmy1985)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/responsive-menu-ajax/#post-5096133)
 * Hi Peter
 * Thanks for your quick response.
 * I forgot to mention: I tried all available combinations of external/inline and
   footer options, as I thought those were options specifically tailored towards
   AJAX users such as myself.
 * Regardless of combination (one ticked/one not, both ticked, or none ticked) They
   enable the menu to work on first click, but then the instant slide in/slide out
   occurs.
 * Enabling/disabling CSS !important tags makes no difference.
 * _[This link](http://damiansim.com/amir14/) currently has the scripts loaded in
   my AJAX plugin, with both aforementioned boxes ticked._
 * With your permission, I will contact you through your website.
 * Damian
 *  Thread Starter [dimmy1985](https://wordpress.org/support/users/dimmy1985/)
 * (@dimmy1985)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/responsive-menu-ajax/#post-5096347)
 * hi Peter
 * my client is lingering on the launch (_not_ because of the bug). it’s not a critical
   thing by any means. wondering if you’d like to take a look at it?
 * DS
 *  [peterfeatherstone](https://wordpress.org/support/users/peterfeatherstone/)
 * (@peterfeatherstone)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/responsive-menu-ajax/#post-5096351)
 * Hi Damian,
 * I have been taking a look at this but there doesn’t appear to be anything obvious
   as to why this would behave in this way.
 * If you could provide me with FTP access to your site then I can take a look at
   editing my plug-in there to try and get this to work as expected for you.
 * You can provide me these via email and you will only need to give me access to
   my plugin folder if required.
 * Many thanks
 * Peter
 *  [peterfeatherstone](https://wordpress.org/support/users/peterfeatherstone/)
 * (@peterfeatherstone)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/responsive-menu-ajax/#post-5096355)
 * Hi Damian,
 * Thanks for providing the FTP details by email.
 * I believe I have fixed the infamous ‘double click’ issue as you mentioned, please
   can you double and triple check all is working as expected now?
 * If you want to update any of your other sites, you will need to completely de-
   activate and remove the plug-in from your admin and then re-install and click“
   Update Options” from the admin again.
 * Don’t worry none of your settings will be lost, but it is needed to re-generate
   the scripts.
 * Many thanks
 * Peter
 *  Thread Starter [dimmy1985](https://wordpress.org/support/users/dimmy1985/)
 * (@dimmy1985)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/responsive-menu-ajax/#post-5096361)
 * Hi Peter
 * Yes, thank you. It works great across the devices I’ve tested. The live site 
   which it’s functional on is [http://www.amirelsaffar.com](http://www.amirelsaffar.com)(
   July 2014).
 * You could add that (compatibility with [https://wordpress.org/plugins/ajaxify-wordpress-site/](https://wordpress.org/plugins/ajaxify-wordpress-site/))
   to your plugin’s description if you wanted to.
 * I added an additional line of code to my AJAX plugin (Ajaxify WordPress Site).
   js to ensure current-menu-items get highlighted appropriately too. Would you 
   like me to write a separate post in THIS plugin’s forum as to how to achieve 
   this?
 * Many thanks. Hope it wasn’t too much of a headache.
 * Damian
 *  [Manish Kumar Agarwal](https://wordpress.org/support/users/manishkrag/)
 * (@manishkrag)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/responsive-menu-ajax/#post-5096362)
 * So now AWS and Responsive Menu plugins are compatible.
    Cool 🙂

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

The topic ‘Responsive Menu Ajax’ is closed to new replies.

 * ![](https://ps.w.org/responsive-menu/assets/icon-256x256.png?rev=1782326)
 * [Responsive Menu - Create Mobile-Friendly Menu](https://wordpress.org/plugins/responsive-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-menu/reviews/)

## Tags

 * [ajax](https://wordpress.org/support/topic-tag/ajax/)
 * [script](https://wordpress.org/support/topic-tag/script/)

 * 7 replies
 * 3 participants
 * Last reply from: [Manish Kumar Agarwal](https://wordpress.org/support/users/manishkrag/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/responsive-menu-ajax/#post-5096362)
 * Status: resolved