View Single Post
  #2 (permalink)  
Old August 16th, 2003, 12:31 PM
natmaster natmaster is offline
Authorized User
 
Join Date: Jun 2003
Location: , , USA.
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to natmaster Send a message via AIM to natmaster Send a message via MSN to natmaster
Default

just make them fill out a forum, then when the submit (<input type="submit" onClick="generateCode()">)
it will change the actual source of the page by using document.write

example:

function generateCode() {
 document.write("<img src=\""+document.forumName.imageSrc.value+"\">");
}

this uses forumName as the forum name and imageSrc as the name of the input value

----------------------------
Aeon of Darkness MUD - Free Online Roleplaying Game
http://aeonofdarkness.com
Reply With Quote