javascript
effiu
目前从事后台开发工作,理想发展方向是后台架构师
展开
-
鼠标拖动div(pc/移动)/touch事件/mouse事件
这周接了一个分享到QQ后者微信的分享页任务,里面有一个拖动div左右滑动的功能,由于第一次做,弄了五六个小时,终于出来了1.csstransition-duration: 0ms; 规定完成过渡效果需要花费的时间transform: translate3d(0px, 0px, 0px); 该(transform)属性允许我们对元素进行旋转,缩放,移动,倾斜transform: trans原创 2016-12-16 23:20:31 · 10923 阅读 · 2 评论 -
Easyui 在dialog中加载datagrid,并实现可拖放行(drag and drop rows)
Easyui 在dialog中加载datagrid,并实现可拖放行的数据表格 1.html部分<div id="dialogProperty"> <table id="datagridProperty"> <thead> <tr> <th data-options="field:'sort',width:94,alig原创 2017-04-19 22:59:05 · 5163 阅读 · 0 评论 -
音视频播放对应文字同步高亮且滚动到指定位置(scrollTop)
需求 播放音频或者视频,对应文字高亮展示以及滚动到该位置,红色方框是一个scroll 数据 代码div class="col-sm-12 float-none new-content" height="652"> //some infos input type="hidden" paraid="1" idindex="2" starttime="33.0" en原创 2017-04-26 09:48:23 · 3146 阅读 · 1 评论