WordPress.org

Ready to get started?Download WordPress

Forums

Slideshow
Not showing in IE9 (9 posts)

  1. Stylianos
    Member
    Posted 1 year ago #

    I have inserted this wonderful slideshow tool and it works fine in Firefox and Chrome, however is not working in IE9 (I don't know if it is working in other versions). Can you help? My site is: http://www.exerciseanddietguide.com/

    Thanks in advance!!

    Steve

    http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/

  2. Stefan Boonstra
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Steve,

    Internet Explorer seems to suffer from an error generated in Digg's buttons.js file. Somehow the other browser don't seem to be affected by it.

    The code causing the error is in your <head> section, and looks like this:

    <script type="text/javascript">
    (function() {
    	var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
    	s.type = 'text/javascript';
    	s.async = true;
    	s.src = 'http://widgets.digg.com/buttons.js';
    	s1.parentNode.insertBefore(s, s1);
    })();
    </script>

    If you could wrap it in an HTML 'IF' statement, effectively excluding Internet Explorer from that code, the error should disappear.

    The 'IF' statement around the code should look like this:

    <!--[if !IE]>
    <script type="text/javascript">
    (function() {
    	var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
    	s.type = 'text/javascript';
    	s.async = true;
    	s.src = 'http://widgets.digg.com/buttons.js';
    	s1.parentNode.insertBefore(s, s1);
    })();
    </script>
    <![endif]-->

    If that doesn't work, you could simply delete the code to solve the problem.

    Best regards,
    Stefan

  3. Stylianos
    Member
    Posted 1 year ago #

    Thanks Stefan, however I cannot find that code anywhere in the editor. Am i looking in the wrong place?

  4. Stefan Boonstra
    Member
    Plugin Author

    Posted 1 year ago #

    You should be able to find it somewhere in your theme, either in the header or the footer. Otherwise it may be a plugin that outputs it.

  5. rocdev
    Member
    Posted 1 year ago #

    Hey Stefan,

    I've the same problem, only with IE9, but this piece of code doesn't appear in my page. (www.pack-net.es). What else may I do?

    Thanks!

  6. Stefan Boonstra
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Your slideshow seems to be working just fine in IE9.

    Best regards,
    Stefan

  7. rocdev
    Member
    Posted 1 year ago #

    Thanks for the answer, but actually it's not working..
    Instead of a single slider, there is like one first slider (that you can't change the image), and just below, there is other slider that is changing the images..

    The correct way should be just one slider with the side arrows to change the image.

    In all the other browsers work fine (even with IE7, IE8 and IE10).

    Thank you!

  8. Stefan Boonstra
    Member
    Plugin Author

    Posted 1 year ago #

    I'm sorry, you're right. I see you've wrapped the slideshow in an '<h2>' and '<i>' tag. Internet Explorer can't always render this properly, as not officially valid HTML. If you remove the tags from around the slideshow, Internet Explorer 9 should show the slideshow correctly.

  9. rocdev
    Member
    Posted 1 year ago #

    Thank you Stefan! I hadn't noticed the mistake.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.