Country Flag: Get the country code and flag for a given country

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 333 All time: 129 This week: 4Up
Version License JavaScript version Categories
country-flag 1.0GNU General Publi...1.0HTML, Geography, Graphics
Description Author

This object can get the country code and flag for a given country.

It can take a given country number and return the associated country code.

The object can also add CSS style definitions to the current page, so the flag of a given country can be taken from a sprite image with all country flags and appear in a page element using the added CSS style to a page element as background image.

Picture of Dixan Santiesteban
  Performance   Level  
Name: Dixan Santiesteban <contact>
Classes: 10 packages by
Country: Cuba Cuba
Age: 46
All time rank: 91 in Cuba Cuba
Week rank: 6 Up1 in Cuba Cuba Equal
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file cou_info.class.js Class The class
Accessible without login Image file fl.gif Photo All flags
Accessible without login Plain text file sample.html Example Sample web page

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:129
This week:4Up