how to add fancybox, to a facebook like button ?

41 views
Skip to first unread message

dechampfleury

unread,
May 25, 2012, 11:33:40 AM5/25/12
to fancybox
Hello,

I want to implement a Facebook Like button on my page, and to make
appear Fancybox when you click on the Like button.

Here is my code :


<script>
FB.Event.subscribe('edge.create', function(href, widget) {
document.location.href='index.php#data'
});

</script>




Interesting part is :

document.location.href='index.php#data'


I think that if i want the script work, i have to indicate the id
value of the link, witch is "inline"

How can i do that ?

Or is it a wrong idea ?

Thank you so much for your answer !




Reply all
Reply to author
Forward
Message has been deleted
0 new messages