Question

I would like to create a bubble notification in the center of the page (without refreshing), and make that bubble unable to be closed. I want the bubble to be able to somehow be enabled by the web server. I have flexibility as to how the client and server connect. The bubble doesn't need to (but can) remove any content, but it does need to cover the content. I also need the bubble to appear if the user loads the page after the trigger has been activated.

Summary:

  • after a server event, send a message to the client (somehow...)
  • make a bubble in a client language to cover content of page (must scroll with screen)
  • keep this bubble there until another server event happens

I'm sure this will help: server specs: - Apache/2.2.22 (Unix)

What server and client code would I use to implement a connection like this?

Était-ce utile?

La solution

There are a number of different things you could use. You should probably take a look at Node.js and websockets. Alternatively, you can check out some recent solutions, such as Angular.js (by Google) and Meteor. Good luck!

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top