Thread: I need a script
View Single Post
Old 05-19-2006, 02:23 PM  
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
put this in the places on the pages you want to include the update:

Code:
<script language="JavaScript" src="/location/of/file.js"></script>
now create a javascript file with what you want in it.

file.js =
Code:
function writeStuff()
{
  str = "Hello. Hello. Hello";
  return str;
}
document.write.(writeStuff());
Note: Very, very cheesy solution, there.
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote