颜色选择器 Color Picker,IE,Firefox,Opera,Safar(2)


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>颜色选择器 Color Picker,Internet Explorer,Firefox,Opera,Safar,Ace Explorer,Avant Browser,Flock,Google Chrome,Konqueror,Netscape,SeaMonkey </title>
<meta content="Geovin Du 塗聚文"/>
<meta content="Geovin Du 塗聚文"/>
<meta content="Geovin Du 塗聚文"/>
<script type="text/javascript" language="javascript" src="https://www.jb51.net/ColorPicker2.js"></script>
<script type="text/javascript" language="javascript">
var cp = new ColorPicker('window'); // Popup window
var cp2 = new ColorPicker(); // DIV style
</script>
</head>
<body>
<form>
<table>
<tr>
<td>
This popup uses a "window" popup. Use this<br/>
For browsers that don't support DHTML.<br/>
Color: <input type="text" size="20" value=""/> <a href="#">Pick</a>
</td>
</tr>
</table>
<br/>
<table>
<tr>
<td>
This popup uses a DHTML "layer". It looks<br/>
nicer, but won't work in older browsers and<br/>
The color popup won't display over some form<br/>
elements in some browsers!<br/>
Color: <input type="text" size="20" value=""/> <a href="#">Pick</a>
</td>
</tr>
</table>
</form>
<script type="text/javascript" language="javascript">cp.writeDiv()</script>
</body>
</html>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wdfpgs.html