Jump to content

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.

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.