How to get UserPro to work nice with Jquery + IE8 – UserPro Forums https://forum.userproplugin.com/forums/topic/how-to-get-userpro-to-work-nice-with-jquery-ie8/feed/ Thu, 02 May 2024 02:09:44 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/how-to-get-userpro-to-work-nice-with-jquery-ie8/#post-29789 <![CDATA[How to get UserPro to work nice with Jquery + IE8]]> https://forum.userproplugin.com/forums/topic/how-to-get-userpro-to-work-nice-with-jquery-ie8/#post-29789 Wed, 26 Mar 2014 14:53:23 +0000 Nate82 I don’t know how to show I’m a verified purchaser, I’m “RockItPro” on Codecanyon which shows the purchase badge, I spoke to Ahmed a few times.

My question: I use Jquery Tabs and Accordion and for some reason only in IE 8 these 2 things do not work when UserPro is activated: testsite.rockitpro.com/category/beatswithhooks/

Beat, Info, Rate, License should all be tabs but it’s like Jquery isn’t loading when UserPro is activated, this also screws up this page where all the faq questions should be using Jquery Accordion: testsite.rockitpro.com/faq/

Both pages throw an error Object doesn’t support this property or method jquery.min.js?ver=1.11.0, line 2 character 27128

Works fine in Chrome, Firefox, IE 10+…just not IE8 and unfortunately I still have 300+ customers a month using IE8 🙁

]]>
https://forum.userproplugin.com/forums/topic/how-to-get-userpro-to-work-nice-with-jquery-ie8/#post-29825 <![CDATA[Reply To: How to get UserPro to work nice with Jquery + IE8]]> https://forum.userproplugin.com/forums/topic/how-to-get-userpro-to-work-nice-with-jquery-ie8/#post-29825 Wed, 26 Mar 2014 16:04:01 +0000 admin Hi Nate, would you mind putting the purchase code in a private reply?

I am very happy to see you a member here. I’ll try to help you.

UserPro depends on jQuery, are you sure it gets loaded? It should be enqueue the default way, wp_enqueue_scripts() are you sure it’s not your theme or another conflicting plugin?

]]>
https://forum.userproplugin.com/forums/topic/how-to-get-userpro-to-work-nice-with-jquery-ie8/#post-29828 <![CDATA[Reply To: How to get UserPro to work nice with Jquery + IE8]]> https://forum.userproplugin.com/forums/topic/how-to-get-userpro-to-work-nice-with-jquery-ie8/#post-29828 Wed, 26 Mar 2014 16:13:21 +0000 Nate82 https://forum.userproplugin.com/forums/topic/how-to-get-userpro-to-work-nice-with-jquery-ie8/#post-29833 <![CDATA[Reply To: How to get UserPro to work nice with Jquery + IE8]]> https://forum.userproplugin.com/forums/topic/how-to-get-userpro-to-work-nice-with-jquery-ie8/#post-29833 Wed, 26 Mar 2014 16:43:49 +0000 Nate82 I’m running the debugger in IE8 and the first error is “object doesn’t support this property or method” on:

this.element=$(document.createElement("div")).addClass("lv_window"),this.element.append(this.skin=$("<div>").addClass("lv_skin")),this.skin.append(this.shadow=$("<div>").addClass("lv_shadow").append(this.canvasShadow=$("<canvas>").attr(a))),this.skin.append(this.bubble=$("<div>").addClass("lv_bubble").append(this.canvasBubble=$("<canvas>").attr(a))),this.skin.append(this.sideButtonsUnderneath=$("<div>").addClass("lv_side_buttons_underneath").append($("<div>").addClass("lv_side lv_side_left").data("side","previous").append($("<div>").addClass("lv_side_button lv_side_button_previous").data("side","previous")).hide()).append($("<div>").addClass("lv_side lv_side_right").data("side","next").append($("<div>").addClass("lv_side_button lv_side_button_next").data("side","next")).hide()).hide()),this.element.append(this.content=$("<div>").addClass("lv_content")),this.element.append(this.titleCaption=$("<div>").addClass("lv_title_caption").hide().append(this.titleCaptionSlide=$("<div>").addClass("lv_title_caption_slide").append(this.title=$("<div>").addClass("lv_title")).append(this.caption=$("<div>").addClass("lv_caption")))),this.element.append(this.innerPreviousNextOverlays=$("<div>").addClass("lv_inner_previous_next_overlays").append($("<div>").addClass("lv_button lv_button_inner_previous_overlay").data("side","previous")).append($("<div>").addClass("lv_button lv_button_inner_next_overlay").data("side","next").hide())),this.element.append(this.buttonTopClose=$("<div>").addClass("lv_button_top_close close_lightview").hide()),J.Relative.create(),J.Top.create(),J.Thumbnails.create(),this.skin.append(this.spinnerWrapper=$("<div>").addClass("lv_spinner_wrapper").hide()),$(document.body).prepend(this.element),Canvas.init(this.canvasShadow[0]),Canvas.init(this.canvasBubble[0]),this.ctxShadow=this.canvasShadow[0].getContext("2d"),this.ctxBubble=this.canvasBubble[0].getContext("2d"),this.applyFixes(),this.element.hide(),this.startObserving()

Something to do with the lightview js maybe? Any way to completely disable lightview to see if that’s the problem? Is excanvas included? I’m reading that lightview works in IE8 but only with excanvas http://forum.nickstakenburg.com/index.php?p=/discussion/2374/lightview-problem-on-ie

]]>
https://forum.userproplugin.com/forums/topic/how-to-get-userpro-to-work-nice-with-jquery-ie8/#post-29846 <![CDATA[Reply To: How to get UserPro to work nice with Jquery + IE8]]> https://forum.userproplugin.com/forums/topic/how-to-get-userpro-to-work-nice-with-jquery-ie8/#post-29846 Wed, 26 Mar 2014 17:56:23 +0000 Nate82 After some quick Google’ing I found this code and added the direct url to excanvas from your plugin folder:

Added that to my header.php file and everything seems ok with UserPro, my tabs and accordion load fine. I noticed you included excanvas.js in the scripts folder but you don’t call it anywhere? This seems like it would make your plugin compatible with IE8

]]>