到下一页的浮动按钮

JavaScript: Floating button to next page

本文关键字:按钮 一页      更新时间:2023-09-26

有一个网站,不是我的。我需要一个浮动按钮,在左边或其他地方。

有三个问题:

    如何使浮动按钮在我的浏览器?并使此按钮加载下一页。例如:url为localhost/dev/profile.php?uid=1。单击该按钮后,页面将加载localhost/dev/profile.php?Uid =2等。我想知道如何使uid值增加。

我使用mozilla firefox和I noob.

谢谢。XD

对于浮动按钮,您可以尝试:http://www.jtricks.com/javascript/navigation/floating.html.

对于uid增加:

  • 使用document.URL
  • 获取当前URL
  • 解析参数("?"后面)
  • parseInt
  • 获取号码
  • 增加
  • > >