使用iframe
<script language="javascript">
function set(id)
{
if (id == 1) {document.all.edit1.src = "pages/Survey.jsp";}
else if (id == 2) {document.all.edit1.src = "pages/Evaluation.jsp";}
else if (id == 3) {document.all.edit1.src = "pages/Notice.jsp";}
else if (id == 4) {document.all.edit1.src = "pages/Manager.jsp";}
}
</script>
<a href="javascript:set(1);"><img src="1.jpg" border="0"></a>
<a href="javascript:set(2);"><img src="2.jpg" border="0"></a>
<a href="javascript:set(3);"><img src="3.jpg" border="0"></a>
<a href="javascript:set(4);"><img src="4.jpg" border="0"></a>
<iframe name="edit1" src="" width="100%" height="100%" frameborder="0" scrolling="no"></iframe>