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

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.