欢迎来到福编程网,本站提供各种互联网专业知识!

JavaScript国旗变换效果代码

发布时间:2008-08-13 作者: 来源:转载
根据用户选择国家名词,显示对于的国家国旗
1.页面的HTML代码如下:


<selectname="Country"accesskey="c"id="Country"onchange="change_flag(this);"runat="server"o>
Argentina
Armenia
Australia
Austria
BosniaandHerzegovina
Bangladesh
Belarus
Belgium
Bulgaria
Bolivia
Botswana
Brazil
Bulgaria
Canada
Chile
China
Colombia
CostaRica
Croatia
Cuba
CzechRepublic
Denmark
Ecuador
Egypt
Estonia
Finland
France
Germany
GreatBritain
UnitedKingdom
Georgia
Greece
HongKong
Hungary
Iceland
India
Indonesia
Ireland
Israel
Italy
Japan
Jordan
Kazakhstan
Kyrgyzstan
Laos
Latvia
Lithuania
Luxembourg
Morocco
Malaysia
Malta
Mexico
Nigeria
Netherlands
NewZealand
Norway
Oman
Panama
Pakistan
Peru
Philippines
Poland
Portugal
Qatar
Romania
Russia
SaudiArabia
Senegal
Singapore
Slovakia
Slovenia
SouthAfrica
SouthKorea
Spain
SriLanka
Suriname
Sweden
Switzerland
Taiwan
Thailand
Tunisia
Turkey
Ukraine
UnitedKingdom
UnitedStates
Uruguay
Venezuela
Vietnam
Vanuatu
Zambia
2.change_flag函数
在线演示http://img.jb51.net/online/guoqi/Flags.html
打包下载http://img.jb51.net/online/guoqi/guoqi.rar

相关推荐