Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript anythingslider in wordpress and IE7 – object doesn’t support this property or method

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #45059
    boblodi
    Member

    Hi there – I am having a problem much like the one in this thread from 2011 – [https://css-tricks.com/forums/discussion/14848/anythingslider-ie7-errors-in-video-js/p1](https://css-tricks.com/forums/discussion/14848/anythingslider-ie7-errors-in-video-js/p1 “IE7 thread from 2011”) – but with the wordpress AnythingSlider plugin. It’s only in IE7 (rather, I have tested IE7 and IE9 – I don’t have 8 running) and it comes up as soon as I click the ‘next’ arrow or turn on auto-play.

    I am on board with the conditional commenting as outlined in the link above, but have no idea where/how to make that edit in wordpress since the theme my client is using doesn’t seem to have a header that loads the scripts.

    I found this in the plugin code –
    // If video is selected, load the video extension
    if ( $video !== ‘false’ ) {

    wp_enqueue_script( ‘jquery.anythingslider.video’, JTD_INSERTJS . ‘/jquery.anythingslider.video.min.js’, array( ‘jquery’ ), ‘1.3b’ );
    wp_enqueue_script( ‘swfobject’, JTD_INSERTJS . ‘/swfobject.js’, ”, ‘2.2’ );

    }

    but I sort of don’t want to try and mess with that without having more of a clue.

    Any help appreciated. Thanks!

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.