<title> simulated Oicq down head </title>
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<script language= "JavaScript" >
Provider: Small White
Contact Method:
qq:14681571
Email:xiaobai@17560.net
Description
See an article on the web that simulates OICQ select images
But the program just gave a method, and did not achieve the real effect of the actual application: can not choose.
Small for perfect, the following is the complete source code
Pass test: Win2ks
Prepare 6 Pictures: file name see the following code
Where: Http://edu.cnzz.cn/NewsInfo/http://edu.cnzz.cn/NewsInfo/none.bmp is a picture without a choice
var bv=parseint (navigator.appversion);
var ie4= (document.all) && (bv>=4)? True:false;
var ns4= (document.layers) True:false;
var z=0;
function Layerv (layername,v) {
E=eval (' document. ') +layername);
if (IE4) e=eval (' document.all. ') +layername+ '. Style ');
e.visibility= (V? ') Visible ': ' hidden ');
}
//////////////////////////////////////////////////////////
The following function enables you to select a picture when clicked
function Select (image1) {
var html,url1
Url1=image1.src
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.