Facebook wtyczka społecznościowa – aktualizacja

Drobna aktualizacja do http://darkgl.pl/index.php/2011/09/11/facebook-wtyczka-spolecznosciowa/

Strona do generowania wtyczki
https://developers.facebook.com/docs/plugins/like-box-for-pages?locale=pl_PL

Nowy kod

<style>
@media only screen and (device-width: 768px) {<br />
	table.ipb_table .expander,<br />
	table.ipb_table .ipsModMenu { visibility: visible; opacity: 0.2; }<br />
	.post_block .post_controls { opacity: 1 !important;	}<br />
}<br />
.facebook{<br />
float:left;<br />
width:240px;<br />
height:400px;<br />
display:block;<br />
background:url("http://amxx.pl/public/style_images/fbpodklad.png");<br />
left:-210px;<br />
padding:0;<br />
position:fixed;<br />
top:200px;<br />
	z-index:10000;<br />
} </style><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js"></script>
<script type="text/javascript"><br />
var j = jQuery.noConflict();<br />
var isVisible = false;<br />
	j(function (){<br />
		j(".facebook").click(function(){<br />
			isVisible = !isVisible;</p>
<p>			if (isVisible)<br />
				j(".facebook").stop(true, false).animate({left:"0"},"medium");<br />
			else<br />
				j(".facebook").stop(true, false).animate({left:"-210"},"medium");<br />
	})<br />
});<br />
</script>
<div class="facebook">
<div style="color:#fff; padding:15px 5px 0 5px;">
<iframe src="http://www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FAMXXPL%2F178991888818498&amp;width=200&amp;height=363&amp;colorscheme=dark&amp;show_faces=true&amp;header=true&amp;stream=false&amp;show_border=true" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:363px;" allowtransparency="true"></iframe></div>
</div>

Dodaj komentarz

Witryna wykorzystuje Akismet, aby ograniczyć spam. Dowiedz się więcej jak przetwarzane są dane komentarzy.