欢迎来到DIVCSS5查找CSS资料与学习DIV CSS布局技术!

收货所在填写决意殊效,采取div css jq所在所在位子下拉特效,省、市、区县三级联动抉择所在区域区域网页特效,选择省踊跃跳转抉择对应市,选中市主动跳转决意区县的所在区域殊效。

一个输出框下便可决议弹出联动所在地区决定的特效,相似京东、淘宝收货所在填写殊效。

所在地区地址选择特效
所在区域地址决定 jq特效

修改都会称说地点:只需求批改js/cityJson.js

input表单输出框,颠末ID(id="city")挪用地域决议弹窗。

css和特效JS离散,或者修改css到达周边决意排版功效。

首要html代码:

<input type="text" id="city" />

颠末input设置id=city调用闪现地区决意

首要CSS代码:

._citys { width: 450px; display: inline-block; border: 2px solid #eee;
padding: 5px; position: relative; }
._citys span { color: #56b4f8; height: 15px; width: 15px; line-height: 15px; text-align: center; 
border-radius: 3px; position: absolute; right: 10px; top: 10px;
border: 1px solid #56b4f8; cursor: pointer; }
._citys0 { width: 100%; height: 34px; display: inline-block; 
border-bottom: 2px solid #56b4f8; padding: 0; margin: 0; }
._citys0 li { display: inline-block; line-height: 34px; font-size: 15px; color: #888; 
width: 80px; text-align: center; cursor: pointer; }
.citySel { background-color: #56b4f8; color: #fff !important; }
._citys1 { width: 100%; display: inline-block; padding: 10px 0; }
._citys1 a { width: 83px; height: 35px; display: inline-block; background-color: #f5f5f5; color: #666;
margin-left: 6px; margin-top: 3px; line-height: 35px; text-align: center; cursor:
pointer; font-size: 13px; overflow: hidden; }
._citys1 a:hover { color: #fff; background-color: #56b4f8; }
.AreaS { background-color: #56b4f8 !important; color: #fff !important; }

下拉地区决意DIV CSS排版对应CSS,可轻松自主修改布景、宽度、色调等花式

如需转载,请注明文章出处和来源网址:http://www.divcss5.com/css-texiao/texiao52370.shtml