续费服务 代理专区 客服中心 沟通平台 后台演示
 
   网站建设
网站建设 
   
中国站长站chinaz.com网站导航菜单 
[发布时间:  2009/09/30     浏览次数:  5836 ]


中国站长站chinaz.com网站导航菜单
2009/09/09 10:18
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>中国站长站 - 站长资讯 | 我们致力于为中文网站提供动力!</title>
<meta name="Keywords" content="站长,网站,资讯,站长网,站长资讯,站长工具" />
<meta name="Description" content="为站长提供及时全面的站长资讯" />
<link href="http://www.chinaz.com//images/style.css" type="text/css" rel="stylesheet" />
<script type="text/javascript">
function isMatch(str1,str2)
{
var index = str1.indexOf(str2);
if(index==-1) return false;
return true;
}
function ResumeError() {
return true;
}
window.onerror = ResumeError;
function $(id) {
    return document.getElementById(id);
}
// 相对尺寸
function GetOffsetTop (el, p) {
    var _t = el.offsetTop;
    var _p = el.offsetParent;
    while (_p) {
        if (_p == p) break;
        _t += _p.offsetTop;
        _p = _p.offsetParent;
    }
    return _t;
};
function GetOffsetLeft (el, p) {
    var _l = el.offsetLeft;
    var _p = el.offsetParent;
    while (_p) {
        if (_p == p) break;
        _l += _p.offsetLeft;
        _p = _p.offsetParent;
    }
    return _l;
};
function showMenu (baseID, divID) {
    baseID = $(baseID);
    divID = $(divID);
    //var l = GetOffsetLeft(baseID);
    //var t = GetOffsetTop(baseID);
    //divID.style.left = l + 'px';
//    divID.style.top = t + baseID.offsetHeight + 'px';
    if (showMenu.timer) clearTimeout(showMenu.timer);
hideCur();
    divID.style.display = 'block';
showMenu.cur = divID;
    if (! divID.isCreate) {
        divID.isCreate = true;
        //divID.timer = 0;
        divID.onmouseover = function () {
            if (showMenu.timer) clearTimeout(showMenu.timer);
   hideCur();
            divID.style.display = 'block';
        };
        function hide () {
            showMenu.timer = setTimeout(function () {divID.style.display = 'none';}, 1000);
        }
        divID.onmouseout = hide;
        baseID.onmouseout = hide;
    }
function hideCur () {
showMenu.cur && (showMenu.cur.style.display = 'none');
}
}
function doClick_down(o){
o.className="current";
var j;
var id;
var e;
for(var i=1;i<=4;i++){
    id ="down"+i;
    j = document.getElementById(id);
    e = document.getElementById("d_con"+i);
    if(id != o.id){
      j.className="";
      e.style.display = "none";
    }else{
e.style.display = "block";
    }
}
}

function doClick_jy(o){
o.className="current";
var j;
var id;
var e;
for(var i=1;i<=8;i++){
    id ="jy"+i;
    j = document.getElementById(id);
    e = document.getElementById("jy_con"+i);
    if(id != o.id){
      j.className="";
      e.style.display = "none";
    }else{
e.style.display = "block";
    }
}
}
function doZoom(size){
document.getElementById('textbody').style.fontSize=size+'px'
}
/// 修改及新增
function doClick_menu (o) {
o.className = 'menu_gg';
var j, id, e;
for (var i = 1; i <= 11; i++) {
     id = 'menu' + i;
     j = document.getElementById(id);
     e = document.getElementById('menu_con' + i);
     if (id != o.id) {
        j.className = '';
        e.style.display = 'none';
     }
        else {
      e.style.display = 'block';
     }
}
     var url = '';
     switch (o.innerHTML) {
        case '资讯':
            url = '/plus/search.php?searchtype=titlekeyword&keyword=';
            break;
        case '源码':
            url = 'http://down.chinaz.com/query.asp?q=';
            break;
        case '软件':
            url = 'http://www.chinaz.cn/query.asp?q=';
            break;
        case '论坛':
            url = 'http://bbs.chinaz.com/Search.html?mode=1&searchText=';
            break;
        case '博客':
            url = 'http://my.chinaz.com/list.asp?selecttype=topic&keyword=';
            break;
        case '交易':
            url = 'http://1m.chinaz.com/Search.asp?keyword=';
            break;
        case 'GOOGLE':
            url = '/uploadfile/200812/2/C4141448514.gif%3BLH%3A60%3BLW%3A165%3BBGC%3Awhite%3BT%3A%23000000%3BLC%3A%230000cc%3BVLC%3A%23551A8B%3BALC%3A%23ff3300%3BGALT%3A%23008000%3BGFNT%3A%237777CC%3BGIMP%3A%23FF0000%3BDIV%3A%23000099%3BLBGC%3Awhite%3BAH%3Aleft%3B&domains=chinaz.com&sitesearch=chinaz.com&q=';
            break;
        case 'ALEXA':
            url = 'http://alexa.chinaz.com/index.asp?domain=';
            break;
    
上一篇:   网站建设人性化设计 最容易忽略...           下一篇:   请谨慎使用中企动力的建站平台服...

Copyright © 2009 方圆网通 版权所有 地址:潍坊市新华路与民生街交叉口新港大厦七层 电话:0536-8055122
传真:0536-8055121 增值电信业务经营许可证 《中华人民共和国电信与信息服务业务经营许可证》
编号:鲁B2-20180060号 鲁ICP备08016119号-1
方圆网通旗下网站:东方商务网方圆网通 认证咨询网 潍坊微营销
关键词:潍坊网站建设 潍坊网站优化 潍坊网站推广 潍坊手机网站建设 京公网安备110123004567号