Postback and Messenger 5.0

Last post 10-16-2008, 12:18 AM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  10-15-2008, 9:25 AM 44901

    Postback and Messenger 5.0

    Version 5 looks really wonderful!!!

    However as I see, when Messenger is openned it is impossible to browse a page in the background with postbacks (message about Messenger leaving occurs).

    Do you already have some common solution how to workaround this issue?

    Thanks,
    Vasyl

  •  10-16-2008, 12:18 AM 44926 in reply to 44901

    Re: Postback and Messenger 5.0

    Hi,
     
    You can try to popup a new window for the new messenger .
     
    Please try this code :
     
     
    <%@ Page Language="C#" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
      <title>Messenger</title>
      
      <script src="CuteSoft_Client/CuteChat/IntegrationUtility.js.aspx?Chat_StartPartialMessenger=1"></script>
      
      
      <script>
      window.onerror=function(a,b,c)
      {
       alert([a,b,c,window.onerror.caller]);
      }
      </script>
      
      <script>
       var urlbase=__cc_urlbase;//__cc_urlbase='CuteSoft_Client/CuteChat/' , defined in IntegrationUtility.js.aspx
       function OpenOldMessenger()
       {
        window.open(urlbase+"Messenger.aspx","",'status=1,width=300,height=500,resizable=1');
       }
       function OpenNewMessenger()
       {
        window.open(urlbase+"NewMessenger.aspx","",'status=1,width=720,height=560,resizable=1');
       }
       function JumpNewMessenger()
       {
        location.href=urlbase+"NewMessenger.aspx";
       }
       function ShowNewMessenger()
       {
        //call the function in IntegrationUtility.js.aspx
        Chat_OpenMessenger();
       }
      </script>
     </head>
     <body>
      <button onclick="OpenOldMessenger();" type="button">Show Old Messenger</button>
      <button onclick="OpenNewMessenger();" type="button">Show New Messenger In New Window</button>
      <button onclick="ShowNewMessenger();" type="button">Show New Messenger</button>
      <button onclick="JumpNewMessenger()" type="button">Jump To New Messenger Page</button>
     </body>
    </html>
View as RSS news feed in XML