Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Promotion Slider + WP Coda Slider = IE8 conflict?? WordPress

  • SOLVED

Hi all,

I'm running Promotion slider (http://wordpress.org/extend/plugins/promotion-slider/) and (http://wordpress.org/extend/plugins/wp-coda-slider/) on a client's site, and everything works great in all browsers, except Internet Explorer 8 (and I assume 7 too). Both plugins break when on a page together :(

No problems in the error logs of other browsers, but I get slapped with this error in IE8:

<blockquote>Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET CLR 1.1.4322; .NET4.0C)
Timestamp: Thu, 27 Jan 2011 10:47:22 UTC

Message: Invalid argument.
Line: 104
Char: 486
Code: 0
URI: http://www.naturlea.com/wp-includes/js/jquery/jquery.js?ver=1.4.2
</blockquote>

On this page: http://www.naturlea.com/testimonials/

So obviously it's a conflict of sorts, but I really can't understand how. Doesn't seem like a good idea digging around in jquery.js and changing stuff, I don't know where to start.

Many thanks,
Marcel

Answers (2)

2011-01-27

Rashad Aliyev answers:

Hello,

Be sure that you're using the latest version of Coda slider and put this code to your template.



<?php
if (function_exists('c3m_wpcodaslider') ) {
c3m_wpcodaslider('myslider', '10', '4', 'dynamicArrows:false');
?>


2011-01-27

Jens Filipsson answers:

I don't know if this will work, but it's worth a try. Maybe you can include your jquery from google, just to see if it makes a difference.

Add this code to your <strong>functions.php</strong> file:

// Load jQuery
if ( !is_admin() ) {
wp_deregister_script('jquery');
wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"), false);
wp_enqueue_script('jquery');
}