Page 1 of 1

automatic opening windows

Posted: Thu Jun 02, 2005 10:58 am
by Smackie
Im not for sure what kind of scripting codes to use for a messenger :?: i am making a messenger and I want to make it where when a user sends a message to someone it will popup on the other users screen.. can someone tell me how i could go along and make something like that?


Thanx
Smackie

Posted: Thu Jun 02, 2005 11:19 am
by Burrito
assuming you can get past pop-up blockers:

Code: Select all

<script>
function openWin(){
  var nw = window.open('nw.php','nwi','width=400,height=400');
  nw.focus();
}
</script>

Posted: Thu Jun 02, 2005 11:21 am
by Smackie
Thank you