Loading ...
Sorry, an error occurred while loading the content.

Re: [JavaScript] Re: Request

Expand Messages
  • Denis Caggiano
    Tks to all for the help, Im looked for a Gtalk and MSN detection but and found nothing... For now, when the user click the Gtalk button, I send the URL to a
    Message 1 of 7 , Jun 5, 2009
    • 0 Attachment
      Tks to all for the help,
      Im looked for a Gtalk and MSN detection but and found nothing...
      For now, when the user click the Gtalk button, I send the URL to a popup to
      open the application and then close that popup, if the user dont have the
      app, the popup open and close and nothing happen...Same to the MSN... :(
      Not exactly what I looking for, but...

      Let me know if somebody have another solution.

      Tks.


      [Non-text portions of this message have been removed]
    • Philip Chan
      I found the code to detect whether the client has installed MSN. I have no idea whether it works on FF or Opera and so on. varMSN_Check;
      Message 2 of 7 , Jun 5, 2009
      • 0 Attachment
        I found the code to detect whether the client has installed MSN. I have no
        idea whether it works on FF or Opera and so on.

        varMSN_Check;
        document.write("<object
        classid='clsid:F3A614DC-ABE0-11d2-A441-00C04F795683'
        codeType='application/x-oleobject' height=Ɔ' id='MsgrObj'
        width=Ɔ'></object>"+
        "<object classid='clsid:FB7199AB-79BF-11d2-8D94-0000F875C541'
        codeType='application/x-oleobject' height=Ɔ' id='MsgrApp'
        width=Ɔ'></object>");

        if("undefined" != typeof(MsgrObj) && null != MsgrObj.object &&
        "undefined"!=typeof(MsgrApp)&&null!=MsgrApp.object){
         if(MsgrObj.LocalState==1)
        MSN_Check=false;    
        else
        MSN_Check=true;    
        }else
        MSN_Check=true;

        functionMSG_SEND(mail){    
        if(MSN_Check){       
        varState=MsgrObj.LocalState;
        if(1!=State)if(mail!=MsgrObj.LocalLogonName)
        MsgrApp.LaunchIMUI(mail);
        else{
        MsgrApp.Visible=1;MsgrApp.LaunchLogonUI();
        }
        }
        }



        Thanks,
        Philip
      • Denis Caggiano
        Here is the page with your code: var MSN_Check; document.write(
        Message 3 of 7 , Jun 9, 2009
        • 0 Attachment
          Here is the page with your code:

          <
          html> <
          body> <
          script> var
          MSN_Check;
          document.write("<object classid='clsid:F3A614DC-ABE0-11d2-A441-00C04F795683'
          codeType='application/x-oleobject' height='0' id='MsgrObj'
          width='0'></object>"+"<object
          classid='clsid:FB7199AB-79BF-11d2-8D94-0000F875C541'
          codeType='application/x-oleobject' height='0' id='MsgrApp'
          width='0'></object>");

          var
          MsgrObj = document.getElementById('msgrObj') var
          MsgrApp = document.getElementById('msgrApp')
          if
          ("undefined" != typeof(MsgrObj) && null != MsgrObj.object && "undefined"!=
          typeof(MsgrApp) && null!=MsgrApp.object){

          if(MsgrObj.LocalState==1)

          MSN_Check=

          false;
          else

          MSN_Check=

          true; }
          else

          MSN_Check=

          true; function
          MSG_SEND(mail) {
          if (MSN_Check) {

          var State=MsgrObj.LocalState;

          if(1!=State)

          if(mail!=MsgrObj.LocalLogonName)

          MsgrApp.LaunchIMUI(mail);

          else {

          MsgrApp.Visible = 1;
          MsgrApp.LaunchLogonUI();

          }
          }
          }
          </
          script> <
          input type=button onclick="MSG_SEND('deniscaggiano@...')" /> </
          body> </
          html>
          But nothing happens...HELP!!!


          [Non-text portions of this message have been removed]
        • Wellington
          functionMSG_SEND(mail){¡¡¡¡¡¡¡¡ if(MSN_Check){¡¡¡¡¡¡¡¡¡¡¡¡¡¡ varState=MsgrObj.LocalState; if(1!=State)if(mail!=MsgrObj.LocalLogonName)
          Message 4 of 7 , Jul 27 8:31 AM
          • 0 Attachment
            functionMSG_SEND(mail){¡¡¡¡¡¡¡¡
            if(MSN_Check){¡¡¡¡¡¡¡¡¡¡¡¡¡¡
            varState=MsgrObj.LocalState;
            if(1!=State)if(mail!=MsgrObj.LocalLogonName)
            MsgrApp.LaunchIMUI(mail);
            else{
            MsgrApp.Visible=1;MsgrApp.LaunchLogonUI();
            }
            }
            }

            --- In JavaScript_Official@yahoogroups.com, "Philip Chan" <comphilip@...> wrote:
            >
            > I found the code to detect whether the client has installed MSN. I have no
            > idea whether it works on FF or Opera and so on.
            >
            > varMSN_Check;
            > document.write("<object
            > classid='clsid:F3A614DC-ABE0-11d2-A441-00C04F795683'
            > codeType='application/x-oleobject' height=Ɔ' id='MsgrObj'
            > width=Ɔ'></object>"+
            > "<object classid='clsid:FB7199AB-79BF-11d2-8D94-0000F875C541'
            > codeType='application/x-oleobject' height=Ɔ' id='MsgrApp'
            > width=Ɔ'></object>");
            >
            > if("undefined" != typeof(MsgrObj) && null != MsgrObj.object &&
            > "undefined"!=typeof(MsgrApp)&&null!=MsgrApp.object){
            > ¡¡if(MsgrObj.LocalState==1)
            > MSN_Check=false;¡¡¡¡¡¡¡¡
            > else
            > MSN_Check=true;¡¡¡¡¡¡¡¡
            > }else
            > MSN_Check=true;
            >
            > functionMSG_SEND(mail){¡¡¡¡¡¡¡¡
            > if(MSN_Check){¡¡¡¡¡¡¡¡¡¡¡¡¡¡
            > varState=MsgrObj.LocalState;
            > if(1!=State)if(mail!=MsgrObj.LocalLogonName)
            > MsgrApp.LaunchIMUI(mail);
            > else{
            > MsgrApp.Visible=1;MsgrApp.LaunchLogonUI();
            > }
            > }
            > }
            >
            >
            >
            > Thanks,
            > Philip
            >
          Your message has been successfully submitted and would be delivered to recipients shortly.