Open URL Using Button in Same or New Window

Opens a URL in either the same window or a new window. Uses the Button HTML tag. The code for the link is slightly different to make it open in a new window, vs same window.

<button class="button" 
  onClick="window.location.href='http://www.indoorclimbing.com/';">
  Opens in Same Window
</button>

<button type="button" 
  onclick="window.open('http://www.indoorclimbing.com/')">
  Opens in New Window
</button>

Example:

Produces the result: