Override Lightbox On Blogger Blogs
Step 1. In Your Blogger Dashboard Click Design > Add A Gadget > Choose Html/Javascript.
Step 2. Copy And Paste The Following Code Into The Html/Javascript Gadget Form
<script type="text/javascript">
//<![CDATA[
function killLightbox() {
var images = document.getElementsByTagName('img');
for (var i = 0 ; i < images.length ; ++i) {
images[i].onmousemove=function() {
var html = this.parentNode.innerHTML;
this.parentNode.innerHTML = html;
};
}
}
if (window.addEventListener) {
window.addEventListener('load',killLightbox,false);
} else {
window.attachEvent('onload',killLightbox);
}
//]]>
</script>
Step 3. Save The Gadget, You don't need to give it a title.
Video Tutorial
That's it Lightbox is gone and images will be displayed as before.All the thanks for this goes toCode from an English Coffee Drinker.
0 comments:
Post a Comment