
Originally Posted by
simonf
It's inconceivable that something that describes itself as a reference could get something as simple as a window.open feature string so wrong.
Code:
window.open(
'http://www.dynamicdrive.com/',
'',
'width=800,height=600,resizable'
);
Though windows should,
- generally be named
- have both the scrollbars and resizable feature set
- not be sized or positioned (leave that to the OS/user agent)
I also find it amazing that the "reference" fails to mention that setTimeout and setInterval can take function references as well as strings.
Mike
Bookmarks