Easy Help Please

Hello to all. I would like to rate this site a 10+

I been up for two day now trying to figure out this javascript Problem that I have.

well i,m designing a website just for the young webmaster out there. And on this site I,m offering them a free Game room home page hosted by my site
I found a great cgi homepage maker script and it's up & running well. but it is important that these young kids don,t get confuse when they are building they page, therefore i request that they
have a oler person with them but still i need one part of this script to work easyer for my users.

The problem:-Is with the form

Along with the cgi homepage script came a html file for the users to post their info for they page - there is a part called (You can have up to 3 links on your page) and they must enter the web address then the name of that link NOT to easy for kids and even some grow ups to understand. so i,m been looking for a way to make it easyer. I,ve got a database of games for them to link to on my site and will like them to just select a game from a drop down menu but i need the drop down to input the address + Name with one click. ( if you don,t understand check out the site <!-- m --><a class="postlink" href="http://rocabye.com/kidszone/makepage.html">http://rocabye.com/kidszone/makepage.html</a><!-- m -->

??????????????????????????????????????????????
is there a special script or custom script or it just can,t be Done ? please help me help the kids.
thanks e-mail at <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> or aol im me when i,m online or respond here or call me collect at 518-612-0056 CliffordHi Cliff,

What you could do is edit the HTML page to contain a list (drop down box) of the games instead of the link URL. The kids could then select which games they wanted.

What you need therefore is a javascript that will automatically enter the name of the game into the NAME field once a game is selected.

I hope you're following me:



1) Change the 3 text fields to drop down menus.



<input type="text" size="40" name="usrlink1" value="http://">



Becomes:


<select name="usrlink1">
<option value="http://URLtoTHEgame"> Game 1</option>
<option value="http://URLtoTHEgame"> Game 2</option>
<option value="http://URLtoTHEgame"> Game 3</option>
etc.
</select>


2) Find a javascript that will dynamically change the NAME field when the above is selected. Someone in here should be able to help you with this.

Another way, where you wouldn't need a script would be to set the 3 link name fields as hidden ones. They could be called, 'Play my game 1', 'play my game 2', etc.

ie:



<input type="text" size="40" name="linkname1">
<input type="text" size="40" name="linkname2">
<input type="text" size="40" name="linkname3">

would become:

<input type="hidden" name="linkname1" value="Game 1 - Play">
<input type="hidden" name="linkname2" value="Game 2 - Play">
<input type="hidden" name="linkname3" value="Game 3 - Play">


Hope this helps you.

JonThe Kids and me would like to give Jonirvine a BIG
THANK YOU!!!

]
Now finding someone else to help on making that dynamically change to the name field is our next step....
]
 
Top