not a css question, but what that button does is redirect you back to
the same page and put you into position to view the bookmark (which is
the "#" sign).

for example if yahoo wanted to put such a link on their main page, it
would look like "http://yahoo.com/#";.  that "#" sign is the start of a
bookmark, and would look something like "http://yahoo.com/#recentnews";
if it was used normally.  clicking on that link would then take make
the top of your viewing area show the element on the page with the id
of "recentnews", such as <h1 id="recentnews">.  that's it!

to do the same thing with a little javascript, it would look something
like "<a onclick="window.scrollTo(0, 0)">[Back to Top]</a>"
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to