chat/IntegrationUtility.js.aspx

  •  03-12-2008, 1:25 PM

    chat/IntegrationUtility.js.aspx

    I am attempting to run messagenger on a dating site like this.

    <script src="chat/IntegrationUtility.js.aspx"></script>

     

    <a href="#" onclick="Chat_OpenContact('USERNAMEHERE')"><img src="chat/Images/avatar.gif" />Chat</a>
     
    Correct me if I am wrong but when this link is clicked I figure it should open a chat with the user in the "USERNAMEHERE" link.
    Which should pop up a window on the clients computer and my computer right?
     
    What I am seeing is when I click the link it opens a window on my computer but not on the other computer and when I attempt to chat with the other user it tells me they are off-line.
     
    So ME>>>>>Click Link>>>>>Get Window>>>>>Attempt chat>>>>>>>User offline
    Other User>>>>>>No window shows up
     
    What am I missing here?
    Do I need to load some other script to insure the window loads on the other computer when it gets a chat request?
     
    Once I get this problem resolved that will lead to this question.
    Is there a way to pop up a window to ask if the other user wish to accept that chat?
     
    i.e.
     
    Lets say we have two users. One called "SADCPL" and the other called "HAPPYCPL"
     
    User "HAPPYCPL" wished to chat with "SADCPL" so they click the chat link
    <a href="#" onclick="Chat_OpenContact('SADCPL')"><img src="chat/Images/avatar.gif" />Chat</a>
     
    Which should open a window on "SADCPL"'s computer that says something like.
     
    "User : HAPPYCPL wishes to chat with you. Do you want to accept the chat? Yes or No"
     
    Then on "HAPPYCPL"'s chat window is should say it waiting to for the other user to respond to the request.
    Once "SADCPL" accepts the chat "HAPPYCPL" should be informed the other user has accepted.
    If "SADCPL" rejects the chat "HAPPYCPL" should be informed of the rejection and given an option to just close the window.
     
     
     
     
View Complete Thread