Results 1 to 3 of 3

Thread: Dock Content & Safari 3.1

  1. #1
    Join Date
    Apr 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Dock Content & Safari 3.1

    1) Script Title: Dock Content

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ockcontent.htm

    3) Describe problem: Doesn't seem to work in Safari 3.1.

    I believe it was a-okay in 3.0.x. Anybody know of a workaround?

    Troy

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Looks like a problem with Safari 3.1 and the scrollTop property. Try changing the line:

    Code:
    obj.pagetop=truebody().scrollTop;
    to:

    Code:
    obj.pagetop=window.pageYOffset? window.pageYOffset : truebody().scrollTop;

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    TTW (05-02-2008)

  4. #3
    Join Date
    Apr 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Thanks for taking a look at that! I had played a little with that line and others, but wasn't finding anything that did the trick.

    Troy

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
  •