SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Member flav's Avatar
    Join Date
    Apr 2006
    Posts
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Looking 4 Javascript auto scroll

    Hi guys

    Im a realy javascript novice. I have a site that is about 1200px high and want it so when a user clicks on a link in the main menu it automatically scrolls to the designated page. Anyone got a script that can do this?
    I would also want the horizontal menu to be sticky so it always floats at the top of the page ..

    Thanks

    Ryan
    Web Graphics Expert:
    E-Covers, Ministes, Web Graphics for Marketers!

  2. #2
    I ♥ PHP
    Join Date
    Jul 2003
    Location
    Melbourne, Australia
    Posts
    579
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The menu floating you would do with an absolutely positioned CSS div. As for the scrolling, you can use named anchors to do what you want I think, with no Javascript required.

  3. #3
    SitePoint Member flav's Avatar
    Join Date
    Apr 2006
    Posts
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks, but id prefer the automatic scrolling for effect.... or something snazzy
    Web Graphics Expert:
    E-Covers, Ministes, Web Graphics for Marketers!


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
  •