View Single Post
  #7  
Old 11-18-2007, 06:56 PM
IcIshoot is offline IcIshoot

Join Date: Mar 2004
Location: Farmington Hills, MI
Posts: 1,473

Send a message via AIM to IcIshoot Send a message via MSN to IcIshoot Send a message via Yahoo to IcIshoot
lol - you way would work but you would still have to do one of the 2 ways I posted, and the function would have to be declared in the header, otherwise <body onint="int()"> won't know what function int() is ie:


Code:
<html>
<head>
<script script type="text/javascript">
function annoy()
{
alert.show("Blah");
}
</script>
</head>

<body onint="annoy()">
</body>

And in correction to my first reply - the correct script mark up is

<script type="text/javascript">

</script>
Reply With Quote