那个好雨提问的关于框架的帖子,
就是我要在一个页面里加两个以上的〈IFRAME〉该怎么办啊??
我试着多加一个参数,没个IFRAME一个名字,可是出错了呢啊!!
我在第一个IFRAME中改动的变成红色了,其他的都一样,没改!
你看看可以吗??
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>学校概况</title>
<link rel="stylesheet" href="../style.css" type="text/css">
<SCRIPT>
function movstar(a,new_date,time){
movx=setInterval("mov("+a+")",time)
}
function movover(){
clearInterval(movx)
}
function mov(a,new_date){
scrollx=new_date.document.body.scrollLeft
scrolly=new_date.document.body.scrollTop
scrolly=scrolly+a
new_date.window.scroll(scrollx,scrolly)
}
function wback(new_date){
if(new_date.history.length==0){window.history.back()}
else{new_date.history.back()}
}
</SCRIPT>
</head>
<body topmargin="0">
<table width="755" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="29" valign="top" bgcolor="#fef0c3"><img src="../img/s8_20.gif" width="40" height="316"></td>
<td width="726" background="../img/s8_32.gif"><table width="100%" border="0">
<tr>
<td><div align="right"><!--#include file="../top.asp"--></div></td>
</tr>
</table>
<table width="100%" border="0" align="center">
<tr>
<td> </td>
</tr>
</table>
<table width="74%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="532" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="532"><img src="../images/school_1.gif" width="532" height="44"></td>
</tr>
</table>
<table width="532" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="36" height="356" valign="top"><img src="../images/school_2.gif" width="36" height="356"></td>
<td width="455">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="299" background="../images/school_3.gif" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="96%" height="299">
<iframe width="430" height="295" name=1 topmargin="0" scrolling="no" frameborder="0" src="school.htm" marginheight="0" marginwidth="0" vspale="0"></iframe>
</td>
<td width="5%" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="19" valign="top"><A
href="javascript:"><IMG onmouseup=movover();movstar(-1,1,20)
onmousedown=movover();movstar(-3,1,2)
onmouseover=movstar(-1,1,20);/*o_down(this)*/
onmouseout=movover();/*o_up(this)*/ height=20 alt=点击向上移动!
src="../images/up.gif" width=20
border=0></A></td>
</tr>
<tr>
<td height="232"> </td>
</tr>
<tr>
<td height="36"><IMG
onmouseup=movover();movstar(1,1,20)
onmousedown=movover();movstar(3,1,2)
onmouseover=movstar(1,1,20);/*o_down(this)*/
onmouseout=movover();/*o_up(this)*/ height=20 alt=点击向下移动!
src="../images/down.gif" width=20 border=0> </td>
</tr>
</table></td>
</tr>
</table> </td>
</tr>
<tr>
<td><img src="../images/school_5.gif" width="455" height="57"></td>
</tr>
</table></td>
<td width="41"><img src="../images/school_4.gif" width="41" height="356"></td>
</tr>
</table></td>
</tr>
</table>
<table width="532" border="0" align="center">
<tr>
<td> </td>
</tr>
</table>
<table width="532" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="532"><img src="../images/fg_1.gif" width="532" height="44"></td>
</tr>
</table>
<table width="532" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="36" height="356"><img src="../images/school_2.gif" width="36" height="356"></td>
<td width="455"> <table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="299" background="../images/school_3.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="96%" height="299">
<iframe width="430" height="295" name=2 topmargin="0" scrolling="no" frameborder="0" src="schoolfg.html" marginheight="0" marginwidth="0" vspale="0"></iframe>
</td>
<td width="5%" valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="19"><A
href="javascript:"><IMG onmouseup=movover();movstar(-1,2,20)
onmousedown=movover();movstar(-3,2,2)
onmouseover=movstar(-1,2,20);/*o_down(this)*/
onmouseout=movover();/*o_up(this)*/ height=20 alt=点击向上移动!
src="../images/up.gif" width=20
border=0></A></td>
</tr>
<tr>
<td height="250"> </td>
</tr>
<tr>
<td><IMG
onmouseup=movover();movstar(1,2,20)
onmousedown=movover();movstar(3,2,2)
onmouseover=movstar(1,2,20);/*o_down(this)*/
onmouseout=movover();/*o_up(this)*/ height=20 alt=点击向下移动!
src="../images/down.gif" width=20 border=0></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top"><img src="../images/school_5.gif" width="455" height="57"></td>
</tr>
</table></td>
<td width="41" valign="top"><img src="../images/school_4.gif" width="41" height="356"></td>
</tr>
</table>
<table width="532" border="0" align="center">
<tr>
<td> </td>
</tr>
</table>
<table width="532" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="532"><img src="../images/teach_1.gif" width="532" height="44"></td>
</tr>
</table>
<table width="532" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="36" height="356"><img src="../images/school_2.gif" width="36" height="356"></td>
<td width="455"> <table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="299" background="../images/school_3.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="96%" height="299">
<iframe width="430" height="295" name=3 topmargin="0" scrolling="no" frameborder="0" src="schoocgl.html" marginheight="0" marginwidth="0" vspale="0"></iframe>
</td>
<td width="5%" valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="19"><A
href="javascript:"><IMG onmouseup=movover();movstar(-1,3,20)
onmousedown=movover();movstar(-3,3,2)
onmouseover=movstar(-1,3,20);/*o_down(this)*/
onmouseout=movover();/*o_up(this)*/ height=20 alt=点击向上移动!
src="../images/up.gif" width=20
border=0></A></td>
</tr>
<tr>
<td height="221"> </td>
</tr>
<tr>
<td><IMG
onmouseup=movover();movstar(1,3,20)
onmousedown=movover();movstar(3,3,2)
onmouseover=movstar(1,3,20);/*o_down(this)*/
onmouseout=movover();/*o_up(this)*/ height=20 alt=点击向下移动!
src="../images/down.gif" width=20 border=0> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td valign="top"><img src="../images/school_5.gif" width="455" height="57"></td>
</tr>
</table></td>
<td width="41" valign="top"><img src="../images/school_4.gif" width="41" height="356"></td>
</tr>
</table>
<table width="532" border="0" align="center">
<tr>
<td> </td>
</tr>
</table>
<table width="532" border="0" align="center">
<tr>
<td> </td>
</tr>
</table>
<table width="100%" border="0" align="center">
<tr>
<td><!--#include file="../bottom.asp"--></td>
</tr>
</table>
<div align="center"></div></td>
</tr>
</table>
</body>
</html>
|