Click to See Complete Forum and Search --> : Random name generator


thoughtcat
04-13-2003, 02:13 PM
Hi,
I'm new to JavaScript and this forum. I want to write a basic random name generator which will produce a name consisting of one first name (male/female is optional) and a double-barrelled surname in a single results box. I can fill in all the name data myself if it is made clear where this needs to go. If anybody can provide the basic code or point me to a site which provides it I would be very grateful.

Many thanks
Richard

AdamGundry
04-13-2003, 02:39 PM
You're in luck. I've done a script for you, which you can find at:
http://www.agbs.co.uk/dev/names.html

In the lines starting like "var FirstName", change the names there or add names seperated by commas and surrounded in quotes.

Adam

thoughtcat
04-17-2003, 01:07 PM
Adam - big thanks for doing that! I owe you one,

Cheers
Richard