title: Invoke an alert on an href, then continue to a new page
body: <p>I have a link to a page which invokes the 'Sexy Alert Box' script to pop a message asking if users agree to Terms and Conditions with options "I Agree" and "Cancel". </p>
  
  <p>I've got that much going but now <strong>I need for the "I Agree" option to send them to a new page</strong>. ("Cancel" returns the user the current page.)  </p>
  
  <p>Something to do with <code>document.location.href</code>?</p>
  
  <p>I am using the mootools framework.</p>
  
  <p><a href="http://www.coders.me/web-html-js-css/javascript/sexy-alert-box-12-mootools-jquery" rel="nofollow noreferrer">Sexy Alert Box 1.2 mootools &amp; jQuery</a></p>
  
  <p>Here's the code:</p>
  
  <pre><code>&lt;a href="#" 
      onclick="Sexy.confirm('Do you agree to the terms and conditions?', {
          textBoxBtnOk: 'I Agree', // goes to www.newpage.com
          textBoxBtnCancel: 'Cancel' // return to current page    
      });"&gt;Link&lt;/a&gt;
  </code></pre>