Jump to content

create a popup chat window and show it


hassank1

Recommended Posts

You'd probably need to use a timed event using javascript's setInteval() function. Then you could setup your own JS function to check if there are any new messages sent from clients, and obviouslly if so display a new popup window.

 

For something like this you'll need to look into 'AJAX' as JS alone cannot run any scripts from the server; which you'll need to do to check for new chats, send / receive messages, etc.

 

I'd suggest reading a few tutorials so you understand how AJAX works and what it can do for your web applications - then I think you'll have a much better idea of what you need to do...

 

http://www.google.co.uk/search?q=ajax+tutorial

 

Adam

Link to comment
Share on other sites

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.