<iframe></iframe> <br><a>上一页</a><a>下一页</a> <br><br> <br>跳转到第 <input><br> <br>页 <input><br><br>以上是我对于一个翻页效果的修改,不知道可不可以,大家帮看看 <br><script> <BR>var curId = 1; <BR>var maxId = 3; <BR>if (document.location.search) curId = Number(document.location.search.split("?")[1].split("=")[1]); <BR>document.getElementById("pic").src = curId + ".htm"; <BR>function Page(id) <BR>{ <BR> if ( id == 0 ) <BR> curId = Number(document.getElementById("page").value); <BR> else <BR> curId += id; <BR> if ( curId < 1 ) <BR> curId = 1; <BR> if ( curId > maxId ) <BR> curId = maxId; <BR> document.getElementById("pic").src = curId + ".htm"; <BR>} <BR></script>不知道有没有什么实际意义