|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Popup Window
How can I have an HTML webpage open in a simple popup window!?!?! Thanks.
Matt - |
|
#2
|
||||
|
||||
|
check out the open() method of window (that is: window.open() ) for details on that sort of (annoying) 'functionality'.
I'm not a real big fan of pop up windows of any kind, in case you didn't notice ![]() |
|
#3
|
|||
|
|||
|
Try this :
<body onload="javascript:window.open('mypage.html','new_win','width=590, height=428, resizable=yes,toolbar=no,menubar=no,location=no,status=no,directories=no,scrollbars=yes')"> ![]() |
|
#4
|
||||
|
||||
|
The simplest way is just to use something like:
<a href="/my/new/html/page.html" target="_blank"> which will open the clicked link in a new browser window, but without any of the control you have over window parameters that a javascripted option would give you. |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > Popup Window |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|