You are here: Re: Can a Hyperlink call a Javascript confirm prompt? « HTML « IT news, forums, messages
Re: Can a Hyperlink call a Javascript confirm prompt?

Posted by Lasse Reichstein Nielsen on 03/20/06 03:23

"Chris Ianson" <notme@hotmail.com> writes:

> Yep that I know, but there are many links on this page and none of them are
> blocked by Google's popup blocker, except the one with the code you gave for
> the confirmation prompt. Bizarre.

Probably an attempt at detecting which popups follow from user interaction
and which doesn't. Since the last click made with the mouse before the popup
attempts to open was to the alert window, and not the page itself, it counts
as an unrequested popup.
It's just a guess, but it could explain the observed behavior.

/L
--
Lasse Reichstein Nielsen - lrn@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'

 

Navigation:

[Reply to this 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

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