![]() |
|
|
|
|
|||||||
| Javascript / Java Applets Are you a JavaScript guy? Do you need help with JavaScript? This is the place to talk about anything related to Java. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi, I open pop-up window in my website using the following script:
HTML Code:
<SCRIPT TYPE="text/javascript"> <!-- function form(myform, windowname) { if (! window.focus)return false; window.open('', windowname, 'height=200,width=450,left=100,top=100 scrollbars=no'); myform.target=windowname; return true; } //--> </SCRIPT> |
|
#2
|
||||
|
||||
|
Add this line in your source code. When someone visitor of your website clicks on the "close" link then a pop-up box will close.
HTML Code:
<a href="javascript:window.close()">Close</a> |
|
#3
|
|||
|
|||
|
|
![]() |
| Tags |
| account, code, hosting, management, popup, website |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|