首页 > 代码库 > 小说网的翻页效果

小说网的翻页效果

<script type="text/javascript"><!--var preview_page="3704845.html";var next_page="3704847.html";var index_page="";var article_id="13543";var chapter_id="3704846";function jumpPage(){  var event=document.all?window.event:arguments[0];  if(event.keyCode == 37)document.location=preview_page;  if(event.keyCode == 39)document.location=next_page;  if(event.keyCode == 13)document.location=index_page;}document.onkeydown=jumpPage;--></script>

小说网的翻页效果