<script type="text/javascript">
window.onload = OnHash;
function OnHash()
{
var monitorHash = window.location.hash;
var sIndex = monitorHash.match("[^#MonitorTabIndex=][0-9]*");
if (parseInt(sIndex) > 0) {
displayModule(sIndex);
alert(monitorHash);
}
function setMonitorTabIndex()
{ window.location.hash = "MonitorTabIndex=1";return true; }
</script>
本文详细介绍了如何使用JavaScript编写代码来实现模块加载状态的监控,并通过特定的函数和正则表达式解析URL中的参数,进而展示加载过程及设置默认加载选项。

被折叠的 条评论
为什么被折叠?



