Lofty can enter the decryption simplified version of the dropdown box.
Source: Internet
Author: User
I just saw Lofty's permission today.
"Do not make commercial".
Description
1. Lofty's optional Drop-down box is an encrypted version. (variable names, function names are replaced with numbers)
2. Many functions, such as adding delete option, etc. are simplified. You can refer to lofty's post.
Anyway, it's a little bit smaller. It might seem clearer.
Test.html
<HTML>
<HEAD>
<TITLE>compobox</TITLE>
<meta http-equiv=content-type content= "text/html; Charset=shift_jis ">
<!----> by external reference mode
<script type= "Text/javascript" src= "Combobox.js" ></SCRIPT>
</HEAD>
<body onload= "Init ();" ><!--onresize= "resetallsize ();" This sentence doesn't add up to .-->.
<form name= "Form1" >
<!--If the width is indefinite, there will be a very strange effect ^^-->
<table border= "1" width= "395" >
<tr>
<TD width= "140" >input Web address:</td>
<TD width= "216" >
<select id= "ComboBox1" style= "Position:absolute;
Onresize= "if (combox1!=null) {combox1.doresize ();}"
Onchange= "if (combox1!=null) {Combox1.dochange ();}" Name= "Select2" >
<!--the selected doesn't seem to work, maybe I don't see it-->
<option value= selected></option>
<option value=www.ccbfu.com>www.ccbfu.com</option>
<option value=www.sina.com.cn>www.sina.com.cn</option>
</select>
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.