Re: LINKS
| From: | Rory Browne | Date: | Sat, 24 Sep 2005 23:36:45 +0000 |
| Subject: | Re: LINKS | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-223131@lists.php.net to get a copy of this message | ||
On 9/24/05, php @ net mines <php@netmines.gr> wrote:
> Hi all
>
> is there a way to have a program detecting when a link was clicked and
> automatically opening another window (that can "plugged-in" in any website -
> running php of course)?
That would be done using client-side JS.
you would define a JS function to do the opening, and then you would
iterate through all <a> tags setting the onClick handler to call your
function.
Then again on the other hand, maybe you shouldn´t. Maybe you should
just tell your client where to stick his pop-up. I personally
consider an unrequested pop-up to be a virus, and send it straight to
my pop-up blocker.
> I know... I hate pop-ups too but a client asked for it...
>
> Thanks
>
> M
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>