redirectButton

This function redirects an existing button to a different URL.

To use, pass the existing URL, and the URL you'd like to redirect to. To determine the existing URL:

  • while viewing the page, position the cursor over the desired button
  • right-click, and select 'Copy link location'
  • edit the SideBar, and paste the copied URL as the first parameter.
<script>
widget.redirectButton('discussion.php', 'http://google.com')
</script>


Page Information

  • 10 months ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts