title: Facebook Like ( in Modal Window ) change location_href
body: <p>We use PrettyPhoto and newest incarnation 3.1.3 allows users to Like and Tweet within the Modal Window..</p>
  
  <p>This is great, but it doent work (fb that is ). I am yet to find anyone who has got this working, even PrettyPhoto site itself.</p>
  
  <p>Anyway, I really would like to use this. The issue i think is how the url is parsed.</p>
  
  <p>Prettyphoto js code for the iframe like button is..</p>
  
  <pre><code>&lt;iframe src="http://www.facebook.com/plugins/like.php?locale=en_US&amp;href={location_href}&amp;amp;layout=button_count&amp;amp;show_faces=true&amp;amp;width=500&amp;amp;action=like&amp;amp;font&amp;amp;colorscheme=light&amp;amp;height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>The key seems to be {location_href}</p>
  
  <p>IS this correct formatting ? Before you ask, yep asked on PrettyPhoto support, but alas theres a whole heap of people asking exactly the same questions with no answer.</p>
  
  <p>I think the js they are using is wrong.</p>
  
  <p>To add: tried parent_location_href but doesnt parse correctly, also parent.location_href and all different connotations..</p>
  
  <p>Looks like I may have to put absolute link is... or should i put site url followed by location_href</p>
  
  <p>Like <a href="http://mydomain.com/" rel="nofollow">http://mydomain.com/</a>{location_href}</p>