?? menu2.js
字號:
var counti=0;var itemSms=new Array();itemSms[0]="[<a href=http://www.wap.sohu.com/push/pic/1015/1/001.html>養眼MM</a>] [<a href=http://www.wap.sohu.com/push/pic/1017/1/001.html>動漫卡通</a>] [<a href=http://www.wap.sohu.com/push/pic/1018/1/001.html>開懷一笑</a>] [<a href=http://www.wap.sohu.com/push/pic/1121/1/001.html>戀愛物語</a>] [<a href=http://www.wap.sohu.com/push/pic/1180/1/001.html>寵物樂園</a>] [<a href=http://www.wap.sohu.com/push/pic/1193/1/001.html>風景如畫</a>] [<a href=http://www.wap.sohu.com/push/pic/1361/1/001.html>花言花語</a>] [<a href=http://www.wap.sohu.com/push/pic/1401/1/001.html>當紅明星</a>] [<a href=http://www.wap.sohu.com/push/pic/1191/1/001.html>節日祝福</a>] [<a href=http://www.wap.sohu.com/push/pic/1196/1/001.html>名畫欣賞</a>]";itemSms[1]="[<a href=http://www.wap.sohu.com/push/ani/1082/1/001.html>養眼MM</a>] [<a href=http://www.wap.sohu.com/push/ani/1203/1/001.html>戀愛物語</a>] [<a href=http://www.wap.sohu.com/push/ani/1204/1/001.html>動漫卡通</a>] [<a href=http://www.wap.sohu.com/push/ani/1205/1/001.html>開懷一笑</a>] [<a href=http://www.wap.sohu.com/push/ani/1206/1/001.html>寵物樂園</a>] [<a href=http://www.wap.sohu.com/push/ani/1207/1/001.html>真情祝福</a>] [<a href=http://www.wap.sohu.com/push/ani/1225/1/001.html>風景如畫</a>] [<a href=http://www.wap.sohu.com/push/ani/1362/1/001.html>花言花語</a>] [<a href=http://www.wap.sohu.com/push/ani/1400/1/001.html>當紅明星</a>] [<a href=http://www.wap.sohu.com/push/ani/1233/1/001.html>節日祝福</a>]";itemSms[2]="[<a href=http://www.wap.sohu.com/push/sohuring/index/latest/0.html>最新鈴聲</a>] [<a href=http://www.wap.sohu.com/push/sohuring/index/hot/0.html>熱門鈴聲</a>] [<a href=http://www.wap.sohu.com/push/sohuring/index/special_43/0.html>原聲原唱</a>] [<a href=http://www.wap.sohu.com/push/sohuring/index/special_65/0.html>最火網絡歌曲</a>] [<a href=http://www.wap.sohu.com/push/sohuring/index/special_17/0.html>最IN新歌</a>] [<a href=http://www.wap.sohu.com/push/sohuring/index/special_1/0.html>熱辣迪曲</a>] [<a href=http://www.wap.sohu.com/push/sohuring/index/special_53/0.html>精彩串燒</a>] [<a href=http://www.wap.sohu.com/push/sohuring/index/special_34/0.html>搞笑趣鈴</a>] [<a href=http://www.wap.sohu.com/push/sohuring/index/special_2/0.html>人聲特效</a>]";itemSms[3]="[<a href=http://www.wap.sohu.com/push/tone/1501/1/001.html>火熱大片</a>] [<a href=http://www.wap.sohu.com/push/tone/1503/1/001.html>男唱女道</a>] [<a href=http://www.wap.sohu.com/push/tone/1504/1/001.html>雞鳴狗叫</a>] [<a href=http://www.wap.sohu.com/push/tone/1505/1/001.html>古怪搞笑</a>] [<a href=http://www.wap.sohu.com/push/tone/1507/1/001.html>游戲</a>] [<a href=http://www.wap.sohu.com/push/tone/2181/1/001.html>提示音</a>] [<a href=http://www.wap.sohu.com/push/tone/2192/1/001.html>圣誕節</a>] [<a href=http://www.wap.sohu.com/push/tone/2278/1/001.html>新年福音</a>] [<a href=http://www.wap.sohu.com/push/tone/2432/1/001.html>愚人節</a>] [<a href=http://www.wap.sohu.com/push/tone/2477/1/001.html>動漫卡通</a>]";itemSms[4]="";itemSms[5]="";function addfr(){ //獲得fr var url = document.location.href; var from = ""; if(url.indexOf("fr=") > -1){ from = url.substring( url.indexOf( "fr=" ) + 3, url.length ); } //提交表單 //alert("http://www.wap.sohu.com/pseek.php?fr=" + from); seek2.action = "http://www.wap.sohu.com/pseek.php?fr=" + from; seek2.submit(); return false;}function sendwapnew_(id){ window.open('http://www.wap.sohu.com/popup2/wappop2.php?id=' + id,'newwindow','top=200,left=200,width=400,height=430,scrollbars=no,resizable=no,center=yes');}function sendwapnew(id,url,imgurl,ltitle){ if (url){ window.open('http://www.wap.sohu.com/popup2/wappop3.php?id=' + id+'&linkurl='+url+'&imgurl='+imgurl+'<itle='+ltitle,'newwindow','top=200,left=200,width=400,height=430,scrollbars=no,resizable=no,center=yes'); }else {sendwapnew_(id);}}function sendpush(id) { var url = location.href; var from = ''; if(url.indexOf("fr=") > -1){ from = url.substring( url.indexOf( "fr=" ) + 3, url.length ) } if(url.indexOf("ref=") > -1){ var tmp = url.substring(url.indexOf("ref=")+4, url.length); if ( tmp.length==6){ from = "w-lm-" + url.substring( url.indexOf( "ref=" ) + 4, url.length); } } var s1 = from.indexOf("&"); if(s1 > -1) { from = from.substring(0,s1); } //window.open('http://www.wap.sohu.com/send/psend.php?id='+id+'&fr='+from,'','top=50,left=200,width=400,height=412,scrollbars=no,resizable=no,center=yes'); window.open('http://music.wap.sohu.com/misc/wapmms/wwwpush/sendpush.jsp?id='+id+'&fr='+from,'','top=50,left=200,width=500,height=445,scrollbars=no,resizable=no,center=yes');}function sendpushpic(id) { var url = location.href; var from = ''; if(url.indexOf("fr=") > -1){ from = url.substring( url.indexOf( "fr=" ) + 3, url.length ) } if(url.indexOf("ref=") > -1){ var tmp = url.substring(url.indexOf("ref=")+4, url.length); if ( tmp.length==6){ from = "w-lm-" + url.substring( url.indexOf( "ref=" ) + 4, url.length); } } var s1 = from.indexOf("&"); if(s1 > -1) { from = from.substring(0,s1); } //window.open('http://www.wap.sohu.com/send/psend.php?pic=yes&id='+id+'&fr='+from,'','top=50,left=200,width=400,height=412,scrollbars=no,resizable=no,center=yes'); window.open('http://music.wap.sohu.com/misc/wapmms/wwwpush/sendpush.jsp?id='+id+'&fr='+from,'','top=50,left=200,width=500,height=455,scrollbars=no,resizable=no,center=yes');}function sendpushpic_gf(id) { var url = location.href; var from = ''; if(url.indexOf("fr=") > -1){ from = url.substring( url.indexOf( "fr=" ) + 3, url.length ) } if(url.indexOf("ref=") > -1){ var tmp = url.substring(url.indexOf("ref=")+4, url.length); if ( tmp.length==6){ from = "w-lm-" + url.substring( url.indexOf( "ref=" ) + 4, url.length); } } var s1 = from.indexOf("&"); if(s1 > -1) { from = from.substring(0,s1); } if(from=="") { from="5"; } //window.open('http://www.wap.sohu.com/send/psend.php?pic=yes&id='+id+'&fr='+from,'','top=50,left=200,width=400,height=412,scrollbars=no,resizable=no,center=yes'); window.open('http://music.wap.sohu.com/misc/wapmms/wwwpush/sendpush_gf.jsp?id='+id+'&fr='+from,'','top=50,left=200,width=500,height=445,scrollbars=no,resizable=no,center=yes');}function sendwap(id) { window.open('http://mms.sohu.com/send/wsend.php?id=' + id,'','top=50,left=200,width=500,height=474,scrollbars=no,resizable=no,center=yes');}function sendwapt(id, pid) { window.open('http://mms.sohu.com/send/wsend.php?id=' + id + '&pid=' + pid,'','top=50,left=200,width=500,height=474,scrollbars=no,resizable=no,center=yes');}function sendwapd(id) { window.open('http://mms.sohu.com/send/wsend_d.php?id=' + id,'','top=50,left=200,width=500,height=474,scrollbars=no,resizable=no,center=yes');}function changeMenu(i){ document.all["smsArea"].innerHTML=itemSms[i];} function jump_to(this_catalog, jump_page, max_pages) { var page_words; jump_page = parseInt(jump_page); if (!isNaN(jump_page)) { if(jump_page == "" || this_catalog == "") { alert("請輸入頁號!"); } else { if (jump_page > max_pages) { alert("輸入超過頁數!"); } else { page_words = jump_page; if (jump_page < 10) { page_words = "00" + page_words; } else if(jump_page < 100) { page_words = "0" + page_words; } window.location=this_catalog + page_words + ".html"; } } } return false; }scores = new Array(20);var numTotal=0;NS4 = (document.layers) ? 1 : 0;IE4 = (document.all) ? 1 : 0;ver4 = (NS4 || IE4) ? 1 : 0;if (ver4) { with (document) { write("<STYLE TYPE='text/css'>"); if (NS4) { write(".parent {position:absolute; visibility:visible}"); write(".child {position:absolute; visibility:visible}"); write(".regular {position:absolute; visibility:visible}") } else { write(".child {display:none}") } write("</STYLE>"); }}function getIndex(el) { ind = null; for (i=0; i<document.layers.length; i++) { whichEl = document.layers[i]; if (whichEl.id == el) { ind = i; break; } } return ind;}function arrange() { nextY = document.layers[firstInd].pageY +document.layers[firstInd].document.height; for (i=firstInd+1; i<document.layers.length; i++) { whichEl = document.layers[i]; if (whichEl.visibility != "hide") { whichEl.pageY = nextY; nextY += whichEl.document.height; } }}function initIt(){ if (!ver4) return; if (NS4) { for (i=0; i<document.layers.length; i++) { whichEl = document.layers[i]; if (whichEl.id.indexOf("Child") != -1) whichEl.visibility = "hide"; } arrange(); } else { divColl = document.all.tags("DIV"); for (i=0; i<divColl.length; i++) { whichEl = divColl(i); if (whichEl.className == "child") whichEl.style.display = "none"; } }}function expandIt(el) { if (!ver4) return; if (IE4) { whichEl1 = eval(el + "Child"); for(i=1;i<=numTotal;i++){ whichEl = eval(scores[i] + "Child"); if(whichEl!=whichEl1) { whichEl.style.display = "none"; } } whichEl1 = eval(el + "Child"); if (whichEl1.style.display == "none") { whichEl1.style.display = "block"; } else { whichEl1.style.display = "none"; } } else { whichEl = eval("document." + el + "Child"); for(i=1;i<=numTotal;i++){ whichEl = eval("document." + scores[i] + "Child"); if(whichEl!=whichEl1) { whichEl.visibility = "hide"; } } if (whichEl.visibility == "hide") { whichEl.visibility = "show"; } else { whichEl.visibility = "hide"; } arrange(); }}onload = initIt;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -