📄 menu.js
字号:
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/push/send/sendpush_ring_gf.html?id='+id+'&nm='+name+'&pt='+path+'&sg='+singer+'&fr='+from,'','top=50,left=200,width=500,height=383,scrollbars=no,resizable=no,center=yes');
}
function sendpushring_sms(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://www.wap.sohu.com/misc/wapmms/wwwpush/sendpush_ring_sms.jsp?id='+id+'&fr='+from,'','top=50,left=200,width=500,height=383,scrollbars=no,resizable=no,center=yes');
}
function sendring_sms(id,name,path,singer) {
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/push/send/sendpush_ring_sms.html?id='+id+'&nm='+name+'&pt='+path+'&sg='+singer+'&fr='+from,'','top=50,left=200,width=500,height=383,scrollbars=no,resizable=no,center=yes');
window.open('http://www.wap.sohu.com/misc/wapmms/wwwpush/sendpush_ring_smssub.jsp?id='+id+'&fr='+from,'','top=50,left=200,width=500,height=383,scrollbars=no,resizable=no,center=yes');
}
function sendpushvideo(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://www.wap.sohu.com/misc/wapmms/wwwpush/sendpush_video.jsp?id='+id+'&fr='+from,'','top=50,left=200,width=500,height=383,scrollbars=no,resizable=no,center=yes');
}
function sendpushvideo_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);
}
//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://www.wap.sohu.com/misc/wapmms/wwwpush/sendpush_video_gf.jsp?id='+id+'&fr='+from,'','top=50,left=200,width=500,height=383,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);
}
//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://www.wap.sohu.com/misc/wapmms/wwwpush/sendpush_gf.jsp?id='+id+'&fr='+from,'','top=50,left=200,width=500,height=383,scrollbars=no,resizable=no,center=yes');
}
function sendpic_gf(id,nm,pt) {
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/push/send/sendpush_gf.html?id='+id+'&nm='+nm+'&pt='+pt+'&fr='+from,'','top=50,left=200,width=500,height=383,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 test(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://www.wap.sohu.com/misc/wapmms/wwwpush/sendpush_gf.jsp?id='+id+'&fr='+from,'','top=50,left=200,width=500,height=383,scrollbars=no,resizable=no,center=yes');
}
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 + -