Home > Web Front-end > JS Tutorial > JavaScript flag transformation effect code_image special effects

JavaScript flag transformation effect code_image special effects

WBOY
Release: 2016-05-16 19:01:45
Original
2499 people have browsed it

1.页面的HTML代码如下:

JavaScript flag transformation effect code_image special effects
 2.change_flag函数 
在线演示http://img.jb51.net/online/guoqi/Flags.html
打包下载http://img.jb51.net/online/guoqi/guoqi.rar<script> <BR>function change_flag( object ){ <BR> var img = document.getElementById("flag"); <BR> if( img ){ <BR> img.src = "Flags/" + object.value +"_flag[1].gif"; <BR> } <br><br>} <BR></script>

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template