Scrolling Problem with DIV Visibility

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marco Jardim

    Scrolling Problem with DIV Visibility

    I am developing a website that has a first level "Tree-View Style" way
    to show the texts, however when the script is ran, the DIV that
    appears makes the page jump (scroll up) if it goes beyond the window
    size making the person reading it lose track of what they were
    reading.

    If anyone has any idea of how to fix this problem I would be very much
    obliged,

    Thanks in advance.
  • David Dorward

    #2
    Re: Scrolling Problem with DIV Visibility

    Marco Jardim wrote:
    [color=blue]
    > I am developing a website that has a first level "Tree-View Style" way
    > to show the texts, however when the script is ran, the DIV that
    > appears makes the page jump (scroll up)[/color]

    Sounds like you have href="#". This is even more problematic as the
    situation described in this FAQ entry:

    .... but the solution is the same.

    --
    David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
    Home is where the ~/.bashrc is

    Comment

    • Marco Jardim

      #3
      Re: Scrolling Problem with DIV Visibility

      David Dorward <dorward@yahoo. com> wrote in message news:<cn34hd$pr l$1$8300dec7@ne ws.demon.co.uk> ...[color=blue]
      > Marco Jardim wrote:
      >[color=green]
      > > I am developing a website that has a first level "Tree-View Style" way
      > > to show the texts, however when the script is ran, the DIV that
      > > appears makes the page jump (scroll up)[/color]
      >
      > Sounds like you have href="#". This is even more problematic as the
      > situation described in this FAQ entry:
      > http://jibbering.com/faq/#FAQ4_24
      > ... but the solution is the same.[/color]

      That solved the problem perfectly, thank you very much for your quick reply.

      Comment

      • Lady Chatterly

        #4
        Re: Scrolling Problem with DIV Visibility

        In article <9c8d1fad.04111 30114.490d8656@ posting.google. com> marco.jardim@in forquali.pt (Marco Jardim) wrote:[color=blue]
        >
        >David Dorward <dorward@yahoo. com> wrote in message news:<cn34hd$pr l$1$8300dec7@ne ws.demon.co.uk> ...[color=green]
        >> Marco Jardim wrote:
        >>[color=darkred]
        >> > I am developing a website that has a first level "Tree-View Style" way
        >> > to show the texts, however when the script is ran, the DIV that
        >> > appears makes the page jump (scroll up)[/color]
        >>
        >> Sounds like you have href="#". This is even more problematic as the
        >> situation described in this FAQ entry:
        >> http://jibbering.com/faq/#FAQ4_24
        >> ... but the solution is the same.[/color]
        >
        >That solved the problem perfectly, thank you very much for your quick reply.[/color]

        You are welcome. Very much for their quick reply.

        --
        Lady Chatterly

        "Do you think that Alexander Mulligan, a super-eco commune resident
        who takes a break from his regular commune duties and hikes all the
        way into Bellingham every day in order to use Bruce Burhans' internet
        account so he can engage in trivial bickering, is also a woman named
        Lady Chatterly", who does exactly the same thing?" -- Tom


        Comment

        Working...