Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

Totally frustrated, please help  RSS feed

 
Ryan Knight
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
I am opening a new window with a normal link and then using
window.resizeTo(340,340);
to resize the window, so far so good, but then i also want to do this:
'toolbar=no,location=no,directories=no,status=no,menubar=noscrollbars=no,resizable=no'
but try as i might with document or window or parent etc...i just cant get it to work.
Am beginning to suspect its not supported and my option would be to open the window and from that window to pop another window then close the last window...which is a little too complicated and a PITA.
ANy help appreciated.
Thanks in advance,
-Ryan
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!