Sina Sliding door technology _javascript skills

Source: Internet
Author: User
Tags eval
<ptml> <pead> <meta http-equiv= "Content-type" content= "text/html; charset=gb2312 > <title> New page 3</title><style type= "Text/css" > <!--/*css for all begin*/html , body, UL, OL, Li, p, H1, H2, H3, H4, H5, H6, form, fieldset, table, TD, IMG {margin:0; padding:0; border:0;} Td,p,div,li,select,input,textarea {font-size:12px;} UL {list-style-type:none; text-align:left;} select,input {vertical-align:middle;} Body {color: #333; Background:url (http://image2.sina.com.cn/ty/yayun2006/idx061115img/yyh_lmy_011.gif) repeat-x;} #wrap {width:750px; margin:0 auto; clear:both; background: #fff;} . Clearit {Clear:both} a{color: #039; text-decoration:underline;} /*a:visited {color: #666; text-decoration:underline;} * * a:hover{color: #F00; text-decoration:underline;} . linkn a{Color: #039; text-decoration:none;} . linkn a:hover{Color: #F00; text-decoration:underline;} . LINKFFF a{Color: #fff; text-decoration:none;} . LINKFFF a:hover{color: #F00; teXt-decoration:underline;} . linkad5a00 a {color: #AD5A00; text-decoration:none;} . linkad5a00 a:hover {color: #f00; text-decoration:underline;} . linkC00 a {color: #C00; text-decoration:none;} . linkC00 a:hover {color: #C00; text-decoration:underline;} . link666 a {color: #666; text-decoration:none;} . link666 a:hover {color: #F00; text-decoration:underline;} h1 {font-size:16px; Font-family:simhei font-weight:500; text-align:center; padding:5px 0 3px 0;} h2 {font-size:14px; color: #fff; display:block; clear:both; text-align:left;} h3 {font-size:14px; font-weight:200; Background:url (http://image2.sina.com.cn/ty/yayun2006/idx061115img/yyh_lmy_ 017.gif) no-repeat 2px 7px; border-bottom:2px solid #BBE5F1; padding:5px 0 2px 17px; margin:5px 0;} span{font-size:12px; font-weight:200; float:right; margin-right:5px;} UL {margin:5px 0 0 5px; color: #039;} Li {padding:3px 0 3px 10px; Background:url (http://image2.sina.com.cn/ty/yayun2006/idx061115img/yyh_lmy_010.gif) No-repeat 3px7PX;} . Nostyle Li {padding:3px 0; background:none;} Ul.two {margin:8px 0 0 12px;} . Two Li {padding:3px 0 3px 10px; Background:url (http://image2.sina.com.cn/ty/yayun2006/idx061115img/yyh_lmy_010.gif) No-repeat 3px 7px; Float:left; width:110px;} . F14 Li {font-size:14px; padding:1px 0 4px 10px;} . blkt {MARGIN-TOP:6PX} . list14 {font-size:14px; line-height:23px;} /*css for all end*//*css for shared module end*//*css for main begin*/. LeW {width:254px;} . MiW {padding:0 5px;} . riw {width:140px; background: #F3F3F3;} . Riw Li {padding:3px 0 3px 6px; Background:url (http://image2.sina.com.cn/ty/yayun2006/idx061115img/yyh_lmy_009.gif) No-repeat 0 7px;} . cont_le {background: #EBF8FB; border:1px solid #A3D8E0; border-top:none; border-bottom:none; padding:8px 0 8px 0;} . cont_all {background: #EBF8FB; border:1px solid #A3D8E0 border-top:none; padding:8px 0 8px 0;} . text {padding:4px 0 8px 0; text-align:center;} . pic {margin:8px 0; text-align:center;} . textl {Text-align:lefT Padding:3 0 8px 0;} . Blankt {margin-top:8px} . picfff {Text-align:center} . picfff img {border:1px solid #fff; margin:5px 0;} . Parta. jdt {background: #D11C00; padding:5px 0 5px 0; text-align:left;} . Parta. cont_le p {float:left; margin:0 0 0 6px; Text-align:center;} . Parta. MiW. Top {height:17px; Background:url (http://image2.sina.com.cn/ty/yayun2006/idx061115img/yyh_lmy_014.gif) No-repeat; Text-align:right; padding:5px 18px 0 0; margin-top:8px;} . Parta. MiW. Top a {color: #C00; text-decoration:underline;} . Parta. MiW. Top a:hover {color: #C00; text-decoration:none;} . Parta. MiW. cont {background: #FFFBEA; border:1px solid #FC6; border-top:none; padding-bottom:5px; border-bottom:none;} . Parta. MiW. cont p{line-height:19px; margin-left:15px; . Parta. MiW. cont. Line {Background:url (http://image2.sina.com.cn/ty/yayun2006/idx061115img/yyh_lmy_015.gif) Repeat-x; height:1px; font-size:0; margin:5px 15px;} . Parta. MiW top1 {height:15px; Background:url (http://image2.sIna.com.cn/ty/yayun2006/idx061115img/yyh_lmy_016.gif) No-repeat; Text-align:left; padding:4px 0 0 23px; margin-left:0; _margin-left:2px;} . Parta. MiW. TOP1 H2 {color: #000;} . Parta. MiW. cont1 {border:1px solid #FC6; border-top:none; padding:5px 0 8px 0;} . Parta. Ship {background: #E0E5F2 URL (http://image2.sina.com.cn/ty/yayun2006/idx061115img/yyh_lmy_013.gif) No-repeat Bottom; width:120px; height:109px; border:1px solid #A0B2D8; margin:10px 0 0 9px;} /* Tags/* menu1off,.menu1on,.menu2off,.menu2on,.menu3off,.menu3on,.menu4off,.menu4on {height:20px; color: #039; Text-align:center; Background: #B2DBE1; Cursor:pointer; padding-top:3px;} menu1on,.menu2on,.menu3on,.menu4on{color: #C00; background: #fff; border-left:1px solid #34AEBE; border-right:1px Solid #34AEBE;} /* Label a*/. menua1off,.menua1on,.menua2off,.menua2on{height:16px width:52px; color: #666; text-align:center; Backgroun D:url (http://image2.sina.com.cn/ty/yayun2006/idx061115img/yyh_lmy_020.gif) repeat-x; CUrsor:pointer; padding-top:3px;} . menua1on,.menua2on{color: #C00; font-weight:bold Background:url (http://image2.sina.com.cn/ty/yayun2006/ Idx061115img/yyh_lmy_019.gif) Repeat-x; }. Menucont {background: #F3F3F3;} . menucont th {text-align:center; font-weight:200; padding:5px 0 3px 0;} . Menucont. NOBG td {background: #fff; padding:5px 0 3px 5px; border-right:1px solid #F3F3F3;} . Menucont. noBg1 td {background: #F3F3F3; padding:5px 0 3px 5px; border-right:1px solid #FFF;} . Parta. Tuku {background:url (http://image2.sina.com.cn/ty/yayun2006/idx061115img/yyh_lmy_022.gif) no-repeat; margin-left:5px; height:150px; Text-align:center;} . Parta. Tuku p {float:left; margin:0 10px; _margin:0 8px;} . Parta. tuku img {padding:5px; border:1px solid #D0D1D2; background: #fff; margin:8px 0;} . Parta. shipyy {border:1px solid #FC6; margin-top:5px;} . Parta. shipyy H2 {color: #C00; background: #FFEAAF; padding:5px 0 3px 5px;} . Parta. shipyy img {vertical-align:middle;}. adv {margin:8px 0;} . leftw {width:605px; padding-right:5px; text-align:center;} . leftw. LeW {width:140px} . leftw. LeW img {margin-bottom:8px} . leftw. LeW p {text-align:left; line-height:19px; padding:0 5px; margin-top:5px;} . leftw. LeW. pictext {text-align:left; line-height:19px; padding-right:5px; margin-bottom:8px;} . leftw. LeW. pictext img {float:left; margin:0 7PX;} . MIDW {padding:5px 0 0 5px; text-align:left;} . MIDW table {margin-bottom:8px;} . MIDW td {Line-height:19px; padding:3px 0px;} . MIDW span {float:none; color: #929292;} . midw. More span {float:right} . midw. cC00 {color: #C00; font-weight:bold;} . rightw {width:140px; background: #F3F3F3;} . rightw p {float:left; margin:5px 0 5px 8px; _margin:5px 0 5px 5px;} . rightw. cont {text-align:left; line-height:19px; text-align:left; padding:8px 0 0 8px;} . rightw. Date {margin-top:8px} . rightw. Date td {color: #666; padding:1px 0;} . rightw. Date td {background: #fff; padding:1px 0; color: #039;} . RIghtw. Date cF60 {color: #F60; font-weight:bold;} . rightw. Fenx {margin-top:8px; margin-left:3px;} . rightw. Fenx td {PADDING:5PX 0 2px 5px; background: #fff; text-align:left;} . rightw. blk000 img {border:1px solid #000;} /*css for main end*/--> </style> </pead> <body onload= "Change_menu (1)" > <table width= "254 "cellspacing=" 0 "class=" Parta "> <tr><td class=" LeW "valign=" Top "width=" 254 "> <!--D--> <!--D--> <!--tab ranking begin--> <script language= " JavaScript "type=" Text/javascript >//<! [cdata[var cur_index=1 var num=4//Value record label number var settime function getobj (objname) {if (document.getElementById) { Return eval (' document.getElementById (' + objname + ') '); }else if (document.layers) {return eval ("document.layers[" + objname + "']"); }else{return eval (' document.all. ' + objname); }} functIon Change_menu (Index) {for (Var i=1;i<=num;i++) {//+ supports up to 8 tags/if (getobj ("con" +i) &&getobj ("M" +i)) {getobj ("con" +i). Style.display = ' None '; Getobj ("M" +i). ClassName = "Menu" +i+ "Off"; } if (Getobj ("con" +index) &&getobj ("M" +index)) {getobj ("con" +index). Style.display = ' block '; Getobj ("M" +index). ClassName = "Menu" +index+ "on"; } cur_index=index if (cur_index<num) {cur_index++} else{cur_index=1} Settime=settimeout ("Change_menu (Cur_index)", 2000)//Set delay time} function Menu (c_index) {cleartimeout (settime ) Change_menu (C_index)}//]]> </script> <table cellspacing= "0" class= "Clearit" > <tr &GT;&LT;TD height= "3" ></td></tr> <tr><td > Video interview </td> <td id= "M1" onclick= "M ENU (1) "class=" Menu1on "title=" star "> Star </td> <td width=" 1 "></td> <td id= "m2" onclick= "menu (2)" class= "Menu2off" title= "swimming" > Swimming </td> <td width= "1" ></td> &LT;TD id= "M3" onclick= "menu (3)" class= "Menu3off" title= "Close-up" > Feature </td> <td width= "1" ></td> &LT;TD id= "M4" onclick= "menu (4)" class= "Menu4off" title= "Weightlifting" > Weightlifting </td> <td width= "Ten" ></td> ;/tr> </table> <div id= "Con1" class= "Cont_le picfff" > <p > Swimming Champion to be a guest </p& Gt <p> next Door boy Wu Peng </p> <div class= "Clearit" ></div> </div> <div id= "c On2 "class=" Cont_le picfff "> <p > Frog post qi hui </p> <p> Mature Zhou Yafei </p> <div class= "Clearit" ></div> </div> <div id= "Con3" class= "Cont_le Pi Cfff "> <p > Zhang close contact with Xiao Lang </p> <div class=" Clearit "></div> </div><div id= "Con4" class= "Cont_le picfff" > <p > Chule announce spouse mate Standard </p> <p& Gt Female weightlifting Big sister </p> <div class= "Clearit" ></div> </div> </body> </ptml>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]

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.