WEB开发网
开发学院网页设计JavaScript JQuery实现经典网站后台框架[动易程序改版] 阅读

JQuery实现经典网站后台框架[动易程序改版]

 2009-09-30 00:00:00 来源:WEB开发网   
核心提示: 完成之后再加入菜单,如下html:menu.aspx<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transiti

完成之后再加入菜单,如下html:

menu.aspx

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd%22> 
<html xmlns="http://www.w3.org/1999/xhtml%22> 
<head id="ctl00_Head1"> 
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> 
<link href="includes/Guide.css" type="text/css" rel="stylesheet" /> 
<link href="includes/index.css" type="text/css" rel="stylesheet" /> 
<link href="includes/MasterPage.css" type="text/css" rel="stylesheet" /> 
<link href="includes/xtree.css" type="text/css" rel="stylesheet" /><title> 

快捷导航

</title> 
    <script type="text/javascript"> 
    function JumpToMainRight(url) { parent.frames["main_right"].location = url; } 
    function ReloadMainRight() { parent.frames["main_right"].location.reload(); } 
    function Switch(obj) 
    { 
        obj.className = (obj.className == "guideexpand") ? "guidecollapse" : "guideexpand"; 
        var nextDiv; 
        if (obj.nextSibling) 
        { 
            if(obj.nextSibling.nodeName=="DIV") 
            { 
                nextDiv = obj.nextSibling; 
            } 
            else 
            { 
                if(obj.nextSibling.nextSibling) 
                { 
                    if(obj.nextSibling.nextSibling.nodeName=="DIV") 
                    { 
                        nextDiv = obj.nextSibling.nextSibling; 
                    } 
                } 
            } 
            if(nextDiv) 
            { 
                nextDiv.style.display = (nextDiv.style.display != "") ? "" : "none"; 
            } 
        } 
    } 
    function keylock(evt) 
    { 
        if((evt.keyCode == 13) && (this.OpenMainRight)) 
        { 
            this.OpenMainRight(); 
        } 
    } 
    String.prototype.trim = function() 
    { 
        // 用正则表达式将前后空格 
        // 用空字符串替代。 
        return this.replace(/(^\s*)|(\s*$)/g, ""); 
    } 
    </script> 
<style type="text/css"> 
    <!-- 
        .skin1 {}{ 
            cursor:default; 
            font:menutext; 
            position:absolute; 
            text-align:left; 
            font-family: Arial, Helvetica, sans-serif; 
            font-size: 10pt; 
            width:120px; 
            background-color:#cccccc; 
            border:1 solid buttonface; 
            visibility:hidden; 
            border:2 outset buttonhighlight; 
        } 
        .menuitems {}{ 
            padding-left:15px; 
            padding-right:10px; 
    } 
    --> 
    </style> 
</head> 
<body id="Guidebody" > 
    <form name="aspnetForm" method="post" action="" id="aspnetForm"> 
        <div id="Guide_back"> 
            <ul> 
                <li id="Guide_top"> 
                    <div id="Guide_toptext"> 

上一页  1 2 3 4  下一页

Tags:JQuery 实现 经典

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接