Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
popup and close window
Name: dan Date: June 3, 2003 at 21:42:21 Pacific OS: win2000 CPU/Ram: tbird 1.8/1GB ddr
Comment:
2 questions:
1)I need to create link to open a new instance of a browser window. Thats easy set the "target" attribute to = "newwindow". But I would like the new window to be a certain size and not have a toolbar or title bar. Yes this is going to be a popup window but not an advertisment or anything.
2)This is related to the above question. How can I close the 1 instance of the browser(the popup window) with a link. I did this in javascript once but internet explorer would warn the user before closing the window with an annoying msgbox. So I would like it to simply close without warning.
Name: Chi Happens Date: June 13, 2003 at 20:23:41 Pacific
Reply:
use javascript:
Do something like:
;
Play with the width and height to get the size you want.
Later, Chi Happens Play with the width and height to get the size you want.
Later, Chi Happens
0
Response Number 2
Name: Chi Happens Date: June 13, 2003 at 20:25:42 Pacific
Reply:
Argg, the forum deleted my HTML formatting my message should read: script language="Javascript" function PopUpWindow(tURL,Width,Height) { var Options = "width=" + Width + ",height=" + Height; window.open(tURL,'',Options); } /script
Summary: somebody please help with this question i need to know how to open and close ports using Visual Basic, please someones gotta know :) Thx As i was typing this i found a site at: http://www.jspayne.com...
Summary: Hi there, In the right hand corner of a form you have the minimise, maximise and close buttons. Is it possible to edit the code of one of these buttons? And if so how do you do it? Thanks in advance ...
Summary: Is it a good idea to write GUI programs, for use in an OS like Windows? I only know java, and I want to write a program (not applet) that has a few complex tasks like opening and closing windows, and...