Show Random Headlines Inside Sticky Floating Bar
Posted by Tung Thanh Ly Vietnam on Thursday, November 06, 2014 with 2 comments
Activate Recent Headlines on Feedburner?
Note: For Dynamic version only. If you wish to add a static/manual version of this plugin then skip this step.
For the dynamic version of this plugin you will need to have Feeds stored at feedburner.
For the dynamic version of this plugin you will need to have Feeds stored at feedburner.
- Go To Feedburner > Publicize > BuzzBoost
- Uncheck all the boxes. Keep number of items 15 or you can choose All to select all posts have your published so far. Make links open in same window.
- Click Save to activate the List of your recent posts.
4. Feedburner will give you a JavaScript code that you will need to copy. Only copy the code starting with <script> and ending with </script> as shown below:
Save this code inside a notepad because we will need to use it later in this tutorial.
Show Random Headlines in blogger - Dynamic
We managed to write a script with the help of CSSGlobe script which helps you to display content randomly and rotate content using Javasctipt and CSS. We modified it to generate a dynamic list instead of manual list through Feedbuner BuzzBoost Headlines. I guess instead of adding a manual list a random dynamically generated list would be much more useful. :)
You can add the sticky bar at your blog footer and also at the top of your blog. I will guide you with both the settings. Follow these simple tips: - Go to Blogger > Template
- Backup your template
- Click Edit HTML
- Search for </head> and just above it paste this:
5. Optional: Skip this step if you have Jquery source link already added inside your template.
Next search for <head> and just below it paste the following JQuery library code.
Next search for <head> and just below it paste the following JQuery library code.
6. Search for </b:skin>. Click the black arrow to expand the code.

7. Paste the following CSS Styles just above ]]></b:skin>
7. Paste the following CSS Styles just above ]]></b:skin>
Customization:
[a] Change Colors
- To edit the border colors of the toggle button and container edit: #FC8D59
By Default the sticky bar displays at the top of webpage but if you wish to show rotating random headlines at your website footer then make these changes:
- Replace top:0px; with bottom:0px;
- Replace top:19px; with bottom:19px;
8. Now finally search for the body tag which is <body>
Note: If you are using Official Blogger Templates then search for this tag instead:
After you have found the proper body tag simply paste the following code below it:
Replace the above bolded JavaScript code with the BuzzBoost code you copied in this step.
9. Save your template and you are all done!
Visit your blog to see an attractive attention grabber working just perfectly! :)
Show Random Headlines in Blogger - Manual
If you wish to display a selected list set of links then you can surely create your own list by making these simple changes.
1. Change the CSS Code:
Inside the CSS code shared above in step#7 replace all .feedburnerFeedBlock ul with.feedburnerFeedBlock1
2. Change the HTML code
Instead of using the HTML code shared in step#8 kindly use the following one:
The above code will help you create 4 headlines. You can edit the text and URL address for each link. To create a new headline simply keep on adding the following line:
That's it! http://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html
Categories: thu thuat
Thu test 01
ReplyDeleteThu test 02
ReplyDelete