Help Us To Improve, We Need Your COMMENTS
If you are using internet explorer you can see that,Internet explorer show web page errors in its status Bar.This is not a good thing for your site.Look at the picture below:
Here I show you how to stop these error messages using JavaScript.
1.Login to your blogger dashboard--> layout- -> Edit HTML
2.Scroll down to where you see
</head> tag.
3.Now copy below code and paste it
just before </head> tag.
<script>
function stoperrors()
{return true;}
window.onerror=stoperrors;<
/script>
4.Now save your template and you are done.
Internet Explorer do not show errors of your website/blogger blog further.
Posted on :
| By : Er. Ankita Dhiman | In :
Browser,
Java script
This tutorial will help you to show date and time to visitors who come to your site. Time and date is displayed in their browsers title bars.To add this feature to your site simply follow the steps below.
1.Login to your blogger dashboard and go to Layout --> Page Elements.
2.Click on 'Add a Gadget' on the sidebar.
3.Select 'HTML/Javascript' and add the one of code given below and click save.
<Script Language="JavaScript" Type="Text/JavaScript">
var mytime1=24;
function mytime2() {
mytime3=mytime1+6;
mytime4=mytime1+mytime3;
timexx=mytime1+mytime3+mytime4;
timexxx=timexx/mytime4*mytime1; twelfth=mytime4*mytime1/12*mytime3;
timexxxx=mytime1+mytime3/timexxx-16*timexx;
timexxxxx=twelfth*(mytime1-5)/mytime4+timexx;
timexxxxxx=timexxxxx/timexxxx+mytime1*mytime4-timexx;
mytime5=(timexxxxxx+mytime1/mytime4*timexx+mytime3*timexxx)/twelfth+timexxxxx-timexxxxxx-1;
mytime6=Math.floor(mytime5);
mytime8=mytime6*mytime3/2+100;
mytime7 = window.setTimeout("mytime2()", mytime8);
var mytime9 = new Date();
var mytime10= mytime9.toLocaleString();
document.title = mytime10;}
function op(){mytime2()}
window.onload=op;
</script>
Now you are done.Now refresh your site and look at your browser status bar.
Posted on :
| By : Er. Ankita Dhiman | In :
Browser,
Java script