jQuery select下拉框美化插件點擊滑動下拉框代碼



140 556 186



特效描述:下拉框美化插件 點擊滑動 滑動下拉框,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

加群請備注:從官網了解到

老夫子电子