How to Hide any HTML Javascript Widget in Blogger / Blogspot


Hiding HTML Javascript Widget in Blogger or Blogspot

Very often we come across a situation in which we want some of  our widgets to be hidden. Removing them from our blog isn't a solution and that's why we need to hide them in such a way that they will be active and working. How exactly you can hide the widget ?

Lot of blogs use feedjit or flagcounters and not everyone wants to share their keywords with competitors. So what will be the best way to hide such javascript widget ? Here's quick trick.

You just need to add line of code around your existing code so nobody will be able to see it.



Let's understand this code. You are putting your html code in a new div and setting property for it.
height = 0 - sets the height to zero
width = 0 - width the height to zero
and last overflow = hidden hide the if the dive is overlapping over another div.

Pretty simple and useful huh ? 

Hiding HTML Javascript Widget in Blogger or Blogspot

Very often we come across a situation in which we want some of  our widgets to be hidden. Removing them from our blog isn't a solution and that's why we need to hide them in such a way that they will be active and working. How exactly you can hide the widget ?

Lot of blogs use feedjit or flagcounters and not everyone wants to share their keywords with competitors. So what will be the best way to hide such javascript widget ? Here's quick trick.

You just need to add line of code around your existing code so nobody will be able to see it.



Let's understand this code. You are putting your html code in a new div and setting property for it.
height = 0 - sets the height to zero
width = 0 - width the height to zero
and last overflow = hidden hide the if the dive is overlapping over another div.

Pretty simple and useful huh ? 

Was that useful? Why not share it?

By: