Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    Edinburgh, UK
    Posts
    402
    Thanks
    2
    Thanked 1 Time in 1 Post

    Smooth Scoll w/o JS

    Is it possible through css and none Javascript methods to make a div move smoothly from one place to another upon clicking it?

    I can't see how it would be possible without JS, but on guy's site I just can't find the Javascript that does the moving.

    Any ideas?

    Rich
    Rich

    "An expert is a person who has made all the mistakes that can be made in a very narrow field."

  • #2
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,387
    Thanks
    32
    Thanked 288 Times in 282 Posts
    Maybe you can provide us with a link to this "guy's site" so we can see what he did?
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Edinburgh, UK
    Posts
    402
    Thanks
    2
    Thanked 1 Time in 1 Post
    Sure thing: ShaunInman. Either I'm missing something blatant, or there's some sort of magic going on there. lol.

    Cheers
    Rich

    "An expert is a person who has made all the mistakes that can be made in a very narrow field."

  • #4
    Senior Coder
    Join Date
    Jan 2005
    Location
    Memphis, TN
    Posts
    1,801
    Thanks
    8
    Thanked 131 Times in 129 Posts
    No "magic" but a rather large yet well commented .js file:

    http://www.shauninman.com/assets/js/si-object.js

    that's assuming your talking about his drop down/drop up navigation.
    Stop making things so hard on yourself.
    i is tugbucket :: help raise tugburg :: Whitehaven Kiwanis


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •