QQ customer service code of a visible and hidden website on the right of the webpage

Source: Internet
Author: User
Tip: you can modify some code before running

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.111cn.net/1999/xhtml"><head><title>QQ customer service code of a visible and hidden website on the right of the webpage</title><meta http-equiv="content-type" content="text/html;charset=gb2312"><!--把下面代码加到<head>与</head>之间--><style type="text/css">Body {font: 12px/1.6em Tahoma, Verdana ;}# siderIMchat_main {margin: 0; width: 158px; color: #333 ;}# siderIMchat_main img {border: 0; /* background: url (http://www.111cn.net/blog/upload/image/20100901190210.gif) no-repeat center; */} # siderIMchat_main a {color: #036 ;}# siderIMchat_main a: hover {color: # f30 ;} # siderIMchat_main. top {background: url (http://www.111cn.net/blog/upload/image/20100901190253.gif); height: 34px ;}# siderIMchat_main. infobox {text-align: center; padding-bottom: 5px; line-height: 14px; padding-left: 5px; padding-right: 5px; background: url (http://111cn.net/blog/upload/image/20100901190332.gif) # bdc5cb no-repeat; color: #000; font-weight: 700; padding-top: 5px ;}# siderIMchat_main. bg {padding-bottom: 5px; padding-left: 5px; padding-right: 5px; background: url (/effect/images/201009010830/siderIM_bg.gif); padding-top: 5px ;}# siderIMchat_main ul {margin: 0 ;}# siderIMchat_main ul li {list-style: none; text-align: center; line-height: 20px ;}. qqkf {background: # ccc; height: 22px; line-height: 22px ;}# siderIMchat_main. close {text-align: center; width: 100% ;}# siderIMchat_main. bottom {background: url (http://www.111cn.net/blog/upload/image/20100901190427.gif); height: 9px; overflow: hidden ;}</style></head><body><div ></div><!--把下面代码加到<body>与</body>之间--><div id="QuickMenu" ><div id="RightMenu" ><div ><div id="siderIMchat_main"><div class="top"></div><div class="infobox">You and I are close at the bullet point</div><!--中间开始--><div class="bg"><ul><li class="qqkf"><b>XX technology online customer service</b></li><li><table width="100%" border="0"><tr><td align="center"></td><td>Try to me</td></tr><tr><td align="center"></td><td>Try to me</td></tr><tr><td align="center"></td><td>Try to me</td></tr><tr><td align="center"></td><td>Try to me</td></tr><tr><td align="center"></td><td>Try to me</td></tr><tr><td align="center"></td><td>Try to me</td></tr><tr><td align="center"></td><td>Try to me</td></tr></table></li></ul><div class="close"><font color="red">Phone: 0000-0000000</font></div></div><!--中间结束--><div class="bottom"></div></div></div></div><div ></div></div><script language=javascript charset="gb2312">Var QuickScrollYLast = 0; var QuickMenu = document. getElementById ("QuickMenu") window. setInterval ("LoadMenu ()", 1); function LoadMenu () {var QuickScrollYDefault; if(document.documentelement&document.doc umentElement. scrollTop) {quickscrollydefa=document.doc umentElement. scrollTop;} else if (document. body) {QuickScrollYDefault = document. body. scrollTop;} else {} QuickPercent =. 1 * (QuickScrollYDefault-QuickScrollYLast); if (QuickPercent> 0) {QuickPercent = Math. ceil (QuickPercent);} else {QuickPercent = Math. floor (QuickPercent);} QuickMenu. style. top = parseInt (QuickMenu. style. top) + QuickPercent + "px"; QuickScrollYLast = QuickScrollYLast + QuickPercent;} var MenuX; var MenuY; var MenuCloseX; var MenuCloseY; function ChangeMenu (id, menuwidth, menuheight) {clearInterval (MenuX); clearInterval (MenuY); clearInterval (MenuCloseX); clearInterval (MenuCloseY); var o = document. getElementById (id); if (o. style. display = "none") {o. style. display = "block"; o. style. width = "1px"; o. style. height = "1px"; MenuX = setInterval (function () {menuopenx (o, menuwidth, menuheight)}, 30); document. getElementById ("menutop "). src = "http://filesimg.111cn.net/2010/03/2010090112460183.gif";} else {document. getElementById ("menutop "). src = "yun_qi_img/20100901124607283.gif"; MenuCloseY = setInterval (function () {menuclosex (o)}, 30) ;}} function menuopenx (o, x, y) {/* -- open x -- */var menucx = parseInt (o. style. width); if (menucx <x) {o. style. width = (menucx + Math. ceil (x-menucx)/5) + "px";} else {clearInterval (MenuX); // MenuY = setInterval (function () {menuopeny (o, y)}, 30);} var menucy = parseInt (o. style. height); if (menucy <y) {o. style. height = (menucy + Math. ceil (y-menucy)/5) + "px";} else {clearInterval (MenuY) ;}} function menuopeny (o, y) {/* -- open y -- */var menucy = parseInt (o. style. height); if (menucy <y) {o. style. height = (menucy + Math. ceil (y-menucy)/5) + "px";} else {clearInterval (MenuY) ;}} function menuclosex (o) {/* -- open x -- */var menucx = parseInt (o. style. width); if (menucx> 0) {o. style. width = (menucx-Math. ceil (menucx/5) + "px";} else {clearInterval (MenuCloseX); // MenuCloseX = setInterval (function () {menuclosey (o)}, 30 );} var menucy = parseInt (o. style. height); if (menucy> 0) {o. style. height = (menucy-Math. ceil (menucy/5) + "px";} else {clearInterval (MenuCloseY); o. style. display = "none" ;}} function menuclosey (o) {/* -- open y -- */var menucy = parseInt (o. style. height); if (menucy> 0) {o. style. height = (menucy-Math. ceil (menucy/5) + "px";} else {clearInterval (MenuCloseY); o. style. display = "none ";}}</script></body></html>
Tip: you can modify some code before running

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.