Using JS to achieve personalized QQ status display

Source: Internet
Author: User
Tags define
Js| Show now many websites have QQ online customer service method, but the picture style is also a few, there is no simple way to completely define their own text, pictures to show more personalized?

<script>
var online= new Array ();
</script>
<!--detection is online-->
<script src= "http://webpresence.qq.com/getonline?Type=1&76312395:" ></script>
<script>
<!--if online, display the following content-->
if (online[0]==0)
document.write ("<a class= ' qqb ' Target=blank href=" http://wpa.qq.com/msgrd?) V=1&uin=76312395&site=webjx.com&menu=no "title= current offline or stealth" >QQ:76312395</a> <font color=# 656565> current off-line or stealth </font> ");
Else
<!--if offline, the following content is displayed-->
document.write ("<a class=" Qqa "Target=_blank href=" Http://wpa.qq.com/msgrd? V=1&uin=76312395&site=webjx.com&menu=no "title=" current Online ">QQ:76312395</a> <font color=" # ff0000 "><b> current online </b></font>");
</script >

Look at the code, okay? Now you can modify the contents of document.write ("") to completely define your personality online status.

Related pictures QQ Online customer Service special effects please look here

Http://www.webjx.com/htmldata/2005-04-09/1112981890.html



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.