Greeting message

Written by @kerixa 24 February 2014

A floated message increasing size that says welcome to user and finally, it will be hidden.

Code Snippet:

                                                
                                                <!-- this script is provided by www.htmlbestcodes.com coded by: Kerixa Inc. -->
<!-- this script got from www.htmlbestcodes.com-Coded by: Krishna Eydat -->
<html>
<head>
</head>
<body>

<script language="JavaScript" type="Text/JavaScript">
function fifteenth(){sixteenth();seventeenth();}window.onload=fifteenth;var eighteenth='Welcome to my site!';var nineteenth=10;var twentieth=1000;
function sixteenth(){
if (document.layers)document.first2.top=pageYOffset;
else if (document.all){first2.innerHTML='<div align=center><font face="Verdana">'+eighteenth+'</font></div>';setTimeout('first2.style.top=document.body.scrollTop+50;first2.style.left=document.body.scrollLeft+10',100);}
else if (document.getElementById){document.getElementById('first2').innerHTML='<div align=center><font face="Verdana">'+eighteenth+'</font></div>';document.getElementById('first2').style.top=pageYOffset+50;}}
function seventeenth(){
if (document.layers){document.first2.document.write('<div align=center style="font-size:'+nineteenth+'px"><font face="Verdana">'+eighteenth+'</font></div>');document.first2.document.close();}
else if (document.all)first2.style.fontSize=nineteenth+'px';
else if (document.getElementById)document.getElementById('first2').style.fontSize=nineteenth+'px';nineteenth+=5;
if (nineteenth>90){
if (document.layers)setTimeout("document.first2.visibility='hide'",twentieth);
else if (document.all)setTimeout("first2.style.visibility='hidden'",twentieth);
else if (document.getElementById)setTimeout("document.getElementById('first2').style.visibility='hidden'",twentieth);return;}else setTimeout('seventeenth()',150);}
</script>
<div id='first2' style='position:absolute;color:red'></div>

<br/><div style="clear:both"></div><div><a target="_blank" href="http://www.htmlbestcodes.com/"><span style="font-size: 8pt; text-decoration: none">HTML Best Codes</span></a></div>
</body>
</html><a target='_blank' href='www.htmlbestcodes.com' style='font-size: 8pt; text-decoration: none'>Html Best Codes</a>                                                
                                            

Example:


About @kerixa

I am Krishna Eydat. I studied Software Engineering at University of Waterloo in Canada. I lead a few tech companies. I am passionate about the way we are connected. I would like to be part of something big or be the big deal!

K
TRENDING POST
1
2
3
4
5
VISITORS
Online Users: 12
Recent Members: Nikhil 999+, bishalthakur
advertisement 2