jQuery select下拉框美化插件点击滑动下拉框代码



135 538 180



特效描述:下拉框美化插件 点击滑动 滑动下拉框,jQuery滑动下拉框

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/drop-down.css" />

2. 引入JS

<script type="text/javascript" src="js/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="js/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/select-widget-min.js"></script>

3. HTML代码

<h1 style="margin:150px auto 30px auto; text-align:center; color:#fff">jQuery下拉框美化演示DEMO</h1>
<form action="" method="get">
	<table>
		<tr>
			<td>
				<h2>演示1</h2>
				<select name="drop1" class="ui-select">
					<option value="">structure empty</option>
					<option value="1">structure 1</option>
					<option value="2">structure 2</option>
					<option value="3">structure 3</option>
					<option selected value="4">structure 4</option>
					<option value="5">structure 5</option>
					<option value="6">structure 6</option>
					<option value="7">structure 7</option>
					<option value="8">structure 8</option>
					<option value="9">structure 9</option>
					<option value="10">structure 10</option>
					<option value="11">structure 11</option>
				</select>
			</td>
			<td>
				<h2>演示2</h2>
				<select name="drop2" class="ui-select">
					<option value="">structure empty</option>
					<option value="1">structure 1</option>
					<option value="2">structure 2</option>
					<option value="3">structure 3</option>
				</select>
			</td>	
			<td>
				<h2>演示3</h2>
				<select name="drop3" class="ui-select" disabled="disabled">
					<option value="0">structure empty</option>
					<option value="1">structure 1</option>
					<option value="2">structure 2</option>
					<option value="3">structure 3</option>
				</select>
			</td>
			<td>
				<input type="reset" value="Reset" />
				<input type="submit" value="Send" />
			</td>
		</tr>
	</table>
</form>
<form action="" method="get">
	<table>
		<tr>
			<td>
				<h2>Select 演示</h2>
				<select name="drop1" class="ui-select">
					<option value="">structure empty</option>
					<option value="1">structure 1</option>
					<option value="2">structure 2</option>
					<option value="3">structure 3</option>
					<option selected value="4">structure 4</option>
					<option value="5">structure 5</option>
					<option value="6">structure 6</option>
					<option value="7">structure 7</option>
					<option value="8">structure 8</option>
					<option value="9">structure 9</option>
					<option value="10">structure 10</option>
					<option value="11">structure 11</option>
				</select>
			</td>
			<td>
				<h2>Select 演示</h2>
				<select name="drop2" class="ui-select">
					<option value="">structure empty</option>
					<option value="1">structure 1</option>
					<option value="2">structure 2</option>
					<option value="3">structure 3</option>
				</select>
			</td>	
			<td>
				<h2>Select 关闭演示</h2>
				<select name="drop3" class="ui-select" disabled="disabled">
					<option value="0">structure empty</option>
					<option value="1">structure 1</option>
					<option value="2">structure 2</option>
					<option value="3">structure 3</option>
				</select>
			</td>
			<td>
				<input type="reset" value="Reset" />
				<input type="submit" value="Send" />
			</td>
		</tr>
	</table>
</form>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 滑动 滑块 滑动门 触屏滑动 滑动插件 滑块插件 切换按钮 表单 表单美化 表单插件 表单美化插件 滑动选项卡 滑动切换 按钮控制

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到