Looking bad:-How to ‘‘disable or remove" light box feature’’ in blogger?

                                      
Photobucket
The blogger has introduced the  light box feature to view the images in a new way of blog.This way of viewing the images looks crazy.But some bloggers who don’t wish to add this type of features to their blog.They like to move with their own plans.
In the following tutorial i will explain how to ‘remove the light box feature in blogger’

PART1
Login to your blogger account  >>’’layout ‘’>>  ‘’Add a gadget’’ >> ‘’Html java script’’
PART2
Now copy the below code in the ‘’Html Java script box’’
<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>
Now click on ‘save’ and you have disabled the light box feature in your blogger.

No comments:

Post a Comment

Please comment the message if you like post or any trouble