WordPress.org

Ready to get started?Download WordPress

Forums

Accordion Shortcodes
[resolved] Acordions won't work in any IE (6 posts)

  1. delgado.lu89
    Member
    Posted 11 months ago #

    I recently built a site using Accordion Shortcodes on some of the more important pages of the website. Accordions work beautifully in ervey browser except in any version of IE.

    In IE, the accordions do not expand or do anything for that matter when clicked. I'm guessing it has to do with the JQuery since there is no movement in IE but I am not sure seeing that I am not too experienced with cross-browser issues.

    Any suggestions? This website was considered complete until I discovered this issue which is a MAJOR problem.

    Below is the website:
    http://nuweb5.neu.edu/align/degree-programs/ms-in-bioinformatics/

    Any ideas or suggestions would be greatly appreciated!

    Thanks,

    Luis

    https://wordpress.org/plugins/accordion-shortcodes/

  2. Phil Buchanan
    Member
    Plugin Author

    Posted 11 months ago #

    Hi Luis,

    I've tested the plugin extensively in IE (all the way down to IE8) and can confirm it works across a number of sites. This is likely an issue with a conflicting plugin on your site or, as you mention, jQuery.

    I did notice you are loading 3 different versions of jQuery in you <head> (see below for versions I can see). I would suggest starting by only loading a single version that is compatible with all your jQuery reliant code.

    • 1.10.2 on line 33 (the version of jQuery built in to WordPress, and likely what my plugin is calling)
    • 1.9.0 on line 56 (from Google)
    • 1.6.2on line 61 (also from Google)
  3. delgado.lu89
    Member
    Posted 11 months ago #

    The two other versions of jQuery in my <head> are those of my homepage slider which MUST function ALONG with the accordions in IE.

    How would I determine what version of jQuery is compatible with all of my jQuery reliant code?

    Any guidance, tips and suggestions are greatly appreciated.

    Thanks,

    Luis

  4. Phil Buchanan
    Member
    Plugin Author

    Posted 11 months ago #

    Are the other versions of jQuery hard coded into the <head> or is your slider another plugin? Plugins should use the wp_enqueue_script() function to load all their scripts and any dependencies, which my plugin does. The use of that function is to avoid conflicts exactly like this. It allows you to specify within your plugin code if you need jQuery so WordPress can handle loading a single copy of jQuery for all plugins to use.

    If you have hard coded the other versions of jQuery, I would suggest removing them and testing everything. The slider should still work with another version of jQuery (especially a newer one). You never need 3 versions of jQuery running on a page.

    If the other versions of jQuery are added automatically by other plugins, I would suggest contacting their developers. They are doing it wrong. This doesn't seem to be an issue with this plugin though, so there is nothing I can really do to help beyond this advice.

    Hope you get this worked out.

  5. delgado.lu89
    Member
    Posted 11 months ago #

    Thanks so much for the info. I have managed to get everything working properly.

    Great Plugin!

    -Luis

  6. csnodgr2
    Member
    Posted 5 months ago #

    I'm having a similar issue, the accordions don't work in IE 11. I checked my code and don't see multiple calls of jQuery.

    http://www.credentialingexpertsinc.com/faqs/

Reply

You must log in to post.

About this Plugin

About this Topic