Reply to Re: [PHP] LINKS

Your name:

Reply:


Posted by Rory Browne on 09/25/05 02:36

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
>
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация