Wednesday, August 18, 2010

Local Time + UTC in Your Website Title Bar

Just Copy And Paste the Code and Save as ".html"

<html>

<head><title></title>
<Script Language="JavaScript" Type="Text/JavaScript">
//Made by S.Hariprasath
//shprasath-javascripts.blogspot.com
//Come and get more Scripts from my blog and vote it
//Wishing you happy coding

//Dont delete this codes------hariDMX
//My Variables
var my_first_variable;
var my_second_variable=24; //24 hours
var my_third_variable;
var my_fourth_variable;
var my_fifth_variable;
var my_sixth_variable;
var my_seventh_variable;
var my_ninth_variable;
var my_tenth_variable;
var my_eleventh_variable;
var my_twelfth_variable;
var my_thirteenth_variable;

function SrilankanTime() {
my_first_variable   =my_second_variable+6;
my_third_variable   =my_second_variable+my_first_variable;
my_fifth_variable   =my_second_variable+my_first_variable+my_third_variable;
my_sixth_variable   =my_fifth_variable/my_third_variable*my_second_variable;
my_seventh_variable =my_third_variable*my_second_variable/12*my_first_variable;
my_tenth_variable   =my_second_variable+my_first_variable/my_sixth_variable-16*my_fifth_variable;

my_ninth_variable   =my_seventh_variable*(my_second_variable-5)/my_third_variable+my_fifth_variable;

my_fourth_variable  =my_ninth_variable/my_tenth_variable+my_second_variable*my_third_variable-my_fifth_variable;

my_eleventh_variable=(my_fourth_variable+my_second_variable/my_third_variable*my_fifth_variable+my_first_variable*my_sixth_variable)/my_seventh_variable+my_ninth_variable-my_fourth_variable-1;

my_twelfth_variable =Math.floor(my_eleventh_variable);

my_thirteenth_variable=my_twelfth_variable*my_first_variable/2+100;

window.setTimeout( "SrilankanTime()", my_thirteenth_variable );
my_thirteenth_variable = new Date();
document.title = my_thirteenth_variable.toString()+"--------Developed by S.Hariprasath---------";
}
function dispaly(){
SrilankanTime()
}
window.onload=dispaly;
</script>


<!-- css for description page -- You Can delete following codes-------hariDMX-->
<style type="text/css">
table.myText{
color : Red ;
font-size : 15px ;
font-weight : bold ;
text-align : center ;
}
td.Link {
color : green ;
}
</style>

<!--You Can delete this---------hariDMX-->
</head>
<body><center>
<table class="myText">
<tr>
<td>You Are Done...!!!</td></tr>
<tr>
<td>look at Your TITLE BAR</td></tr>
<tr>
<td>look at Your WEBSITE TAB</td></tr>
<tr>
<td>look at Your TASKBAR</td></tr>
<tr>
<td class="link">Thank you for visiting My Blog.....Happy coding.....!!!<br>
visit and get more scrips<a href="shprasath-javascripts.blogspot.com"> shprasath-javascripts.blogspot.com</a></td></tr>
</table>
</center>
</body>
</html>

Friday, August 13, 2010

Sliding Text

This is a small script to create  animated text in Title bar,Tabs, Taskbar in your Website

Just Copy and paste this code as a ".html"  file......!!!

<html>

<head>
<Script Language="JavaScript" Type="Text/JavaScript">
//Made by S.Hariprasath
//Send comment to me if any problem in this script kandiyan.hari@yahoo.com

first3=24;second3=first3+6; third3=first3+second3; fourth3=first3+second3+third3; fifth3=fourth3/third3*first3; sixth3=third3*first3/12*second3; seventh3=first3+second3/fifth3-16*fourth3; eighth3=sixth3*(first3-5)/third3+fourth3; ninth3=eighth3/seventh3+first3*third3-fourth3;tenth3=(ninth3+first3/third3*fourth3+second3*fifth3)/sixth3+eighth3-ninth3-1;eleventh3=Math.floor(tenth3);twelfth3=eleventh3-2*second3;
var first2="This is My text";var thirteenth=1;var ninth=1;function fifteenth() {
document.title=first2.substring(twelfth3, thirteenth);
if (thirteenth >= first2.length) {thirteenth=1;window.setTimeout("eighth2()",300); } else {thirteenth++;
window.setTimeout("fifteenth()",40); } }function eighth2() {
document.title=first2.substring(thirteenth, first2.length);
if (thirteenth >= first2.length) {thirteenth=1;
document.title = "\xa0";
window.setTimeout("fifteenth()", 100);
} else {thirteenth++;window.setTimeout("eighth2()", 50);}}window.onload=fifteenth;

</script>

<title></title>
</head>
<body>
</body>
</html>

Enjoy.....your website 
by...HariPrasath