Results 1 to 3 of 3

Thread: Stop from scrolling to top??

  1. #1
    Join Date
    Aug 2012

    Stop from scrolling to top??

    All -

    Please forgive my lack of knowledge here. I'm a performing artist doing what I can to get my site up to par.

    Does anyone have any idea how to prevent this site from scrolling back up to the top when I share links to certain sections/anchors on the page?


    Any help would be greatly appreciated.

    - Doc

  2. #2
    Join Date
    Jul 2008
    urbana, il
    not sure what you are talking about.
    your interaction behavior is not normal on the page.
    i would guess you are using some sort of jquery plugin that alters the normal scrolling and link-handling.

    that said, i didn't notice it scrolling in firefox, but the "#href"s also didn't stick, so there is no way to share a certain section...

    what exactly are you having issues with?
    Create, Share, and Debug HTML pages and snippets with a cool new web app I helped create: pagedemos.com

  3. #3
    Join Date
    Dec 2005
    I'm not sure i fully understand but if i do you don't need javascript.
    <div class="header">
    <a href="#firstpost">the first post</a>
    <a href="#middle">middle posting</a>
    <a href="#3rdpost">the third post</a>
    <a name="firstpost">the first post</a>
    content here
    <a name="middle"></a>
    content here
    <a name="3rdpost"></a>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Recent Articles