Help in creating a live web based message alert

Discussion in 'JavaScript' started by otsu76, Dec 17, 2009.

  1. #1
    Hi, new to javascript, apologies for that. I am working on a project that would benefit from a live message alert system instead of waiting for a page refresh.

    I am not sure of the connotations regarding resource usage so it may not be possible but the scenario is this:

    USER1 is on a page of my project site, USER2 logs in and sees that USER1 is also logged in, he wishes to talk to him so buzzes him from whatever page USER2 is on. USER1 despite not refreshing or anything gets a message on screen (not a popup) saying something like USER2 TRYING TO CONTACT - ACCEPT? DECLINE?

    Is this even possible?? Would it impact page loading times etc??

    Any thoughts on this greatly appreciated.

    PS Merry Christmas everybody!!!

    :)
     
    otsu76, Dec 17, 2009 IP
  2. SIPHILP

    SIPHILP Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could go along the lines of using a jQuery plugin like

    plugins.jquery.com/project/jquerychat
     
    SIPHILP, Dec 18, 2009 IP