Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > How to get to the top...

Reply
Thread Tools

How to get to the top...

 
 
steven
Guest
Posts: n/a
 
      12-23-2004
....isn't that what we all want?

Now, seriously. I have some long pages where I want links to the top of the
page (or the index, to be precise).
Options:
1. ctrl+home
2. scroll
3. links (text or graphic) at several places on the page.
4. others?

Thoughts:
1. I think most people use the mouse more than the keyboard to navigate.
Don't want to use the keyboard.
2. For me scrolling is much slower than just clicking.
3. That was the idea. I could place a "top" link on, say, every h2. But some
sections are so long that you're not always sure to have such a link on
screen.
Other idea: the navigation menu is in a right-floated div, which is mostly
empty. Could I attach a "top" link to this area?

Wadya think?

Steven


 
Reply With Quote
 
 
 
 
Els
Guest
Posts: n/a
 
      12-23-2004
steven wrote:

> ...isn't that what we all want?
>
> Now, seriously. I have some long pages where I want links
> to the top of the page (or the index, to be precise).
> Options:
> 1. ctrl+home
> 2. scroll
> 3. links (text or graphic) at several places on the page.
> 4. others?
>
> Thoughts:
> 1. I think most people use the mouse more than the keyboard
> to navigate. Don't want to use the keyboard.
> 2. For me scrolling is much slower than just clicking.
> 3. That was the idea. I could place a "top" link on, say,
> every h2. But some sections are so long that you're not
> always sure to have such a link on screen.
> Other idea: the navigation menu is in a right-floated div,
> which is mostly empty. Could I attach a "top" link to this
> area?
>
> Wadya think?


Is that right-floated div still visible then, when at the
bottom of a long section? I'd say add a link to top at the
bottom of every section. Not at the top of it as you seem to
describe by adding it to every <h2>.

Like this:

<h2>section title</h2>
<p>
section text
section text
section text
section text
section text
section text
section text
section text
</p>
<a href="#top">back to top of page</a>

<h2>section title</h2>
<p>
section text
section text
section text
section text
section text
section text
section text
section text
</p>
<a href="#top">back to top of page</a>

Etc.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vo. O resto imperfeito.
- Renato Russo -
Now playing: Squeeze - Tempted
 
Reply With Quote
 
 
 
 
steven
Guest
Posts: n/a
 
      12-23-2004
"Els" <(E-Mail Removed)> wrote in message
news:Xns95C87524F4718Els@130.133.1.4...
> steven wrote:
>
> > ...isn't that what we all want?
> >
> > Now, seriously. I have some long pages where I want links
> > to the top of the page (or the index, to be precise).
> > Options:
> > 1. ctrl+home
> > 2. scroll
> > 3. links (text or graphic) at several places on the page.
> > 4. others?
> >
> > Thoughts:
> > 1. I think most people use the mouse more than the keyboard
> > to navigate. Don't want to use the keyboard.
> > 2. For me scrolling is much slower than just clicking.
> > 3. That was the idea. I could place a "top" link on, say,
> > every h2. But some sections are so long that you're not
> > always sure to have such a link on screen.
> > Other idea: the navigation menu is in a right-floated div,
> > which is mostly empty. Could I attach a "top" link to this
> > area?
> >
> > Wadya think?

>
> Is that right-floated div still visible then, when at the
> bottom of a long section? I'd say add a link to top at the
> bottom of every section. Not at the top of it as you seem to
> describe by adding it to every <h2>.
>


OK, bottom makes sense. I'll try to find a way to place the link in the
bottom right corner of the block. (not very fluent in CSS yet).
My problem remains: what if the paragraph is too long to fit the screen? It
would be nice if there would always be a link visible.

Steven


BTW (Bij de weg?): Je hebt het op je site over Vlaams alsof het een taal is.
Dat is het dus niet. In Vlaanderen wordt Nederlands gesproken. Ik geef toe
dat het voor Nederlanders soms wat moeilijk verstaanbaar is, maar dat is
Achterhoeks voor ons ook.


 
Reply With Quote
 
SpaceGirl
Guest
Posts: n/a
 
      12-23-2004
steven wrote:
> "Els" <(E-Mail Removed)> wrote in message
> news:Xns95C87524F4718Els@130.133.1.4...
>
>>steven wrote:
>>
>>
>>>...isn't that what we all want?
>>>
>>>Now, seriously. I have some long pages where I want links
>>>to the top of the page (or the index, to be precise).
>>>Options:
>>>1. ctrl+home
>>>2. scroll
>>>3. links (text or graphic) at several places on the page.
>>>4. others?
>>>
>>>Thoughts:
>>>1. I think most people use the mouse more than the keyboard
>>>to navigate. Don't want to use the keyboard.
>>>2. For me scrolling is much slower than just clicking.
>>>3. That was the idea. I could place a "top" link on, say,
>>>every h2. But some sections are so long that you're not
>>>always sure to have such a link on screen.
>>>Other idea: the navigation menu is in a right-floated div,
>>>which is mostly empty. Could I attach a "top" link to this
>>>area?
>>>
>>>Wadya think?

>>
>>Is that right-floated div still visible then, when at the
>>bottom of a long section? I'd say add a link to top at the
>>bottom of every section. Not at the top of it as you seem to
>>describe by adding it to every <h2>.
>>

>
>
> OK, bottom makes sense. I'll try to find a way to place the link in the
> bottom right corner of the block. (not very fluent in CSS yet).
> My problem remains: what if the paragraph is too long to fit the screen? It
> would be nice if there would always be a link visible.
>
> Steven
>
>
> BTW (Bij de weg?): Je hebt het op je site over Vlaams alsof het een taal is.
> Dat is het dus niet. In Vlaanderen wordt Nederlands gesproken. Ik geef toe
> dat het voor Nederlanders soms wat moeilijk verstaanbaar is, maar dat is
> Achterhoeks voor ons ook.
>
>


*raised eyebrow*

--


x theSpaceGirl (miranda)

# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
 
Reply With Quote
 
Els
Guest
Posts: n/a
 
      12-23-2004
steven wrote:

> "Els" <(E-Mail Removed)> wrote in message
> news:Xns95C87524F4718Els@130.133.1.4...
>> steven wrote:
>>
>> > ...isn't that what we all want?
>> >
>> > Now, seriously. I have some long pages where I want
>> > links to the top of the page (or the index, to be
>> > precise). Options:
>> > 1. ctrl+home
>> > 2. scroll
>> > 3. links (text or graphic) at several places on the
>> > page. 4. others?
>> >
>> > Thoughts:
>> > 1. I think most people use the mouse more than the
>> > keyboard to navigate. Don't want to use the keyboard.
>> > 2. For me scrolling is much slower than just clicking.
>> > 3. That was the idea. I could place a "top" link on,
>> > say, every h2. But some sections are so long that you're
>> > not always sure to have such a link on screen.
>> > Other idea: the navigation menu is in a right-floated
>> > div, which is mostly empty. Could I attach a "top" link
>> > to this area?
>> >
>> > Wadya think?

>>
>> Is that right-floated div still visible then, when at the
>> bottom of a long section? I'd say add a link to top at the
>> bottom of every section. Not at the top of it as you seem
>> to describe by adding it to every <h2>.
>>

>
> OK, bottom makes sense. I'll try to find a way to place the
> link in the bottom right corner of the block. (not very
> fluent in CSS yet). My problem remains: what if the
> paragraph is too long to fit the screen? It would be nice
> if there would always be a link visible.


<div class="linktotop"><a href="#top">back to top of page</a>
</div>

div.linktotop{text-align:right;font-style:italic;}

> BTW (Bij de weg?): Je hebt het op je site over Vlaams alsof
> het een taal is. Dat is het dus niet. In Vlaanderen wordt
> Nederlands gesproken. Ik geef toe dat het voor Nederlanders
> soms wat moeilijk verstaanbaar is, maar dat is Achterhoeks
> voor ons ook.


Klopt, maar als ik wil aangeven dat ik mijn Vlaamse vriendin
soms niet goed versta, noem ik het Vlaams, net zoals ik zou
zeggen: Ik versta die gozer van Normaal maar half, want hij
spreekt Achterhoeks

Overigens verschillen de meningen daar wel over, er is niet
voor niets een Vlaams woordenboek op de markt. Het mag dan
officieel Nederlands zijn, er zijn erg veel woorden en
uitdrukkingen die in het Vlaams-Nederlands iets heel anders
betekenen dan in het Nederlands-Nederlands om het zo maar even
te zeggen. Het is niet alleen een kwestie van de algemene taal
spreken tegenover de locale taal. Een Achterhoeker die correct
Nederlands spreekt, gebruikt nog steeds andere woorden dan een
Vlaming die correct Nederlands spreekt
</dutch>

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vo. O resto imperfeito.
- Renato Russo -
Now playing: The Trammps - Disco Inferno
 
Reply With Quote
 
Els
Guest
Posts: n/a
 
      12-23-2004
SpaceGirl wrote:

>> BTW (Bij de weg?): Je hebt het op je site over Vlaams
>> alsof het een taal is. Dat is het dus niet. In Vlaanderen
>> wordt Nederlands gesproken. Ik geef toe dat het voor
>> Nederlanders soms wat moeilijk verstaanbaar is, maar dat
>> is Achterhoeks voor ons ook.

>
> *raised eyebrow*


Don't worry, Mir, it's only Dutch (or Flemish, if you'd hear his
pronounciation (sorry Steven, kon ik ff niet laten )

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vo. O resto imperfeito.
- Renato Russo -
Now playing: Adam & The Antz - Stand And Deliver
 
Reply With Quote
 
Els
Guest
Posts: n/a
 
      12-23-2004
steven wrote:

> "Els" <(E-Mail Removed)> wrote in message
> news:Xns95C87524F4718Els@130.133.1.4...
>> steven wrote:
>>
>> > ...isn't that what we all want?
>> >
>> > Now, seriously. I have some long pages where I want
>> > links to the top of the page (or the index, to be
>> > precise). Options:
>> > 1. ctrl+home
>> > 2. scroll
>> > 3. links (text or graphic) at several places on the
>> > page. 4. others?
>> >
>> > Thoughts:
>> > 1. I think most people use the mouse more than the
>> > keyboard to navigate. Don't want to use the keyboard.
>> > 2. For me scrolling is much slower than just clicking.
>> > 3. That was the idea. I could place a "top" link on,
>> > say, every h2. But some sections are so long that you're
>> > not always sure to have such a link on screen.
>> > Other idea: the navigation menu is in a right-floated
>> > div, which is mostly empty. Could I attach a "top" link
>> > to this area?
>> >
>> > Wadya think?

>>
>> Is that right-floated div still visible then, when at the
>> bottom of a long section? I'd say add a link to top at the
>> bottom of every section. Not at the top of it as you seem
>> to describe by adding it to every <h2>.
>>

>
> OK, bottom makes sense. I'll try to find a way to place the
> link in the bottom right corner of the block. (not very
> fluent in CSS yet). My problem remains: what if the
> paragraph is too long to fit the screen? It would be nice
> if there would always be a link visible.


In addition to my previous reply:
You mean you want a link to top visible even if you're only
half way a long section? Divide the section into sub-sections,
and place links below sub-sections where you feel they should
be able to already click and go back.
Would look like this:
<h2>section title</h2>
<p>
section text
section text
<a href="#top">back to top of page</a>
section text
section text
section text
<a href="#top">back to top of page</a>
section text
section text
section text
</p>
<a href="#top">back to top of page</a>

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vo. O resto imperfeito.
- Renato Russo -
Now playing: Adam & The Antz - Stand And Deliver
 
Reply With Quote
 
Els
Guest
Posts: n/a
 
      12-23-2004
Els wrote:

> Would look like this:
> <h2>section title</h2>
> <p>
> section text
> section text
> <a href="#top">back to top of page</a>
> section text
> section text
> section text
> <a href="#top">back to top of page</a>
> section text
> section text
> section text
> </p>
> <a href="#top">back to top of page</a>


Bad code.
<h2>section title</h2>
<p>
section text
section text
</p>
<a href="#top">back to top of page</a>
<p>
section text
section text
section text
</p>
<a href="#top">back to top of page</a>
<p>
section text
section text
section text
</p>
<a href="#top">back to top of page</a>



--
Els http://locusmeus.com/
Sonhos vem. Sonhos vo. O resto imperfeito.
- Renato Russo -
Now playing: Anita Ward - Ring My Bell
 
Reply With Quote
 
steven
Guest
Posts: n/a
 
      12-23-2004
"Els" <(E-Mail Removed)> wrote in message
news:Xns95C88046F2CDEEls@130.133.1.4...
> Els wrote:
>
> > Would look like this:
> > <h2>section title</h2>
> > <p>
> > section text
> > section text
> > <a href="#top">back to top of page</a>
> > section text
> > section text
> > section text
> > <a href="#top">back to top of page</a>
> > section text
> > section text
> > section text
> > </p>
> > <a href="#top">back to top of page</a>

>
> Bad code.
> <h2>section title</h2>
> <p>
> section text
> section text
> </p>
> <a href="#top">back to top of page</a>
> <p>
> section text
> section text
> section text
> </p>
> <a href="#top">back to top of page</a>
> <p>
> section text
> section text
> section text
> </p>
> <a href="#top">back to top of page</a>
>


Nah! You can't be serious, Els.
It will look like http://www.nenya.be/41222-2/lorem.htm.



 
Reply With Quote
 
Els
Guest
Posts: n/a
 
      12-23-2004
steven wrote:

>> <h2>section title</h2>
>> <p>
>> section text
>> section text
>> </p>
>> <a href="#top">back to top of page</a>
>> <p>
>> section text
>> section text
>> section text
>> </p>
>> <a href="#top">back to top of page</a>
>> <p>
>> section text
>> section text
>> section text
>> </p>
>> <a href="#top">back to top of page</a>

>
> Nah! You can't be serious, Els.
> It will look like http://www.nenya.be/41222-2/lorem.htm.


Yup, I wouldn't do that either, I would make it look like
this:

http://locusmeus.com/temp/steven.html

But I probably wouldn't put it in that many times, I'd leave
larger chunks of text between the top-links.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vo. O resto imperfeito.
- Renato Russo -
Now playing: Heather Nova - Walk This World
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
-Re: Re: Serious cache problem - Page_Load get never get called !!! Ryan Park ASP .Net 0 01-04-2005 06:09 PM
Serious cache problem - Page_Load get never get called !!! Ryan Park ASP .Net 2 01-03-2005 05:52 PM
Re: use anonymous but get get an authentication box Curt_C [MVP] ASP .Net 2 09-21-2004 06:39 PM
use anonymous but get get an authentication box =?Utf-8?B?U2hhcmlm?= ASP .Net 0 09-21-2004 01:01 PM



Advertisments