<!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=utf-8" />
<meta content="vodafone ecospace" name=description> <!--后期添加主要内容-->
<meta content="ecospace" name=keywords> <!--后期添加关键字-->
<link href="css/main.css" type="text/css" rel="stylesheet" />
<title>MDSP</title>
<script type="text/javascript">
/*
显示二级菜单
*/
function show2(src)
{
var lis = $("firstMenu").getElementsByTagName("LI");
for(var i = 0; i < lis.length; i++)
{
lis[i].className = "aa";
}
src.parentNode.parentNode.className = "selectedNav";
var oneLI = src.parentNode.parentNode;
var index = oneLI.id.substr(oneLI.id.lastIndexOf("_") + 1);
index = parseInt(index, 10);
//alert(index);
$("secondMenu").innerHTML = $("second_" + index).innerHTML;
//alert($("second_" + index).innerHTML);
//$("secondMenu").firstChild.firstChild.firstChild.innerHTML = src.innerHTML;
//alert(.tagName);
$("secondMenu").firstChild.firstChild.getElementsByTagName("LI")[0].firstChild.click();
}
/**
显示二级菜单的链接内容
*/
function show2Detail(src)
{
var lis = src.parentNode.getElementsByTagName("LI");
for(var i = 0; i < lis.length; i++)
{
lis[i].firstChild.className = "";
}
src.firstChild.className = "selectedItem";
//$("posSpan").innerHTML = src.parentNode.firstChild.innerText + " > " + src.firstChild.innerText;
}
/**
初始化
*/
function myInit()
{
$("index_left_0").childNodes[1].firstChild.click();
}
function toggle(src)
{
var ul = src.parentNode.parentNode;
var subUls = ul.getElementsByTagName("UL");
for(var i = 0; i < subUls.length; i++)
{
//alert(ul.childNodes[i].childNodes[1].tagName);
subUls[i].style.display = 'none';
}
src.parentNode.getElementsByTagName("UL")[0].style.display = '';
}
function hideDetail()
{
document.getElementById("detailDiv").style.display = "none";
document.getElementById("overlay").style.display = "none";
}
</script>
</head>
<body onload="myInit()">
<div id="container">
<div id="header">
<!--
<div>
<span style="background-color:#FF0000"> << Account </span>
<span style="background-color:#C7C7C7"> FrontPage </span>
</div>
-->
<div>
<div style="padding-left:5px;padding-top:23px;width:200px;float:left">
<span> </span>
<span class="brown">Welcome Jimmy!</span>
<br />
<span> </span>
Last Login Time:2010-12-17
</div>
<div class="metaNav">
<ul>
<li><a href="#">Help</a></li>
<li><a href="#">Logout</a></li>
</ul>
<h2 class="superscription">Admin Portal</h2>
</div>
</div>
<div class="nav" id="firstMenu">
<ul>
<li>
<div class="nc"><img src="images/vdfLogo.gif"/></div>
</li>
<li id='index_left_0' class="selectedNav">
<div class="nl"></div>
<div class="nc"><a href="#" onclick="show2(this)">Partner/Alliance</a></div>
<div class="nr"></div>
</li>
<li id='index_left_1' >
<div class="nl"></div>
<div class="nc"><a href="#" onclick="show2(this)">Service Status</a></div>
<div class="nr"></div>
</li>
<li id='index_left_2' >
<div class="nl"></div>
<div class="nc"><a href="#" onclick="show2(this)">Subscription</a></div>
<div class="nr"></div>
</li>
<li id='index_left_3' >
<div class="nl"></div>
<div class="nc"><a href="#" onclick="show2(this)">Log</a></div>
<div class="nr"></div>
</li>
<li id='index_left_4' >
<div class="nl"></div>
<div class="nc"><a href="#" onclick="show2(this)">Authorization</a></div>
<div class="nr"></div>
</li>
<li id='index_left_5' >
<div class="nl"></div>
<div class="nc"><a href="#" onclick="show2(this)">Web Management</a></div>
<div class="nr"></div>
</li>
<!-- <li id='index_left_0' page='page/account_list.html' onclick="show2(this)"><a href="#"><strong>Account</strong></a></li>
<li id='index_left_1' page='' onclick="show2(this)"><a href="#" class="secD">Service Status</a></li>
<li id='index_left_2' page='' onclick="show2(this)"><a href="#" class="secD">Subscription</a></li>
<li id='index_left_3' page='' onclick="show2(this)"><a href="#" class="secD">Log</a></li>
<li id='index_left_4' page='' onclick="show2(this)"><a href="#" class="secD">Authorization</a></li>-->
</ul>
</div>
</div>
<div id="mainContent">
<div class="leftMenu" id="secondMenu">
</div>
<div class="content">
<iframe id="contentFrame" name="contentFrame" style="width:78%;height:500px;" frameborder="0" src="" marginheight="0" marginwidth="0"></iframe>
</div>
</div>
<div class="footer posUp3">
<ul>
<li>Copyright © Vodafone 2009</li>
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Terms & Conditions</a></li>
<li><a href="#">Mobile Version</a></li>
</ul>
</div>
</div>
<div style="display:none">
<!--tab content div start-->
<div id="second_0">
<ul class="secondNav">
<li><a href="#" onclick="toggle(this)">Partner</a>
<ul class="levelNav">
<li onclick="show2Detail(this)"><a href="partner/account_list.html" target="contentFrame">New Account</a></li>
<li onclick="show2Detail(this)"><a >Account Info Change</a></li>
<li onclick="show2Detail(this)"><a href="partner/account_status_list.html" target="contentFrame">Account Status Maintain</a></li>
<li onclick="show2Detail(this)"><a href="partner/test_msisdn_list.html" target="contentFrame">Test MSISDN</a></li>
</ul>
</li>
<li><a href="#" onclick="toggle(this)">Alliance</a>
<ul class="levelNav" style="display:none">
<li onclick="show2Detail(this)"><a href="alliance/alliance_account_list.html" target="contentFrame">Alliance Account</a></li>
<li onclick="show2Detail(this)"><a href="alliance/module_list.html" target="contentFrame">Module/APIs</a></li>
<li onclick="show2Detail(this)"><a href="alliance/promotion_list.html" target="contentFrame">Promotion</a></li>
</ul>
</li>
</ul>
</div>
<div id="second_1">
<ul class="secondNav">
<li><a href="#" onclick="toggle(this)">Service Status</a>
<ul class="levelNav">
<li onclick="show2Detail(this)"><a href="service/toTest.html" target="contentFrame">To Test</a></li>
<li onclick="show2Detail(this)"><a href="#">To Commerical</a></li>
<li onclick="show2Detail(this)"><a href="#">Commerical</a></li>
</ul>
</li>
</ul>
</div>
<div id="second_2">
<ul class="secondNav">
<li><a href="#" onclick="toggle(this)">Subscription</a>
<ul class="levelNav">
<li onclick="show2Detail(this)"><a href="subscription/Subscription_index.html" target="contentFrame">Service</a></li>
<li onclick="show2Detail(this)"><a href="subscription/Subscription_module.html" target="contentFrame">Modules/APIs</a></li>
<li onclick="show2Detail(this)"><a href="subscription/black_white.html" target="contentFrame">B&W List Management</a></li>
</ul>
</li>
</ul>
</div>
<div id="second_3">
<ul class="secondNav">
<li><a href="#" onclick="toggle(this)">Log</a>
<ul class="levelNav">
<li onclick="show2Detail(this)"><a href="log/log_list.html" target="contentFrame">Log Query</a></li>
<li onclick="show2Detail(this)"><a href="#">Log Management</a></li>
</ul>
</li>
</ul>
</div>
评论1
最新资源