Advanced Search

Results 1 to 3 of 3

Thread: Slick Custom Scrollbar IE 7

  1. #1
    Join Date
    Feb 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Slick Custom Scrollbar IE 7

    1) Script Title: Slick Custom Scrollbar
    2) Script URL (on DD):http://www.dynamicdrive.com/dynamicindex11/scrollc.htm

    3) Describe problem: It works in firefox, but not in ie7.

    The problem it gives in ie7 is:

    SCRIPT1028: Expected identifier, string or number
    slickcustomscroll.js, line 165 character 96
    Last edited by jscheuer1; 02-29-2012 at 04:41 PM. Reason: edited for bug reports

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    27,558
    Thanks
    42
    Thanked 2,880 Times in 2,852 Posts
    Blog Entries
    12

    Default

    It only happens in certain IE versions for which the script is not rated (IE 7 and less). The reason is there are two extra commas. One on line 165, and another on line 178

    Use this fixed version of the script:

    slickcustomscroll.js
    Last edited by jscheuer1; 02-29-2012 at 04:40 PM. Reason: edited for bug reports
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Aug 2004
    Posts
    9,874
    Thanks
    3
    Thanked 956 Times in 945 Posts
    Blog Entries
    15

    Default

    Ah the surprises IE throws ya. Thanks for the fix John, I've updated the official .js file with it.
    DD Admin

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
  •