Cześć, szukałem na necie skryptu, na like boxa z prawej strony strony, niestety nic nie znalazłem, tak więc postanowiłem zmajstrować coś sam, i chcę się tym z Wami podzielić, oto kod:
<script src
="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js"></script
><table id
="slideright" style
=" overflow:auto; position:fixed; top:25%;"><tr
class="slideLeftItem" style
="position:fixed;right:-318px;z-index:1000;height:100%;"><td
><img src
="https://lh3.googleusercontent.com/-GMJe-Am-U9Q/T4p4bZu7jDI/AAAAAAAAAFs/qQqmMGn-wwg/s800/facebook-vertical.png" style
="top:5px; position:absolute; border-right-width:5px; right:318px;"/></td
><td
class="contentBox" style
="border:solid 5px #5370AD; width:300px;height:300px;position:relative;border-radius:5px;background-color:white;"><div id
="fb-root"></div
><script type
="text/javascript" >(function() {var e
= document
.createElement
('script'); e
.async
= true;e
.src
= document
.location
.protocol
+'//connect.facebook.net/pl_PL/all.js#xfbml=1';document
.getElementById
('fb-root').appendChild
(e
);}());</script
><fb
:like
-box href
="TUTAJ LINK DO NASZEGO FANPAGE" width
="300" show_faces
="true" stream
="false" header="false"></fb
:like
-box
></td
></tr
></table
><script type
="text/javascript">jQuery
(".slideRightItem").append
('<div style="font-size:12px;font-family: arial;width:300px;text-align:right;"></div>');jQuery
("#slideright tr").hover
(function(b
){var a
=jQuery
(this
);jQuery
("#slideright tr").not
(a
).hide
();a
.css
({"z-index":"9999"});a
.stop
().animate
({right
:0
})},function(b
){var a
=jQuery
(this
);a
.css
({"z-index":"1000"});a
.stop
().animate
({right
:-a
.outerWidth
()});jQuery
("#slideright tr").show
()});</script
>
Nie zapomnij zamienić
TUTAJ LINK DO NASZEGO FANPAGE na link (IMG:
style_emoticons/default/smile.gif) )
Ten post edytował Beniooo 8.03.2013, 16:22:49