Reply to Re: Jump to the top of the screen

Your name:

Reply:


Posted by Jukka K. Korpela on 04/01/07 08:03

Scripsit BootNic:

>> When I click on a menu item it will usually reference a section of
>> the current page.
>>
>> How can I make that section jump to the top of the screen?
- -
> [url] http://groups.google.com/groups/search?&q=top+of+page [/url]

The question wasn't about "top of page" links (though it might easily be
misread that way, due to the somewhat strange formulation) but about a link
that points to a section (element) of the current page. The OP apparently
wants that section to appear, after following the link, at the very of the
canvas (though the confuses the canvas with the screen, perhaps because
someone made a nasty trick on his browser and prevented it from running in
any more but fullscreen :-) ).

That would be a frequently asked question too, and the answer is that
normally it appears there whatever you do, except when the destination is
near the end of the page, in which case you should just accept that. (Adding
dummy content or margin at the end is not advisable.) In any case, this is a
browser feature that might (at most) be affected using something
browser-specific.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[Back to original 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

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