- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 js input搜索框自动补全及模糊搜索
一.搜索的html注意:自动补全和模糊搜索用的是jquery-ui组件,使用时需引入jquery-ui的js和css<div class="top_search" data-open="no"> <input type="text" id="search_con"> </div>二、搜索值和
2018-03-30 15:48:29 9997
原创 js 点击和悬浮事件的坑
一、点击事件不生效1.可能dom元素还没有加载然后就调用了click事件,一般出现在动态加载表格的情况,解决方法有两种,一个是在加载完表格之后再去加载click事件,一个在表格的元素里增加click事件$('#webradio').on('click',function(){ })二、点击事件点击一次执行多次事件先解绑这个事件在添加 off.on 或者unbind....
2018-03-30 10:27:14 3720
原创 css 画三角形
利用边框border 属性 ,设置宽和高为0 一下是实现倒三角形position: relative; top: 3px; left: 88.5px; width: 0px; height: 0px; border: 4px solid transparent; border-top: 4px solid #41addc...
2018-03-26 17:33:25 160
原创 图片静态的左右滑动
1. html结构要求 <div id="preclick"><span class="leftarrow"></span></div> <div class="contantime"> <div id="ordercontent"&
2018-03-26 17:29:07 1289
原创 跨不同浏览器读取xml文件的节点
1.conf.xml配置<?xml version="1.0" encoding="utf-8" ?><GISConfig> <geoserverUrls> <nodes>配置项</nodes> </geoserverUrls> <geoser
2018-03-22 15:29:35 273
原创 js 插件 drag.js拖动
1. html 引入drag2.使用插件 $("#hoverMap").dragging({ move : 'both', scope:".ondetails_div", randomPosition : false , hander:'#twoGis_header' });3.使用draggable插件,...
2018-03-20 17:09:12 3522
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人