|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Closing New Window
I'm using a javascript to create a new window. The code I'm using is this:
<SCRIPT LANGUAGE="JavaScript"> <!-- Begin function NewWindow(mypage, myname, w, h, scroll) { var winl = (screen.width - w) / 2; var wint = (screen.height - h) / 2; winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl +',scrollbars='+scroll+',resizable' win = window.open(mypage, myname, winprops) if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); } } // End --> </script> Then to actually do the window I'm using this code: onclick="NewWindow(this.href,'name','500','500','yes');retu rn false;"> Now in the php part, how would I automaticly make the window close without the enduser clicking on something? Thank you for your time in this matter. |
|
#2
|
|||
|
|||
|
Message Moved
Thread moved from 'PHP Coding' to 'Client Side Things' by Matt.
Reason: it wouldn't be php...need to use javascript to do that. |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Closing New Window |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|