新建一个html页面load.html,内容如下:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>数据加载中
</title>
</head>
<script type="text/javascript">
<!--
var search;
var action = "";
function loading()
{
search = window.location.search;
action = window.search.substr(8, search.length - 8);
window.location.href = action;
}
-->
</script>
<body leftMargin="0" topMargin="0" rightMargin="0" bgColor="#f7fbff" onload="loading();">
<table cellSpacing="0" cellPadding="0" width="100%" height="100%" border="0">
<tr>
<td align="center"><img src="images/loading.gif" width="200" height="30"></td>
</tr>
</table>
</body>
</html>
<html>
<head>
<title>数据加载中
![](https://www.cnblogs.com/Images/dot.gif)
</head>
<script type="text/javascript">
<!--
var search;
var action = "";
function loading()
{
search = window.location.search;
action = window.search.substr(8, search.length - 8);
window.location.href = action;
}
-->
</script>
<body leftMargin="0" topMargin="0" rightMargin="0" bgColor="#f7fbff" onload="loading();">
<table cellSpacing="0" cellPadding="0" width="100%" height="100%" border="0">
<tr>
<td align="center"><img src="images/loading.gif" width="200" height="30"></td>
</tr>
</table>
</body>
</html>
通过action查询字符串的值导航到要加载的指定页面.