0

there is a site, not mine. I need a floating button, in the left side or whatever.

There are 3 questions:

  1. How to make floating button in my browser?
  2. And make this button load next page. exmpl: the url is localhost/dev/profile.php?uid=1. after click that button, the page will load localhost/dev/profile.php?uid=2 and subsequently. i wonder how to make uid value increase.

I use mozilla firefox and i noob.

Thanks. XD

4

1 回答 1

0

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

对于uid增加:

  • 获取当前 URLdocument.URL
  • 解析参数(在“?”之后)
  • 得到号码parseInt
  • 增加它
  • 而不是将该参数分配给链接并访问它。
于 2013-06-01T17:04:28.737 回答