NationStates Jolt Archive


Country Submenu code help.

MuhOre
22-02-2005, 16:42
Can anybody tell me the code...to refer me to a site, where during a function of when signing up for a website, it gives a submenu list of all the countries.

Thanks. :)
SSGX
22-02-2005, 17:04
I'm not quite sure what you mean, but I'm assuming you're looking for an HTML form element?

If so, I think this (http://www.htmlgoodies.com/tutorials/forms/article.php/3479121#pop) is what you need...

If not, your answer can probably be found elsewhere on that site... HTMLGoodies.com is a great resource...
MuhOre
22-02-2005, 17:08
You know when you sign up, and it asks for your country where you live? That's what i want...it list's all the countries, From Afghanistan to Zimbabwe and the person selects where-ever he lives.

But i think that may be the code i'm looking for...i dunno really, you'd have to tell me. :p
MuhOre
22-02-2005, 17:29
I look at the code, when picking a flag in settings, and it list's me all the countries...that's basically what i want. But i don't want to write down all the countries manually...isn't there one already done for people to copy? =\
SSGX
22-02-2005, 17:35
There might be a pre-made one out there, but I don't know where you could find it...

Another option is to go to a site that has one, right-click the page and select View Source (or click on View in the top menu, then Source in the dropdown that appears)

This will output the HTML code of that page into a notepad file for you to view...

Look for the code that lists all of the countries, and copy it...
MuhOre
22-02-2005, 17:41
tried...no success... can you help me? X_X
Zeppistan
22-02-2005, 17:43
I look at the code, when picking a flag in settings, and it list's me all the countries...that's basically what i want. But i don't want to write down all the countries manually...isn't there one already done for people to copy? =\


Why not just try finding a webpage that has such a list, then viewing the source and copying it?

For example, go to mapquest.com, click on the Maps icon, and they have a country list right there....