
JS如何设置CuteEditor控件不可用呢?
1个回答
展开全部
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="">
<style type="text/css"> body
table
td
img
a
a:hover
.sec_menu
.menu_title
.menu_title span
.menu_title2
.menu_title2 span
</style>
<script language="javascript">
function menuShow(obj,maxh,obj2)
{
if(obj.style.pixelHeight<maxh)
{
obj.style.pixelHeight+=maxh/20;
obj.filters.alpha.opacity+=5;
obj2.background="images/title_bg_hide.gif";
if(obj.style.pixelHeight==maxh/10)
obj.style.display='block';
myObj=obj;
myMaxh=maxh;
myObj2=obj2;
setTimeout('menuShow(myObj,myMaxh,myObj2)','5');
}
}
function menuHide(obj,maxh,obj2)
{
if(obj.style.pixelHeight>0)
{
if(obj.style.pixelHeight==maxh/20)
obj.style.display='none';
obj.style.pixelHeight-=maxh/20;
obj.filters.alpha.opacity-=5;
obj2.background="images/title_bg_show.gif";
myObj=obj;
myMaxh=maxh
myObj2=obj2;
setTimeout('menuHide(myObj,myMaxh,myObj2)','5');
}
else
if(whichContinue)
whichContinue.click();
}
function menuChange(obj,maxh,obj2)
{
if(obj.style.pixelHeight)
{
menuHide(obj,maxh,obj2);
whichOpen='';
whichcontinue='';
}
else
if(whichOpen)
{
whichContinue=obj2;
whichOpen.click();
}
else
{
menuShow(obj,maxh,obj2);
whichOpen=obj2;
whichContinue='';
}
}
</script>
<base target="left">
</head>
<body>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="42" valign="bottom">
<img src="images/back.gif" width="160" height="30">
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="25" class="menu_title" onmouseover="this.className='menu_title2';" onmouseout="this.className='menu_title';"
background="images/title_bg_show.gif" id="menuTitle1" onclick="menuChange(menu1,80,menuTitle1);">
<span>基本选项</span>
</td>
</tr>
<tr>
<td>
<div class="sec_menu" style="FILTER:alpha(Opacity=100);OVERFLOW:hidden;WIDTH:158px;HEIGHT:80px"
id="menu1">
<table cellpadding="0" cellspacing="0" align="center" width="135" style="POSITION:relative;TOP:10px">
<tr>
<td height="20">
<a href="setLogo.aspx" target="right" onfocus="this.blur();">设置Logo</a>
</td>
</tr>
<tr>
<td height="20">
<a href="setHotNews.aspx" target="right" onfocus="this.blur();">增加热点信息</a>
</td>
</tr>
<tr>
<td height="20">
<a href="HotNewsForSearch.aspx" target="right" onfocus="this.blur();">查看热点信息</a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<script language="javascript">
var whichOpen=menuTitle1;
var whichContinue='';
</script>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="25" class="menu_title" onmouseover="this.className='menu_title2';" onmouseout="this.className='menu_title';"
background="images/title_bg_show.gif" id="menuTitle2" onclick="menuChange(menu2,120,menuTitle2);">
<span>信息设置</span>
</td>
</tr>
<tr>
<td>
<div class="sec_menu" style="DISPLAY:none;FILTER:alpha(Opacity=0);WIDTH:158px;HEIGHT:0px"
id="menu2">
<table cellpadding="0" cellspacing="0" align="center" width="135" style="POSITION:relative;TOP:10px">
<tr>
<td height="20">
<a href="searchInfo.aspx?type=0" target="right" onfocus="this.blur();">查看未审核的信息</a>
</td>
</tr>
<tr>
<td height="20">
<a href="searchInfo.aspx?type=1" target="right" onfocus="this.blur();">查看已审核信息</a>
</td>
</tr>
<tr>
<td height="20">
<a href="put.aspx" target="right" onfocus="this.blur();">固定位置设置</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">信体过滤规则</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">附件过滤规则</a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="25" class="menu_title" onmouseover="this.className='menu_title2';" onmouseout="this.className='menu_title';"
background="images/title_bg_show.gif" id="menuTitle3" onclick="menuChange(menu3,120,menuTitle3);">
<span>系统管理</span>
</td>
</tr>
<tr>
<td>
<div class="sec_menu" style="DISPLAY:none;FILTER:alpha(Opacity=0);WIDTH:158px;HEIGHT:0px"
id="menu3">
<table cellpadding="0" cellspacing="0" align="center" width="135" style="POSITION:relative;TOP:10px">
<tr>
<td height="20">
<a href="" onfocus="this.blur();">用户管理</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">进程管理</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">主机运行状态</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">数据备份</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">垃圾目录管理</a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="25" class="menu_title" onmouseover="this.className='menu_title2';" onmouseout="this.className='menu_title';"
background="images/title_bg_show.gif" id="menuTitle4" onclick="menuChange(menu4,140,menuTitle4);">
<span>系统统计</span>
</td>
</tr>
<tr>
<td>
<div class="sec_menu" style="DISPLAY:none;FILTER:alpha(Opacity=0);WIDTH:158px;HEIGHT:0px"
id="menu4">
<table cellpadding="0" cellspacing="0" align="center" width="135" style="POSITION:relative;TOP:10px">
<tr>
<td height="20">
<a href="" onfocus="this.blur();">IP过滤统计</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">信封过滤统计</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">信头过滤统计</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">信体过滤统计</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">附件过滤统计</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">动态规则统计</a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="25" class="menu_title" background="images/title_bg_quit.gif">
<a href="managerLogin.aspx" target="_parent">
<span> 退出系统</span></a>
</td>
</tr>
</table>
</body>
</html>
正好在做东西...这个是MENU的
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="">
<style type="text/css"> body
table
td
img
a
a:hover
.sec_menu
.menu_title
.menu_title span
.menu_title2
.menu_title2 span
</style>
<script language="javascript">
function menuShow(obj,maxh,obj2)
{
if(obj.style.pixelHeight<maxh)
{
obj.style.pixelHeight+=maxh/20;
obj.filters.alpha.opacity+=5;
obj2.background="images/title_bg_hide.gif";
if(obj.style.pixelHeight==maxh/10)
obj.style.display='block';
myObj=obj;
myMaxh=maxh;
myObj2=obj2;
setTimeout('menuShow(myObj,myMaxh,myObj2)','5');
}
}
function menuHide(obj,maxh,obj2)
{
if(obj.style.pixelHeight>0)
{
if(obj.style.pixelHeight==maxh/20)
obj.style.display='none';
obj.style.pixelHeight-=maxh/20;
obj.filters.alpha.opacity-=5;
obj2.background="images/title_bg_show.gif";
myObj=obj;
myMaxh=maxh
myObj2=obj2;
setTimeout('menuHide(myObj,myMaxh,myObj2)','5');
}
else
if(whichContinue)
whichContinue.click();
}
function menuChange(obj,maxh,obj2)
{
if(obj.style.pixelHeight)
{
menuHide(obj,maxh,obj2);
whichOpen='';
whichcontinue='';
}
else
if(whichOpen)
{
whichContinue=obj2;
whichOpen.click();
}
else
{
menuShow(obj,maxh,obj2);
whichOpen=obj2;
whichContinue='';
}
}
</script>
<base target="left">
</head>
<body>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="42" valign="bottom">
<img src="images/back.gif" width="160" height="30">
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="25" class="menu_title" onmouseover="this.className='menu_title2';" onmouseout="this.className='menu_title';"
background="images/title_bg_show.gif" id="menuTitle1" onclick="menuChange(menu1,80,menuTitle1);">
<span>基本选项</span>
</td>
</tr>
<tr>
<td>
<div class="sec_menu" style="FILTER:alpha(Opacity=100);OVERFLOW:hidden;WIDTH:158px;HEIGHT:80px"
id="menu1">
<table cellpadding="0" cellspacing="0" align="center" width="135" style="POSITION:relative;TOP:10px">
<tr>
<td height="20">
<a href="setLogo.aspx" target="right" onfocus="this.blur();">设置Logo</a>
</td>
</tr>
<tr>
<td height="20">
<a href="setHotNews.aspx" target="right" onfocus="this.blur();">增加热点信息</a>
</td>
</tr>
<tr>
<td height="20">
<a href="HotNewsForSearch.aspx" target="right" onfocus="this.blur();">查看热点信息</a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<script language="javascript">
var whichOpen=menuTitle1;
var whichContinue='';
</script>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="25" class="menu_title" onmouseover="this.className='menu_title2';" onmouseout="this.className='menu_title';"
background="images/title_bg_show.gif" id="menuTitle2" onclick="menuChange(menu2,120,menuTitle2);">
<span>信息设置</span>
</td>
</tr>
<tr>
<td>
<div class="sec_menu" style="DISPLAY:none;FILTER:alpha(Opacity=0);WIDTH:158px;HEIGHT:0px"
id="menu2">
<table cellpadding="0" cellspacing="0" align="center" width="135" style="POSITION:relative;TOP:10px">
<tr>
<td height="20">
<a href="searchInfo.aspx?type=0" target="right" onfocus="this.blur();">查看未审核的信息</a>
</td>
</tr>
<tr>
<td height="20">
<a href="searchInfo.aspx?type=1" target="right" onfocus="this.blur();">查看已审核信息</a>
</td>
</tr>
<tr>
<td height="20">
<a href="put.aspx" target="right" onfocus="this.blur();">固定位置设置</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">信体过滤规则</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">附件过滤规则</a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="25" class="menu_title" onmouseover="this.className='menu_title2';" onmouseout="this.className='menu_title';"
background="images/title_bg_show.gif" id="menuTitle3" onclick="menuChange(menu3,120,menuTitle3);">
<span>系统管理</span>
</td>
</tr>
<tr>
<td>
<div class="sec_menu" style="DISPLAY:none;FILTER:alpha(Opacity=0);WIDTH:158px;HEIGHT:0px"
id="menu3">
<table cellpadding="0" cellspacing="0" align="center" width="135" style="POSITION:relative;TOP:10px">
<tr>
<td height="20">
<a href="" onfocus="this.blur();">用户管理</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">进程管理</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">主机运行状态</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">数据备份</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">垃圾目录管理</a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="25" class="menu_title" onmouseover="this.className='menu_title2';" onmouseout="this.className='menu_title';"
background="images/title_bg_show.gif" id="menuTitle4" onclick="menuChange(menu4,140,menuTitle4);">
<span>系统统计</span>
</td>
</tr>
<tr>
<td>
<div class="sec_menu" style="DISPLAY:none;FILTER:alpha(Opacity=0);WIDTH:158px;HEIGHT:0px"
id="menu4">
<table cellpadding="0" cellspacing="0" align="center" width="135" style="POSITION:relative;TOP:10px">
<tr>
<td height="20">
<a href="" onfocus="this.blur();">IP过滤统计</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">信封过滤统计</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">信头过滤统计</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">信体过滤统计</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">附件过滤统计</a>
</td>
</tr>
<tr>
<td height="20">
<a href="" onfocus="this.blur();">动态规则统计</a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="158">
<tr style="CURSOR:hand">
<td height="25" class="menu_title" background="images/title_bg_quit.gif">
<a href="managerLogin.aspx" target="_parent">
<span> 退出系统</span></a>
</td>
</tr>
</table>
</body>
</html>
正好在做东西...这个是MENU的
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询