火车采集器软件交流官方论坛

 找回密码
 加入会员
搜索
火车采集器V9版免费下载火车浏览器 - 可视采集,万能群发,全自动脚本工具
查看: 2217|回复: 4

求助!!请问这种JS分页怎么写插件!

[复制链接]
发表于 2011-6-22 12:07:24 | 显示全部楼层 |阅读模式
请问这种JS分页怎么写插件!
  1. <script language="JavaScript">       
  2.         function NextAction(act){
  3.                 if(act == "first"){
  4.                         document.theForm.curpage.value = "1";
  5.                         document.theForm.submit();
  6.                 }
  7.                 if(act == "pre"){
  8.                         document.theForm.curpage.value = ""+(parseInt(document.theForm.curpage.value)-1);
  9.                         document.theForm.submit();
  10.                 }
  11.                 if(act == "next"){               
  12.                         document.theForm.curpage.value = ""+(parseInt(document.theForm.curpage.value)+1);
  13.                         document.theForm.submit();
  14.                 }
  15.                 if(act == "end"){
  16.                         document.theForm.curpage.value = ""+(parseInt(document.theForm.totalpage.value));
  17.                         document.theForm.submit();
  18.                 }
  19.         }
  20.         function changeP(obj)
  21.         {       
  22.                 document.theForm.curpage.value = obj.value;
  23.                 document.theForm.submit();       
  24.         }
  25.        
  26.        
  27.         function showReplyCount(){
  28.                 document.theForm.submit();
  29.         }
  30.        
  31.         </script>

复制代码
发表于 2011-6-22 13:11:20 | 显示全部楼层
你提供的这些内容好像没有什么用
 楼主| 发表于 2011-6-22 13:40:27 | 显示全部楼层
回复 2# 272070210
???
发表于 2011-6-22 13:41:32 | 显示全部楼层
你提供的这些代码没有办法判断怎么弄。如果有需要可以联系我定制。
发表于 2011-6-22 21:33:04 | 显示全部楼层
这个我也判断不了。,
您需要登录后才可以回帖 登录 | 加入会员

本版积分规则

QQ|手机版|Archiver|火车采集器官方站 ( 皖ICP备06000549 )

GMT+8, 2025-8-27 13:37

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表