So In this tutorial i will show you how to add a cool floating Facebook like widget for Blogger that slides to the left on mouseover.
- Go To Blogger >> Layout >> Add a Gadget
- Choose HTML/JavaScript
- Paste The Following Code in Content Box
Enter your Facebook Page Name
Search for http://www.facebook.com/royaliker.net and replace it with your site’s facebook page URL.
Change the 10 Second Time Delay
The widget pops up 10 seconds after the page finishes loading. Search for the code below and change the number 10000 to a greater or lesser number.
1 second = 1000. 60 seconds = 60000.
The widget pops up 10 seconds after the page finishes loading. Search for the code below and change the number 10000 to a greater or lesser number.
1 second = 1000. 60 seconds = 60000.
.delay(10000)
Popup every time the page loads
By default, the like box widget only shows up the first time the user visits your page. If you would like the facebook box to popup every time the page loads, then remove this line of code:
By default, the like box widget only shows up the first time the user visits your page. If you would like the facebook box to popup every time the page loads, then remove this line of code:
$.cookie(‘popup_user_login’, ‘yes’, { path: ‘/’, expires: 7 });