Thursday, May 24, 2012

How to hide navbar in blogspot

Just paste below css before body tag of css starts.

#navbar-iframe {
  height: 0px;
  visibility: hidden;  
  display: none;
  }

Friday, March 30, 2012

how to redirect blogspot.us to blogspot.com

By using java script code we can redirect blog spot .in to .com using or .us to .com. 



// http://rangatechnology.blogspot.in/ 
<script type="text/javascript">

var str= window.location.href.toString();
if ((str.indexOf('.com/'))=='-1') {
var str1=str.substring(str.lastIndexOf(".blogspot."));
if (str1.indexOf('/')=='-1') {
var str2=str1;
}
else {
var str2=str1.substring(0,str1.indexOf('/')+1);
}
window.location.href =window.location.href.toString().replace(str2,'.blogspot.com/ncr/');
}
</script>
*Copy the above code and search this line on your blogger template.
first search for below line, and then copy above code and paste above of below line.



<b:include data='blog' name='all-head-content'/>


save the html template. u can able to redirect all end users to userwebsite.blogspot.com.