• Resolved delgado.lu89

    (@delgadolu89)


    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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author philbuchanan

    (@philbuchanan)

    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)
    Thread Starter delgado.lu89

    (@delgadolu89)

    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

    Plugin Author philbuchanan

    (@philbuchanan)

    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.

    Thread Starter delgado.lu89

    (@delgadolu89)

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

    Great Plugin!

    -Luis

    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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Acordions won't work in any IE’ is closed to new replies.