SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2008
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    smooth horizontal scrolling to anchors

    im designing a site with some anchors house inside a fixed width DIV with the overflow hidden. everything works great but the one thing i would like the page to do is scroll to the anchored DIVs smoothly... ive found a TON of smooth scrolling javascript code, but none seem to work because the scrolling is meant to be horizontal, not vertical... can anyone help? im very very new to javascript so i dont know how to tailor the code to my needs.

  2. #2
    SitePoint Guru
    Join Date
    Sep 2006
    Posts
    731
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by zhsxh View Post
    im designing a site with some anchors house inside a fixed width DIV with the overflow hidden. everything works great but the one thing i would like the page to do is scroll to the anchored DIVs smoothly... ive found a TON of smooth scrolling javascript code, but none seem to work because the scrolling is meant to be horizontal, not vertical
    SoftDivScroll
    Tab-indentation is a crime against humanity.


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
  •