Results 1 to 3 of 3

Thread: Smooth scrolling horizontal Frame/Div/Table [?] with hidden overflow

  1. #1
    Join Date
    Jan 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Smooth scrolling horizontal Frame/Div/Table [?] with hidden overflow

    I'm currently producing a single page portfolio where the entire page scrolls vertically (with a height of around 5000px). On the page I want a horizontal gallery. It will look 500px high and 100% wide but will physically wider; around 3000px or so. Inside that space i'll have multiple images and div boxes (or tables if I have to) that will allow for descriptions and titles of the images. The overflow will be hidden to disable the scroll bar.

    So far, that isn't a problem. The issue I am having having is using achor points (with smooth scrolling) at each section of the gallery and not make the page scroll physically to that anchor point, but rather the gallery scroll there.

    The best example of what I want is found here:
    http://imagemechanics.com.au/#!/pages/the-process

    This is, in a way, exactly what I want (I can make my own adjustments to the layout). Where I click on link in the navigation and it scrolls smoothly to that point.

    I have no idea how they've done it and after looking into their code I still can't work it out.

    Can anyone push me into the right direction or show me how it can be done? I'd appreciate it so much.

  2. #2
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    try this one:

    http://scripterlative.com/files/softscroll.htm

    it can scroll horizontal, vertical even diagonal.

    Good Luck
    _____________________

    David Demetrius // davejob
    _____________________

  3. #3
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,891
    Thanks
    2
    Thanked 441 Times in 435 Posts

    Default

    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

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
  •