Object doesn't support this property of method in IE8 when using the slider.

Gab's Avatar

Gab

23 Dec, 2012 08:48 AM

In IE8 (I don't have IE9) I get an Object doesn't support this property of method error message when using the slider.

It happens when clicking on the arrow of the slider.

What could cause this error?

I have a screenshot attached.

The website is http://www.gablabelle.com/

Thanks.

  1. Support Staff 1 Posted by Dmytro Semenov on 23 Dec, 2012 11:17 AM

    Dmytro Semenov's Avatar

    Hi,

    Try to:

    var photo = parseInt( $(this).attr("data-slider"), 10) ;
    

    Dmitry

  2. 2 Posted by Gab on 23 Dec, 2012 06:20 PM

    Gab's Avatar

    It's better but still get the same error but it's on line 2, character 87746 ... See the attached file please.

    I know that if I remove the following lines I get no error but I lose the transition effect of the slider.

        setTimeout(function() {
            slider.st.transitionSpeed = 600;
        }, 10);
    

    What do you suggest I do?

    Many thanks for your great support.

    P.S.: How do you troubleshoot this exactly? How did you get to that line in the first place? Thanks

  3. Support Staff 3 Posted by Dmytro Semenov on 24 Dec, 2012 03:11 PM

    Dmytro Semenov's Avatar

    Try to increase delay in this settimeout, to 100 for example. And make sure that "slider" variable isn't deleted or changed in any way.

    It's very simple to debug this. Just use unminified version of jQuery and RoyalSlider, then using ie8 profiler in call stack find which function causes this.

    Dmitry

  4. 4 Posted by Gab on 24 Dec, 2012 08:11 PM

    Gab's Avatar

    Hey thank you very much it was not the delay but the easing enabled options that caused this error. Without easing options it was working perfectly, so I added the jquery.easing.min.js to my site and then it was working with easing enabled options.

    Thanks... With the IE8 profiler you helped me help myself today! I'm grateful. ;-)

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • Screen_Shot_2012-12-22_at_11.27.35_PM.png 43.2 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac