How to auto scroll to a specific point on a page?

Discussion in 'Web Design and Development' started by p0intblank, Aug 11, 2009.

  1. macrumors 68030

    Joined:
    Sep 20, 2005
    Location:
    New Jersey
    #1
    I manage a site for a client of mine through Ning.com. They want me to enable a graphic that when clicked will auto jump the user to a specific point on the page (i.e. 75% down towards the footer) I know how to do this in Wordpress through adding a hash tag, but is this possible on Ning?

    Thanks!
     
  2. Moderator emeritus

    SilentPanda

    Joined:
    Oct 8, 2002
    Location:
    The Bamboo Forest
  3. thread starter macrumors 68030

    Joined:
    Sep 20, 2005
    Location:
    New Jersey
    #3
    I got it. I always seem to figure it out right after posting the thread... Anyway, thanks for the help!
     
  4. macrumors 65816

    ChicoWeb

    Joined:
    Aug 16, 2004
    Location:
    California
    #4
    Actually, you may want to think about using ID's. Not all browser like anchors. Something like...

    <a href="file.html#foo">To point a</a>

    <p><a name="foo" id="foo">Hi, I'm point A</a></p>
     
  5. Mal
    macrumors 603

    Mal

    Joined:
    Jan 6, 2002
    Location:
    Orlando
    #5
    What you posted is an anchor tag. Using the id attribute instead of the name attribute (or in addition, as you posted) is indeed a good recommendation, just wanted to point out that you are still indeed using an anchor (which is the proper way).

    jW
     

Share This Page