• I’m sure there is a simple solution to this but I appear to be overlooking it…

    I have several pages which load containing text in a specifically sized “div window.” I’m trying to keep all my content limited to a single page. The problem is, when I click on a link (anchor) to go to another part on the page, the whole page reloads and takes the user to the bottom of the page basically defeating the purpose of what I am trying to accomplish. What I’d like to do is have the window “scroll” in the “div window” while staying on the current page.

    I’ve tried frames but apparently these don’t work properly in WordPress.

    My code looks similar to this:

    <div id=”data” style=”overflow: auto; height: 260px; position:relative;”>
    A bunch of text in here with links to anchors in the same document.
    </div>

    Seems simple right? Well, I’m banging my head against the wall trying to find a solution.

    Any help would be greatly appreciated.

    Thanks.

  • The topic ‘Scrolling in a "Div" Window’ is closed to new replies.