Jump to content

proactive pop up window


Alicia

Recommended Posts

pop up windows are more javascript based then anything

this is a clickable link that opens a pop up window hopefully it helps

<head>
<script type="text/javascript">
<!--
function myPopup2() {
window.open( "http://www.google.com/", "myWindow", 
"status = 1, height = 300, width = 300, resizable = 0" )
}
//-->
</script>
</head>
<body>
<form>
<input type="button" onClick="myPopup2()" value="POP2!">
</form>
<p onClick="myPopup2()">CLICK ME TOO!</p>
</body>

Hi,

 

Actually what i am looking for is when I click on a button from my end, the popup window will automatically display on the other end (visitor's browser).. just like a proactive invite chat alert or invitation..  I dont mean it pop up in my browser.

 

Hope somebody can assist on this..

 

thanks..

You will have to create a loop that cycles ever X seconds on the client PC using javascript. Every time the loop executes, have it do a check in the background using AJAX to see if you have sent a new message.

 

You will need a solid understanding of AJAX to do this. If you don't have one, then you should start with learning it and doing a bunch of tutorials until you have a good feel for it.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.