|
Posted by Alan Little on 10/31/82 11:47
Carved in mystic runes upon the very living rock, the last words of Alan
Little of comp.lang.php make plain:
> Carved in mystic runes upon the very living rock, the last words of
> <sloank@charter.net> of comp.lang.php make plain:
>
>> anyone know how to set up a 'speed bump'.
>>
>> once someone clicks on an external link on my website, I want a page
>> to come up that says you are leaving my site, with an OK button.
>> once the OK button is clicked I want to go to the original link that
>> was clicked on.
>>
>> any ideas.
>
> Yep -- don't do it. It can be done quite easily with PHP, but if I
> were on your site and ran into your "speed bump", I doubt I'd be back.
> If I clicked the link in the first place, that's where I want to go.
> Making me click again is only going to be annoying.
Actually, upon further consideration, I can think of a situation where it
might be valid, if you want to make it clear that the visitor is leaving
your site, and you have no connection with the site they're going to. For
example, if you were writing an article on hate groups, and wanted to
link to some of their sites.
So, just write a script that takes a URL in the query string, display
your warning, and output the URL in a link. Then link to that in your
article or whatever.
But if it's just for, "Aww, shucks -- are you sure you want to leave my
excellent site????" -- don't do it. You will be regarded with contempt by
your visitors.
--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Navigation:
[Reply to this message]
|