Add a Button to a page

To use this function include the following code on your page (or your SideBar, for all pages):

 <script>
widget.addButton("text to appear on the button","url to send the button to","optional attributes");
</script>

like so:

 <script>
widget.addButton("Google","http://www.google.com");
</script>

or this:

 <script>
widget.addButton("Google","http://www.google.com","onmouseover=\"javascript:alert('Hello!')\"");
</script>


If you don't know what "optional attibutes" are, then don't use them. Just pass the first two parameters.


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