Gossamer Forum
Home : General : Internet Technologies :

Re: [Stealth] Page positioning within a window...

Quote Reply
Re: [Stealth] Page positioning within a window... In reply to
The following may be painfully obvious to most of you, but it wasn't to me...(I'm REALLY new to this!)

this was the original code for each link down the page:

<a
href = "#"

and this is how I changed it to meet my needs:

<a
href = "javascript:void(0)".

Apparently the "#" means to reload the window with the same page, thus moving the scroll position back to the top (of course).

The the "javascript:void(0)" simply means to 'do nothing', thus leaving the page in it's original scroll position (not having done anything!).


Subject Author Views Date
Thread Page positioning within a window... jharwood 3272 Sep 21, 2003, 4:22 PM
Thread Re: [jharwood] Page positioning within a window...
Stealth 3118 Sep 21, 2003, 8:10 PM
Post Re: [Stealth] Page positioning within a window...
jharwood 3084 Sep 28, 2003, 2:36 PM