电脑爱好者,提供IT资讯信息及各类编程知识文章介绍,欢迎大家来本站学习电脑知识。 最近更新 | 联系我们 RSS订阅本站最新文章
电脑爱好者
站内搜索: 
当前位置:首页>> Javascript>>通用建站系统里的一段很好的javascript代码:

通用建站系统里的一段很好的javascript代码

来源:远方网络 | 2005-6-27 15:50:11 | (有2456人读过)

<script language="JavaScript1.2">
function Td_Over(Element1){
Element1.className = 'TdOver';
}
function Td_Out(Element1){
Element1.className = 'TdOut';
}
function Td_Down(Element1){
Element1.className = 'TdDown';
}
function Td_Click(No){
var url;
if (No == 0){
url = "Manage_Main.asp";
}else if (No == 1){
url = "ArticleManage.asp";
}else if (No == 2){
url = "Manage_Eshop.asp";
}else if (No == 3){
url = "UserManage.asp";
}else if (No == 4){
url = "Manage_News.asp";
}else if (No == 5){
url = "Manage_Book.asp";
}else if (No == 6){
url = "Manage_honor.asp";
}else if (No == 7){
url = "Manage_job.asp";
}else if (No == 8){
url = "Manage_sale.asp";
}else if (No == 9){
url = "VoteManage.asp";
}else if (No == 10){
url = "Manage_Link.asp";
}else if (No == 11){
url = "Loginout.asp";
}else if (No == 12){
url = "Manage.asp";
}else if (No == 13){
url = "Viewuser.asp";
}else if (No == 14){
url = "Down_Manage.asp";
}

location.href=url;
}
</script>
Javascript热门文章排行
网站赞助商
购买此位置

 

关于我们 | 网站地图 | 文档一览 | 友情链接| 联系我们

Copyright © 2003-2024 电脑爱好者 版权所有 备案号:鲁ICP备09059398号