| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 752 人关注过本帖
标题:[求助]请大家读程序
取消只看楼主 加入收藏
chill
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2006-6-6
收藏
 问题点数:0 回复次数:0 
[求助]请大家读程序

这是一段我毕业设计要读的程序,要得比较紧2天必须搞定,而我没有学过javascript语言,请各位高手帮小弟读一下程序,谢谢,程序如下:


var bBrowserOK; bBrowserOK = 0;if(parseFloat(navigator.appVersion)>=4) if(navigator.appName == 'Microsoft Internet Explorer') bBrowserOK = 1;document.write('<STYLE>');document.write('a.MN18103783 {text-decoration:none; color:#FFFFFF; font-weight: 700; font-family: Verdana; font-size: 12px; font-style:normal;} ');
document.write('a.MN18103783:hover {text-decoration:none; color:#FFFFFF; }');
document.write('a.SMN18103783 {text-decoration:none; color:#FFFFFF; font-weight: 700; font-family: Verdana; font-size: 12px; font-style:normal;} ');
document.write('a.SMN18103783:hover {text-decoration:none; color:#FFFFFF; }');
document.write('table.MT18103783 {background:#000000; border:1 solid #808080; }');
document.write('td.MTD18103783 {padding-left:4; padding-right:4; background:#21415A; border:0 solid #000000; }');
document.write('.MTI18103783 {color:#FFFFFF; font-weight: 700; font-family: Verdana; font-size: 12px; font-style:normal;}');
document.write('.MSI18103783 {color:#FFFFFF; font-weight: 700; font-family: Verdana; font-size: 12px; font-style:normal;}');
document.write('</STYLE>');
function OpenMenu(MenuId){ MenuId.style.visibility = 'visible'; }
function CloseMenu(MenuId){ MenuId.style.visibility = 'hidden';}
function HLT18103783(TDId,AId){ TDId.style.background = '#606060'; if(AId) AId.style.color = '#FFFFFF';}
function UHLT18103783(TDId,AId){ TDId.style.background = '#21415A'; if(AId) AId.style.color = '#FFFFFF';}
function THLT18103783(TDId,AId){ TDId.style.background = '#606060'; if(AId) AId.style.color = '#FFFFFF';}
function TUHLT18103783(TDId,AId){ TDId.style.background = '#21415A'; if(AId) AId.style.color = '#FFFFFF';}
function WSBH18103783(MenuId){

document.write('<span id=' + MenuId + ' STYLE="position:absolute; visibility:hidden; zorder:1; ">');
document.write('&nbsp;<br>');
document.write('<table class="MT18103783" cellspacing=0 cellpadding=2 onMouseOut="CloseMenu(' + MenuId + ');" onMouseOver="OpenMenu(' + MenuId + ');">');}
function WSIH18103783(ItemID,ItemName,ItemURL,MenuID,ItemTitle,ItemTarget){
document.write('<tr><td id="X' + ItemID + '" class="MTD18103783" onMouseOver="HLT18103783(X' + ItemID + ',' + ItemID + ');" onMouseOut="UHLT18103783(X' + ItemID + ',' + ItemID + ');">');
document.write('<span NOWRAP><a href="' + ItemURL + '" title="' + ItemTitle + '" class="SMN18103783" target="' + ItemTarget + '" id="' + ItemID + '">' + ItemName + '</a></span></td></tr>');}
function WSFH18103783(ItemID,ItemFree){
document.write('<tr><td id="X' + ItemID + '" class="MTD18103783" onMouseOver="HLT18103783(X' + ItemID + ',' + ItemID + ');" onMouseOut="UHLT18103783(X' + ItemID + ',' + ItemID + ');">');
document.write('<span id="' + ItemID + '" class="MSI18103783" >' + ItemFree + '</span></td></tr>');}
function CloseSubBoxH(){document.write('</table></span>');}
function WTIH18103783(MenuID,MenuName,MenuURL,MenuTitle,MenuTarget){
document.write('<span STYLE="position:relative;" class="MTI18103783" onMouseOver="OpenMenu(' + MenuID + ');" onMouseOut="CloseMenu(' + MenuID + ');"><a href="' + MenuURL + '" title="' + MenuTitle + '" target="' + MenuTarget + '" class="MN18103783">&nbsp;' + MenuName + '</a></span>');}
function WTFH18103783(MenuID,MenuFree){
document.write('<span STYLE="position:relative;" class="MTI18103783" onMouseOver="OpenMenu(' + MenuID + ');" onMouseOut="CloseMenu(' + MenuID + ');">&nbsp;' + MenuFree + '&nbsp;</span>');}
function WTHH18103783(MenuName,MenuURL,MenuTitle,MenuTarget){
document.write('<span STYLE="position:relative;" class="MTI18103783" ><a href="' + MenuURL + '" title="' + MenuTitle + '" target="' + MenuTarget + '" class="MN18103783">&nbsp;' + MenuName + '</a></span>');}
function WTHFH18103783(MenuName,MenuFree){
document.write('<span STYLE="position:relative;" class="MTI18103783" >&nbsp;' + MenuFree + '</span>');}
document.write('<TABLE CELLSPACING=0 CELLPADDING=2 WIDTH="100%" BGCOLOR=#21415A STYLE="border:1 solid #808080; "><TR VALIGN=MIDDLE><TD ALIGN=LEFT>');
document.write('<DIV NOWRAP STYLE="visibility:visible; background-color:#21415A; font-weight: 700; font-family: Verdana; font-size:12px; ">');
if(bBrowserOK==1) {
WSBH18103783('MI18106600');
WSIH18103783('MI18125369','图书入库','tushuruku.asp','MI18106600','','_self');
if(MI18125369) MI18125369.style.color = '#FFFFFF';WSIH18103783('MI18106471','图书信息修改','tushumanage.asp','MI18106600','','_self');
if(MI18106471) MI18106471.style.color = '#FFFFFF';WSIH18103783('MI18098733','');
if(MI18098733) MI18098733.style.color = '#FFFFFF';WSIH18103783('MI18118619','');
if(MI18118619) MI18118619.style.color = '#FFFFFF';CloseSubBoxH();
WTIH18103783('MI18106600','图书管理','','','_self');
}
else
WTHH18103783('图书管理','','','_self');
document.write('&nbsp;<font color=#FFFFFF>|</font>');
if(bBrowserOK==1) {
WSBH18103783('MI18114049');
WSIH18103783('MI18101610','图书借阅','tushujieyue.asp','MI18114049','','_self');
if(MI18101610) MI18101610.style.color = '#FFFFFF';WSIH18103783('MI18107219','图书归还','tushuhuan.asp','MI18114049','','_self');
if(MI18107219) MI18107219.style.color = '#FFFFFF';WSIH18103783('MI18102302','图书续借','tushuxujie.asp','MI18114049','','_self');
if(MI18102302) MI18102302.style.color = '#FFFFFF';WSIH18103783('MI18113879','');
if(MI18113879) MI18113879.style.color = '#FFFFFF';CloseSubBoxH();
WTIH18103783('MI18114049','流通管理','','','_self');
}
else
WTHH18103783('流通管理','','','_self');
document.write('&nbsp;<font color=#FFFFFF>|</font>');
if(bBrowserOK==1) {
WSBH18103783('MI18101580');
WSIH18103783('MI18110272','图书信息查询','tushucx.asp','MI18101580','','_self');
if(MI18110272) MI18110272.style.color = '#FFFFFF';WSIH18103783('MI18129375','读者查询','duzhecx.asp','MI18101580','','_self');
if(MI18129375) MI18129375.style.color = '#FFFFFF';WSIH18103783('MI18099903','借阅情况查询','','MI18101580','','_self');
if(MI18099903) MI18099903.style.color = '#FFFFFF';WSIH18103783('MI18112442','');
if(MI18112442) MI18112442.style.color = '#FFFFFF';WSIH18103783('MI18112790','');
if(MI18112790) MI18112790.style.color = '#FFFFFF';WSIH18103783('MI18111075','');
if(MI18111075) MI18111075.style.color = '#FFFFFF';CloseSubBoxH();
WTIH18103783('MI18101580','图书查询','','','_self');
}
else
WTHH18103783('图书查询','','','_self');
document.write('&nbsp;<font color=#FFFFFF>|</font>');
if(bBrowserOK==1) {
WSBH18103783('MI18128589');
WSIH18103783('MI18118482','图书状态统计','','MI18128589','','_self');
if(MI18118482) MI18118482.style.color = '#FFFFFF';WSIH18103783('MI18122857','');
if(MI18122857) MI18122857.style.color = '#FFFFFF';WSIH18103783('MI18107695','借阅统计','','MI18128589','','_self');
if(MI18107695) MI18107695.style.color = '#FFFFFF';CloseSubBoxH();
WTIH18103783('MI18128589','图书统计','','','_self');
}
else
WTHH18103783('图书统计','','','_self');
document.write('&nbsp;<font color=#FFFFFF>|</font>');
if(bBrowserOK==1) {
WSBH18103783('MI18096975');
WSIH18103783('MI18123596','读者管理','duzhemanage.asp','MI18096975','','_self');
if(MI18123596) MI18123596.style.color = '#FFFFFF';WSIH18103783('MI18100074','');
if(MI18100074) MI18100074.style.color = '#FFFFFF';WSIH18103783('MI18124094','');
if(MI18124094) MI18124094.style.color = '#FFFFFF';WSIH18103783('MI18098664','系统管理人员管理','xtadminmanage.asp','MI18096975','','_self');
if(MI18098664) MI18098664.style.color = '#FFFFFF';CloseSubBoxH();
WTIH18103783('MI18096975','用户管理','','','_self');
}
else
WTHH18103783('用户管理','','','_self');
document.write('&nbsp;<font color=#FFFFFF>|</font>');
if(bBrowserOK==1) {
WSBH18103783('MI18097004');
WSIH18103783('MI18096777','');
if(MI18096777) MI18096777.style.color = '#FFFFFF';WSIH18103783('MI18121635','图书借阅时限设定','jieyueshixian.asp','MI18097004','','_self');
if(MI18121635) MI18121635.style.color = '#FFFFFF';WSIH18103783('MI18124982','图书类别设定','tushuleibie.asp','MI18097004','','_blank');
if(MI18124982) MI18124982.style.color = '#FFFFFF';WSIH18103783('MI18105646','图书借阅数量设定','jieyueshuliang.asp','MI18097004','','_self');
if(MI18105646) MI18105646.style.color = '#FFFFFF';CloseSubBoxH();
WTIH18103783('MI18097004','系统设置','','','_self');
}
else
WTHH18103783('系统设置','','','_self');
document.write('&nbsp;<font color=#FFFFFF>|</font>');
if(bBrowserOK==1) {
WSBH18103783('MI18128160');
WSIH18103783('MI18131079','');
if(MI18131079) MI18131079.style.color = '#FFFFFF';WSIH18103783('MI18120520','');
if(MI18120520) MI18120520.style.color = '#FFFFFF';WSIH18103783('MI18130963','');
if(MI18130963) MI18130963.style.color = '#FFFFFF';WSIH18103783('MI18124474','');
if(MI18124474) MI18124474.style.color = '#FFFFFF';CloseSubBoxH();
WTIH18103783('MI18128160','');
}
else
WTHH18103783('');
document.write('&nbsp;<font color=#FFFFFF>|</font>');
if(bBrowserOK==1) {
WSBH18103783('MI18132767');
WSIH18103783('MI18127513','帮助主题','','MI18132767','','_self');
if(MI18127513) MI18127513.style.color = '#FFFFFF';WSIH18103783('MI18105632','关于','','MI18132767','','_self');
if(MI18105632) MI18105632.style.color = '#FFFFFF';CloseSubBoxH();
WTIH18103783('MI18132767','帮助','','','_self');
}
else
WTHH18103783('帮助','','','_self');
document.write('&nbsp;<font color=#FFFFFF>|</font>');
WTHH18103783('退出','loginout.asp','','_self');
document.write('</DIV></TD>');
document.write('</TR></TABLE>');

搜索更多相关主题的帖子: javascript 毕业 Microsoft Internet Explorer 
2006-06-06 23:35
快速回复:[求助]请大家读程序
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.018215 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved