You are here: Problem with inpage link « HTML « IT news, forums, messages
Problem with inpage link

Posted by Darko on 07/30/07 12:10

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?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация