Well, for those who prefer to have a custom toolbar that does not give them such problems and allow them to continue using other scripts, here's how to create our own floating toolbar with a close option. The toolbar contains a search box, link for feed subscription, link to follow on Twitter and Facebook, like button to share on Twitter or Facebook and translator in five languages.
You can see it working in this demo blog.
Adding a Custom Sticky Toolbar on Blogger
Step 1. Login to your Blogger account > select your blog > click on the Template option on the left side
Step 2. Click on the Edit HTMl button on the right side > click anywhere inside the code area and press CTRL + F keys to open the Blogger search box
Step 3. Paste or type the following code inside the search box and hit Enter to find it:
]]></b:skin>Step 4. Just above ]]></b:skin> add the following CSS style:
#custom-toolbar {Step 5. Now search for this tag:
overflow: auto;
position: fixed;
background: #1B1B1B url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbVwCRwjHJLoxDbC80A6_9AbQmkRrYtL6WpIQqDjgtfxeQd2uiDWK0gMJtgb6asuVXg_8p_8e1W23lM4_KLE2HHDviDev0fDTTE4dyz4VaO2KoTg0mSnkYITYqXnIkuw7GojADRdD7iOg8/s1600/pagelist.png") repeat-x scroll 0 bottom;
font: bold 13px/17px "Helvetica Neue",Helvetica,Arial,Geneva,sans-serif;
height: 33px;
margin: 0 auto;
width: 100%;
bottom:0px;
right:0;
}
.close-toolbar {
float: right;
margin-top:6px;
padding-right: 10px;
cursor: pointer;
}
.search-text {
color: #D1D1D1;
text-align: center;
border-radius: 10px;
}
.google_translate:hover img {
filter:alpha(opacity=0.90);
-moz-opacity: 0.90;
opacity: 0.90;
border:0;
}
</head>Step 6. Just above the </head> tag add this script:
<script type='text/javascript'>Step 7. Now search for the </body> tag and just above it, add this HTML code:
// Custom Toolbar for Blogger (helplogger.blogspot.com)
//<![CDATA[
var toolbar_blogger = new Array();
var toolbar_clear = new Array();
function toolbarFloat(toolb) {
toolbar_blogger[toolbar_blogger.length] = this;
var ftrpointer = eval(toolbar_blogger.length-1);
this.pagetop = 0;
this.cmode = (document.compatMode && document.compatMode!="BackCompat") ? document.documentElement : document.body;
this.toolbsrc = document.all? document.all[toolb] : document.getElementById(toolb);
this.toolbsrc.height = this.toolbsrc.offsetHeight;
this.toolbheight = this.cmode.clientHeight;
this.toolboffset = toolbGetOffsetY(toolbar_blogger[toolbpointer]);
var toolbbar = 'toolbar_clear['+toolbpointer+'] = setInterval("toolbarFloatInit(toolbar_blogger['+toolbpointer+'])",1);';
toolbbar = toolbbar;
eval(toolbbar);
}
function toolbGetOffsetY(toolb) {
var toolbTotOffset = parseInt(toolb.mtasrc.offsetTop);
var parentOffset = toolb.toolbsrc.offsetParent;
while ( parentOffset != null ) {
toolbTotOffset += parentOffset.offsetTop;
parentOffset = parentOffset.offsetParent;
}
return toolbTotOffset;
}
function toolbarFloatInit(toolb) {
toolb.pagetop = toolb.cmode.scrollTop;
toolb.toolbsrc.style.top = toolb.pagetop - toolb.mtaoffset + "px";
}
function closeTopAds() {
document.getElementById("custom-toolbar").style.visibility = "hidden";
}
//]]>
</script>
<div id='custom-toolbar'>Finally, change what is in blue with the URLs of your Facebook and Twitter profiles.
<img border='0' class='close-toolbar' onClick='closeTopAds();return false;' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFKq4DS4JCUsDiI5YUq13K66JGo15bz-c2UyzeG_WB6_V1sOIgJTGCWsDkz92NnPd0GoD0zW3lypx_ILoVJQjB5ti1h7KDMVMzDW0MlLcpFlzd4oA-D5SodJvRptfoyUCbmHlocXV_2Mms/s1600/close_button.png' title='Close' width='17'/>
<table border='0' cellpadding='2'>
<tr>
<td style='padding-left:30px; padding-right:50px;'><form action='/search' id='search' method='get' name='searchForm' style='display:inline;'>
<input class='search-text' name='q' onblur='if (this.value == "") this.value = "Search here...";' onfocus='if (this.value == "Search here...") this.value = "";' size='28' type='text' value='Search here...'/></form></td>
<td style='padding-left:20px;'><a href='http://www.facebook.com/username' title='Follow on Facebook'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn4qBMJmSqJY6YrnuDOfWo2hyphenhyphenMdbPFcHVDHnKVZUjlCVShmDRJz9kkfWVfpcKqQs1Mj1rPc89TThW_gXmGFFf-zyy3mF7MTj3hNC5hnMsYlJ4wpDwVG0DuU7cY6lieIhXDZ2TZtG2ybqId/s1600/facebook-icon.png'/></a></td>
<td><a href='http://twitter.com/username' title='Follow on Twitter'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb9nJS30njHaKVV3P9u9dP77t_RerUMtZ7HOVogPcqyDj7FFE3aEDQ2YwfdU_aTgBKCHz1hDRUwJG7ueb-_eVL49zzXqNKU9j09bla1h3vXKPAkWQFKuwV83pMLPG2pjukVe7KfTdMFVA7/s1600/twitter-icon.png'/></a></td>
<td><a expr:href='data:blog.homepageUrl + "feeds/posts/default"' title='Subscribe to Feed'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWnsmPLGg-Cwr4DBgTZWQYM6wRezH7owXdJ_6VgdqMNtvgH7W8xtWtUcqccGfBOiefjNqKnOCbu0BtHY8_WfOVVXKySt_1Ss8fhlhCDh76Rwe0iN6q8gwUxE3kFyX7AU0BeLxFE_oHIwK_/s1600/rss-feed-icon2.png'/></a></td>
<td style='padding-left:40px; padding-top: 5px;'><a class='twitter-share-button' data-count='horizontal' data-lang='en' href='http://twitter.com/share' title='Publish on Twitter'>Tweet</a><script src='http://platform.twitter.com/widgets.js' type='text/javascript'/></td>
<td><a href='http://www.facebook.com/sharer.php' name='fb_share' title='Publish on Facebook' type='button_count'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'/></td>
<td style='padding-left:60px;'><a class="google_translate" href='Javascript:void(0)' onclick='window.open("http://www.google.com/translate?u="+encodeURIComponent(location.href)+"&langpair=auto%7Cen&hl=en&ie=UTF8"); return false;' rel='nofollow' title='English'><img align='absbottom' alt='English' border='0' height='24' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixpHv9M0G3JF7W6yNfdYL50io5I4ehD9KMf-z-a8RlLEA-xuW-5j0GiFnj_89tRaxalXjmFxQGLHGqyI8lPa3Ly1cFgMNHbamRfmQI8KOA1brRnP-SRyr3Q2vU5UJi2jYJrP1NJpmq4lTv/s1600/United+Kingdom(Great+Britain).png' width='24'/></a></td>
<td><a class="google_translate" href='Javascript:void(0)' onclick="window.open("http://www.google.com/translate?u="+encodeURIComponent(location.href)+"&langpair=auto%7Cde&hl=en&ie=UTF8"); return false;"><img alt="German" border="0" align="absbottom" title="German" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRRJhuDsvqY5AKCr5_Yt0pYb6SjNLZBhs-g9aHsbgQKL4xBYis1NPKZndHRpo20Awo6DI4ZcbGDSgtR-5j995mizJoda09K_s7A6WZ3aIirq6gpBaRgaZncuaGYF2kLs5PsBX41-Tc8YS0/s1600/Germany.png" width="24"/></a></td>
<td><a class="google_translate" href='Javascript:void(0)' onclick='window.open("http://www.google.com/translate?u="+encodeURIComponent(location.href)+"&langpair=auto%7Cfr&hl=en&ie=UTF8"); return false;' rel='nofollow' title='French'><img align='absbottom' alt='French' border='0' height='24' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPwA4_cuzWKBDZ4ocV3jwifzj3z-DF6IwYyz2WRxb_70HGxthqZTUwcM0g44ZVmfrFsgHLdSP66JT57oRdGupEV7iQIXkQHxSZtTPM7XzgiYNycTSyRrqF-BcpYZJuh6_En2wJq5TDH7nd/s1600/France.png' width='24'/></a></td>
<td><a class="google_translate" href='Javascript:void(0)' onclick='window.open("http://www.google.com/translate?u="+encodeURIComponent(location.href)+"&langpair=auto%7Car&hl=en&ie=UTF8"); return false;' rel='nofollow' title='Arabic'><img align='absbottom' alt='Arabic' border='0' height='24' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqkybMXNg6FzU-jorexY0N2DNZkgQwla6QxJSiB9Gi6zp3ckpD5TN8aFD-CzCCuDHN6L9vEE1Nqq-Mqqm-9ZLkkHFTOcOjkZdEA5dTDFTyuo1AnxCQXVgkCPpt4_PFZU2FyAcTmcF4hJaq/s1600/Saudi+Arabia.png' width='24'/></a></td>
<td><a class="google_translate" href='Javascript:void(0)' onclick='window.open("http://www.google.com/translate?u="+encodeURIComponent(location.href)+"&langpair=auto%7Czh-cn&hl=en&ie=UTF8"); return false;' rel='nofollow' title='Chinese Simplified'><img align='absbottom' alt='Chinese Simplified' border='0' height='24' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPHc8PwSZZxQbk34CRGi9Mahxiq4SGzscJjNqFJLiHstnpL5_WGznUtkBrZt3WGQfK8q1JL02HNGnAoMeqdkxggFKjbHUHKAzSCdVCJJQ3nfaLPQQRaM_N9bP6fVJhevr0v9MyXLQgCmRo/s1600/China.png' width='24'/></a></td>
</tr>
</table>
</div>
If you want to add more items, such as a counter, links, etc.. add a line like this just before the </tr> tag:
<td>Add here the extra content</td>Add the content where is indicated and that's it.
As you can see, it is not necessary to depend on external sites to have a toolbar, from now on you can have a customized toolbar on your Blogger blog.
MISSISSIPPI MESOTHELIOMA LAWYER Online Making Money Degree DAYTON FREIGHT LINES · PaperPort Promotional Code Mesothelioma Law Firm Insurance Car insurance quotes Colorado Claim SEO · Car Accident Lawyers How to donate a car in California Mortgage Geographical Location of the Visitors Transfer Loans eCommerce sites small business administration sba Classes Blogging Making Money online Credit Software Recovery Donate cars in ma · World Trade Center Footage Auto insurance affiliate program Donate Lawyer Hosting Donate Car for Tax Credit Treatment Rehab Politics ANNUITY SETTLEMENT Fatcow Attomey Health Business Conference Call Cord Blood Donate Car to Charity California mesothelioma survival rates Trading Attormey Insurance Blogs Digital Photography Gas/Electricity Data Recovery Services structured settlement annuity companies hair removal washington dc All topics related to traffic from USA STRUCTURED ANNUITY SETTLEMENT WebHostingHub NUNAVUT CULTURE Automobile Accident Attorney Donate car to charity California mesothelioma attorneys california structured settlement buyer LOS ANGELES AUTO ACCIDENT ATTORNEY Forex Trading structured settlements annuities mesothelioma suit


Comentarios
Publicar un comentario