title: Custom design for Twitter button with events
body: <p>I've got a custom tweet button:</p>
  
  <pre><code>&lt;a href="http://twitter.com/share?url=http://example.com;text=myText;size=l&amp;amp;count=none" target="_blank"&gt;
      &lt;div&gt;
          &lt;img src="/assets/twitter-logo.jpg"&gt;
          &lt;span&gt;Twitter&lt;/span&gt;
      &lt;/div&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>Now I want to achieve some result after the tweet has been published. To do so, I've looked at the Twitter Events API:</p>
  
  <pre><code>&lt;script type="text/javascript" src="http://platform.twitter.com/widgets.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
      twttr.events.bind('tweet', function (event) {
          alert("Tweet Successful");
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>However, this API only works on non-custom buttons (<code>twitter-share-button</code> class).</p>
  
  <p>Anyone has managed to create a custom button which listens to events?</p>