At 11:58 AM 1/13/05, Jeffrey Hardy wrote: ...
Here's an example of a call to window.open with the 'properties' argument:
onclick="window.open(this.href, '_blank', 'width=500, height=500, menubar=no'); return false;"
Nice summary, Jeff.
One correction: you're not supposed to embed spaces in the properties list, so your example should read:
'width=500,height=500,menubar=no'
Also, while it's convenient to insert javascript event handlers into HTML markup when demonstrating an example, in practice it's probably best to leave the script out of the markup and apply it from a separate script file at window.onload.
Regards,
Paul
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************