ugly facebook button
This commit is contained in:
parent
48930f0522
commit
ae03cd9373
|
@ -18,6 +18,9 @@ $('#listLeft ul li a').live("click", function() {
|
||||||
}, function(data) {
|
}, function(data) {
|
||||||
$('#imageInside').css({'backgroundImage': 'url(' + data.main_image.thumb + ')'});
|
$('#imageInside').css({'backgroundImage': 'url(' + data.main_image.thumb + ')'});
|
||||||
$('#textRight').text(data.title).formatTitle();
|
$('#textRight').text(data.title).formatTitle();
|
||||||
|
var url = location.protocol + "//" + location.hostname + location.pathname + "?tab=" + $('.innerSelected').attr("data-slug") + "&object_id=" + objId;
|
||||||
|
var fb_url = url.replace("&", "&");
|
||||||
|
$('#fb_like').attr("data-href", fb_url);
|
||||||
var searchTerm = $('.searchListField').val();
|
var searchTerm = $('.searchListField').val();
|
||||||
var html = data.html;
|
var html = data.html;
|
||||||
if (searchTerm != '') {
|
if (searchTerm != '') {
|
||||||
|
|
|
@ -15,6 +15,15 @@
|
||||||
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
<div id="fb-root"></div>
|
||||||
|
<script>(function(d, s, id) {
|
||||||
|
var js, fjs = d.getElementsByTagName(s)[0];
|
||||||
|
if (d.getElementById(id)) {return;}
|
||||||
|
js = d.createElement(s); js.id = id;
|
||||||
|
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
|
||||||
|
fjs.parentNode.insertBefore(js, fjs);
|
||||||
|
}(document, 'script', 'facebook-jssdk'));</script>
|
||||||
|
|
||||||
<div id="lightboxPanel">
|
<div id="lightboxPanel">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -164,7 +173,8 @@
|
||||||
<img src="/static/images/noel/tweet.png" width="18" height="18" alt="twitter" class="iconImages">
|
<img src="/static/images/noel/tweet.png" width="18" height="18" alt="twitter" class="iconImages">
|
||||||
<!--<a href="http://twitter.com/share" class="twitter-share-button" data-count="none" data-via="http://twitter.com/#!/indtheatreforum">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>-->
|
<!--<a href="http://twitter.com/share" class="twitter-share-button" data-count="none" data-via="http://twitter.com/#!/indtheatreforum">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>-->
|
||||||
|
|
||||||
<img src="/static/images/noel/facebook.png" width="18" height="18" alt="facebook" class="iconImages">
|
<div id="fb_like" class="fb-like" data-href="http://theatreforum.in/m/bestpractices/?tab=cases&object_id=16" data-send="true" data-width="450" data-show-faces="true"></div>
|
||||||
|
<!-- <img src="/static/images/noel/facebook.png" width="18" height="18" alt="facebook" class="iconImages"> -->
|
||||||
<!-- <iframe src="http://www.facebook.com/plugins/like.php?href=www.theatreforum.in&send=false&layout=button_count&width=450&show_faces=false&action=like&colorscheme=light&font=arial&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe>-->
|
<!-- <iframe src="http://www.facebook.com/plugins/like.php?href=www.theatreforum.in&send=false&layout=button_count&width=450&show_faces=false&action=like&colorscheme=light&font=arial&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe>-->
|
||||||
|
|
||||||
<img src="/static/images/noel/download.jpg" width="18" height="18" alt="download" class="iconImages">
|
<img src="/static/images/noel/download.jpg" width="18" height="18" alt="download" class="iconImages">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user