ManyCodes.com – codes & scripts Get free programming codes and tutorials!

22Jul/090

A message box when page opens

Here is how you can make a message box appear when your webpage opens.

Put the code below within your site's <head>  </head> tags. If you dont know how to implement this code into your site, please goto how to implement the code to your website

Code:

<pre><!-- this script is from www.manycodes.com -->

<script language="javascript" type="text/javascript">
alert("Welcome to my site")
</script>
<font face="Tahoma"><a target="_blank" href="http://www.manycodes.com/"><span style="font-size: 8pt; text-decoration: none">JavaScript Free Code</span></a></font></pre>