[KLUG Members] Opening a popup with Java Script

Adam Tauno Williams awilliam at whitemice.org
Mon Jun 20 22:41:11 EDT 2005


I have the following line in a PHP script that contains this line -
echo "<A HREF=\"javascript:void(0)\" onClick=\"ref =
window.open(\'http://throw/hedera/popup.php\'); ref.focus();\">Edit
Response</A>";
- which from everything I've read should open a popup at the given url.
The link appears but when clicked on nothing happens,  the current
window does not move and a popup does not appear.

The output of this PHP script is embedded inside another application, so
to run a form I need to popup a browser window external to the current
page.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.kalamazoolinux.org/pipermail/members/attachments/20050620/06c5f786/attachment.bin


More information about the Members mailing list