View Full Version : Code help
bigrich0086
07-09-2007, 09:44 PM
Hi im rich very first post but might be a good question. im looking for a code that when you load the page the exclamation windo pops up with the message. i made one for no right mouse clicks. i need one made to when my page laods they will see the message.
Horus_Kol
07-09-2007, 09:49 PM
in the head section of your page:
<script type='text/javascript'>
function message_onload()
{
alert("Hello World");
}
</script>
and then write your body tag as:
<body onload='message_onload()'>
bigrich0086
07-09-2007, 10:26 PM
thanks for the help it worked just lik i wanted. heres the link. http://richscomputers.com/
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.