SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2010
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Object doesn't support this property or method, with slideshow???

    I have been working on a image slideshow for my client. When I test the slideshow in Internet Explorer 8, it displays the following:
    1. jquery.smoothDivScroll-1.1-min.js Line: 14 Char: 1
    2. jquery.smoothDivScroll-1.1.js Line: 15 Char: 2
    3. index.htm Line: 13 Char: 2


    All displaying this error "Object doesn't support this property or method".

    Here is the line for index.htm:
    Code JavaScript:
    $("#makeMeScrollable").smoothDivScroll("option","autoScrollDirection");

    The line for jquery.smoothDivScroll-1.1.js is
    Code JavaScript:
    $.widget("thomaskahn.smoothDivScroll", {

    The line for jquery.smoothDivScroll-1.1-min.js is
    Code JavaScript:
    $.widget("thomaskahn.smoothDivScroll",{options:{scrollingHotSpotLeft:"div.scrollingHotSpotLeft",scrollingHotSpotRight:"div.scrollingHot

    Here is the link to my slideshow The slideshow I am using is http://www.smoothdivscroll.com/.

    Can someone please tell me how I can fix those errors? Thanks in advance.

  2. #2
    SitePoint Wizard bronze trophy chris.upjohn's Avatar
    Join Date
    Apr 2010
    Location
    Melbourne, AU
    Posts
    2,189
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    It looks like you simply need to move the jquery.ui.widget.js file to just after the jquery.min.js file

  3. #3
    Under Construction silver trophybronze trophy AussieJohn's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    776
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    In addition to SgtLegend's suggestion, also only include either the minified or regular version of the smoothDivScroll script (not both).
    var details = {
    . . web: "afterlight.com.au",
    . . photos: "jvdl.id.au",
    . . psa: "usethelatestversion.com"
    }


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •