HTML question: Going to an anchor on loading page

Matthew Carpenter matt
Mon May 17 11:39:10 PDT 2004


If you're trying to stick on the same page (not change pages), you can
just make an A tag like <A HREF="#nexttarget">
Then, as long as you have <A NAME="nexttarget"> defined somewhere in
that page, you're all set!


On Sun, 20 Oct 2002
02:23:28-0400 Joel Hammer<Joel at hammershome.com> wrote:

> Thanks. That sounds like it will work. But, I'll won't try it until
> tomorrow morning.
> 
> Joel
> 
> 
> On Sun, Oct 20, 2002 at 01:08:33AM -0500, ronnie gauthier wrote:
> > When you generate the page save it to file in a tmp folder with a
> > unique name (r5j43cu8.html). Feed the browser a Location header
> > pointing to the file with the anchor in the url.
> > 
> > $go_to = "http://domain.com/tmp/r5j43cu8.html#you_are_here";
> > 
> > print "Location: $go_to","\n\n";exit(0);
> > 
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc ->
> http://www.linux-sxs.org/mailman/listinfo/linux-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.linux-sxs.org/pipermail/linux-users/attachments/20021021/eb03e6bd/attachment.pgp


More information about the Linux-users mailing list