Results 1 to 5 of 5

Thread: Scrolling HTML Bookmarks script

  1. #1
    Join Date
    Jun 2016
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Scrolling HTML Bookmarks script

    DD Demo: http://dynamicdrive.com/dynamicindex...markscroll.htm

    Hi,

    Tried out this script and it works very well.

    However, does anyone know how to set an offset to the bookmark? Because my menu stays at the top of the page - even when scrolling, the bookmark is hidden by the menu. What I want is the page to stop scrolling a set number of pixels above (or below) the bookmark.

    Thanks for any help

    Cheers,

    Seb
    Last edited by Beverleyh; 06-29-2016 at 12:53 PM. Reason: DD demo link added

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    We can't diagnose something we can't see. Saying that, try looking into the offsetTop property in conjunction with sticky headers.

    If you need more help, please provide a basic/reduced test page that demonstrates the problem, and somebody can take a look.

    You can use a free service such as JSBin, CodePen or JSFiddle.
    Last edited by Beverleyh; 06-29-2016 at 06:05 AM.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    Jun 2016
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi,

    Thanks for the quick reply. Here's the page I'm working on: http://www.artwebs.co.uk/colintro.asp

    I've tried the offsetTop property, and changed it to -10 - but it doesn't work. Click the options for "collections" on the page to see a demo of what I mean.

    Thanks for your help!

    Seb

  4. #4
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    So this is a Dynamic Drive script?

    I've moved it to the appropriate forum so that folks can offer assistance knowing what to work with.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  5. #5
    Join Date
    Jun 2016
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks Beverleyh,

    This is my first time on this forum - didn't realise I'd put the question in the wrong category!

    Cheers,

    Seb

Similar Threads

  1. Scrolling HTML bookmarks
    By jscheuer1 in forum Bug reports
    Replies: 0
    Last Post: 02-25-2012, 05:03 AM
  2. move Scrolling HTML Bookmarks horizontally
    By castanets in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 11-12-2010, 09:57 AM
  3. Scrolling HTML bookmarks
    By dondante in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 09-07-2009, 10:10 AM
  4. Resolved Scrolling HTML bookmarks onload
    By sylver in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 05-19-2009, 11:36 AM

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
  •