Results 1 to 6 of 6

Thread: open an IM client

  1. #1
    Join Date
    Dec 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default open an IM client

    Hello, I am looking for code to open an AOL, MSN, and Yahoo IM client using HTML. I think it is <a href=aol..., but that is not appearing to work for me now. Any help out there? Thanks in advance.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Reliably, you can't. I think AIM installs an aim:// URL handler into Internet Explorer, and I think Yahoo's is yim://, but this is not advisable, as some people won't use IE and I'm not sure about any of this anyway.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Dec 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Well, for this app it is only IE...luckily. Thanks for the reply...yim is one of things I was looking for. Do you have an example?

  4. #4
    Join Date
    Nov 2005
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Wink the code

    hey, i dont know the code for yahoo but here it is for aim

    aim:goim?screenname=YOUR_SCREEN_NAME&message=add+your+message+here+seperated+by+the+plus+signs

    the message section of the code is what will appear in the section of the IM that someone will send to you. I usually have "got+your+screen+name+from+your+site"

    Hope this helps,
    David

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    For AIM:
    Code:
    <!-- Add a buddy -->
    <a href="aim:addbuddy?screenname=me">Add me!</a>
    
    Send a message
    <a href="aim:goim?screenname=me&amp;message=Hello,+me!">Message me!</a>
    See http://www.helpbytes.co.uk/messylinks.php for info on the ymsgr: URL schema (yes, I was wrong ). MSN requires the use of an object. Examples:
    Code:
    <!-- Initialize the MSN Messenger object -->
    <object classid="clsid:B69003B3-C55E-4B48-836C-BC5946FC3B28" codetype="application/x-oleobject" id="MsgrObj" width="0" height="0"></object>
    
    <!-- Add a contact -->
    <a href="#" onclick="MsgrObj.AddContact(0, 'me@msn.com'); return false;">Add Me!</a>
    
    <!-- Send a message -->
    <a href="#" onclick="MsgrObj.InstantMessage('me@msn.com'); return false;">Message me!</a>
    Examples ripped wholesale from the forum systems here at DD.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  6. #6
    Join Date
    Dec 2005
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default THANKS!! twey

    That helped a lot. Thanks for posting.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •