title: Creating a iframe like facebook or twitter
body: <p>I'm trying to create a popup like facebook and twitter. When you click on a like button of facebook in another website besides facebook.com and you're not logged in, it opens a popup so you can log in, and then, when you click "login", it closes returning authentication to the website you clicked on like button.</p>
  
  <p>Same thing with twitter.</p>
  
  <p>Any idea?</p>
  
  <p>Their code are like this:
  These examples are pointing to the website I work for.</p>
  
  <p>Twitter:</p>
  
  <pre><code>&lt;iframe frameborder="0" scrolling="no" src="http://platform.twitter.com/widgets/tweet_button.html?counturl=http://www.cromaz.com&amp;amp;count=horizontal&amp;amp;via=mundocromaz&amp;amp;text=Cromaz,%20rede%20social%20pra%20vizinhos!%20100%25%20brasileira!&amp;amp;url=http://www.cromaz.com&amp;amp;" style="width:105px; height:20px; overflow:hidden; position:relative; left:3px;" /&gt;
  </code></pre>
  
  <p>Facebook:</p>
  
  <pre><code>&lt;iframe src="http://www.facebook.com/plugins/like.php?locale=pt_BR&amp;amp;href=http://www.facebook.com/pages/Cromaz/139676989421131&amp;amp;layout=button_count&amp;amp;show_faces=false&amp;amp;width=50&amp;amp;action=like&amp;amp;font=verdana&amp;amp;colorscheme=light&amp;amp;height=21;"  scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px; position:relative; left:6px;" /&gt;
  </code></pre>