How to Add Scrolling Widget
- Login to Blogger >> Dashboard
- Click on Drop Down Menu & Select >> Layout
- Add a HTML/JavaScript Gadget
- Paste Below Code in Box and save it.
<div id='BeH-Fixed'>
Place Your add Codes Here
</div>
<script>
window.onload = function() {
function getScrollTop() {
if (typeof window.pageYOffset !== 'undefined' ) {
// Most browsers
return window.pageYOffset;
}
var d = document.documentElement;
if (d.clientHeight) {
// IE in standards mode
return d.scrollTop;
}
// IE in quirks mode
return document.body.scrollTop;
}
window.onscroll = function() {
var box = document.getElementById('BeH-Fixed'),
scroll = getScrollTop();
if (scroll <= 2509) {
box.style.top = "2510px";
}
else {
box.style.top = (scroll + 1) + "px";
}
};
}
</script>
<style>
#BeH-Fixed {
position: absolute;
z-index:9999;
}
</style>
===========================================================
Make Changes...?
Replace Place Your Add Codes Here with your Bidvertiser OR Chitika add Codes.

No comments:
Post a Comment