JavaScript flag transform effect code_image Effects

Source: Internet
Author: User
According to the country term selected by the user, the HTML code for the country flag 1. Page is displayed as follows:


Argentina Armenia Australia Austria Bosnia and Herzegovina Bangladesh Belarus Belgium Bulgaria Bolivia Botswana Brazil Bulgaria Canada Chile China Colombia Costa Rica Croatia Cuba Czech Republic Denmark Ecuador Egypt Estonia Finland France Germany Great Britain United Kingdom Georgia Greece Hong Kong Hungary Iceland India Indonesia Ireland Israel Italy Japan Jordan Kazakhstan Kyrgyzstan Laos Latvia Lithuania Luxembourg Morocco Malaysia Malta Mexico Nigeria Netherlands New Zealand Norway Oman Panama Pakistan Peru Philippines Poland Portugal Qatar Romania Russia Saudi Arabia Senegal Singapore Slovakia Slovenia South Africa South Korea Spain Sri Lanka Suriname Sweden Switzerland Taiwan Thailand Tunisia Turkey Ukraine United Kingdom United States Uruguay Venezuela Vietnam Vanuatu Zambia 2. change_flag function script
Function change_flag (object ){
Var img = document. getElementById ("flag ");
If (img ){
Img. src = "Flags/" + object. value + "_flag1_12.16.gif ";
}

}
Script
Online Demo http://img.jb51.net/online/guoqi/Flags.html
Package download http://img.jb51.net/online/guoqi/guoqi.rar
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.