At 9:56 AM -0500 12/8/06, R. Mariotti wrote:
Gentlemen;

As most of the php we create and maintain deals with browser interaction, one of those actions is to close the current window if/when the user click on the appropriate supplied button.

I have such a button on my page(s) that contains a tag that reads:

onclick="window.close();"

and I've tried numerous variations of the same such as:
-snip-

Can someone please advise as to how one should accomplish this task?


A javascript list might be better. But try:

<a href="#" onclick="window.parent.close()">Close Window</a>

Also review:

http://www.sitepoint.com/article/pop-ups-dead-links

hth's

tedd


--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to