Facebook Connect Alternative Logout Button

0

Posted in , ,

I got this from a friend. The usual Facebook connect logout button is not much of a good taste. You can customize it your way. Here it goes:


<a href="#" onclick="FB.Connect.logout(function() { vid_User.fbconn.checkStatus(); }); return false;" ><img style="border:0;" id="fb_logout_image" src="images/logout_small.gif" alt="Connect"/></a>



Or this one too:

<a href="#" onclick="FB.Connect.requireSession(function() { vid_User.fbconn.checkStatus(); }); return false;" ><img style="border:0;" id="fb_login_image" src="images/connect_light_medium_short.gif" alt="Connect"/></a>


Enjoy!
Read More

Reactions: