in reply to Re: •Re: Simulating internal anchors
in thread Simulating internal anchors

My first reaction: just don't do it. Who are you to say where to scroll my browser? I hate web sites that "take over the driving" from me.

My second reaction: you can do it, at the cost of one redirect. You had the right idea. Print an external redirect that includes an anchor on the first hit, but include a flag so you don't keep looping. On the re-fetch from the browser, generate the appropriate stuff, and put the anchor in the right place.

But please, just don't do it.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: Re: •Re: Simulating internal anchors