Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #15758

Re: How jump inside page?

Newsgroups comp.lang.javascript
Subject Re: How jump inside page?
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <O9D1s.2871$wr2.2283@newsfe08.iad> <5047237c$0$6192$ba4acef3@reader.news.orange.fr> <NJ92s.11$vo3.7@newsfe06.iad>
Message-ID <XnsA0C75AB4754F6eejj99@194.109.133.133> (permalink)
Date 2012-09-07 06:55 +0000

Show all headers | View raw


robertbaer@teranews.com wrote on 07 sep 2012 in comp.lang.javascript:

>    No matter what i do, it does not work; the onload does not "initiate" 
> the "label" location; all i get is a jump to top of page.
>    Verified this by starting from one page (r.html) to go the other 
> (s.html):
> <script>
> onload = function() { window.location.replace('s.html#skipp'); }
> </script>
> 
>    So..how can i get it to work?

What is
'not "initiate" the "label" location;',
some ancient initiation rite?

just put

<a name='skipp'></a>

somewhere,
and start debugging by directly loading [in your browser]:

<http://www.yoursite.xx/yourdir/s.html#skipp>


-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

How jump inside page? "robertbaer@teranews.com" <robertbaer@localnet.com> - 2012-09-05 00:27 -0700
  Re: How jump inside page? SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-09-05 12:03 +0200
    Re: How jump inside page? "robertbaer@teranews.com" <robertbaer@localnet.com> - 2012-09-05 11:12 -0700
    Re: How jump inside page? "robertbaer@teranews.com" <robertbaer@localnet.com> - 2012-09-06 15:47 -0700
      Re: How jump inside page? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-09-07 06:55 +0000

csiph-web