|
Posted by Darko on 07/30/07 12:59
On Jul 30, 2:37 pm, "rf" <r...@invalid.com> wrote:
> "Darko" <darko.maksimo...@gmail.com> wrote in message
>
> news:1185797418.664931.231360@l70g2000hse.googlegroups.com...
>
>
>
> > Hi,
>
> > I have a problem with <a name="..."></a>, <h2 id="...">...</h2>, or
> > whatever I put it like. This is the scenario:
>
> > I page 2.html, I have the following code:
> > <a name="video"></a>
> > <h2>Video</h2>
>
> > I would like to jump from page 1.html into 2.html, to location video.
> > So I put the code:
> > <a href="2.html#video">video</a>
> > into 1.html.
>
> > Now, these are just examples, actually it's help.php?
> > sec=mainPage#structure, but I hope that doesn't matter. The problem
> > is, when I click on the link "video" in 1.html, I get transferred to
> > 2.html, but on the top of the page. The absurd thing is that now when
> > I'm on the top of this page, when I just focus on the address bar as
> > it is and press enter, it jumps into right position. What do I do
> > wrong?
>
> 1) Provide a URL that demonstrates the behaviour, or the misbehaviour, you
> are experiencing.
>
> 2) Try to provide some coherant explanations of what your problem is.
>
> --
> Richard.
Yeah, it was stupid problem. I had a div that I put all the contents
into, and made that div display:none. When the page loaded, I made the
div visible so the user doesn't see elements arranging while the page
is not fully loaded. So, the Firefox probably tried to go to '#video'
the moment it got on the page, but it wasn't there until I showed the
div.
Thanks anyway
Navigation:
[Reply to this message]
|