You are here: Re: Display same-page linked item on top - How to? « HTML « IT news, forums, messages
Re: Display same-page linked item on top - How to?

Posted by Beauregard T. Shagnasty on 08/14/07 13:07

Richard wrote:

> I've got a simple page at http://home.comcast.net/~CaptQueeg/_Mian.html.
> It's got an Aptana section at the bottom which is the target of a link
> near the top of the page.

...which doesn't work as written. You may have better luck if you use:

<h2><a name="Aptana">Aptana</a></h2>

> When the Aptana link is clicked, I'd like the page to display the
> Aptana section at the very top. How can I do that with simple HTML?

Simple? Since the Aptana is at the bottom, the page will jump to the
anchor "name" when the link is clicked. If there was more content below
it, it may end up at the top of a browser window.

If you are implying you want it to be *first* at the top of a page, you
will either need to write some scripting to rearrange the whole page, or
as suggested, another page with only that content.

What is the reason you want to do this?

--
-bts
-Motorcycles defy gravity; cars just suck

 

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

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