WPS表格里的POS(123.144)代表什么

一、WPS表格里的POS(123.144)代表什么

本地文件的位置。随便打开一个WPS文档文件。可以看到文本内容中没有任何其他的思维导图等。打开菜单中的思维导图按钮下拉框,选择里面的导入本地POS文件,并保存。选择需要导入的先前保存好的本地文件,点击插入文档。可以看到,文档光标位置处插入了一个文件图片。2083官方专业版下载。

WPS表格里的POS(123.144)代表什么

二、zepto中使用swipe.js制作轮播图附swipeUp,swipeDown不起效果问题

在移动web开发中,由于手机更多的图片经常使用轮播图并且还需要考虑到手机流量的问题,通过请教他人以及百度,个人感觉swipe.js比较好用。

它是一个纯javascript工具,不需要jQuery和zepto,压缩版的大小只有6kb很适合移动端的开发,它ps://***.com/thebird/swipe

在git上对关键代码如下

.swipe { overflow: hidden; visibility: hidden; position: relative; } .swipe-wrap dden; position: relative; } .swipeoat:left; width:100%; positive; } window.mySwipe = Swipe(document.getElementById(‘slider’),opt);

其中.rap这个html树模型最好不要改动,至于最里面的div可以更换其他,如li 等

仅仅只需要上诉的几段代码即可完成轮播图的制作,但是在实际的项目中,特别是在首页顶page的索引,还需要对控件的参数进行配置,它的主要参数配置如下:

startSlide Integer (default:0) - 开始滚动的位置

fault:300)

auto Integer - 开始自动幻灯片(以毫秒)

continuouult:true) - 创建一个无限的循环(当滑动到所滑动)

disableScroll Boolean (dese) - 当滚动滚动条时是否停止幻灯片滚动

stopPlean (defau件冒泡

callback Function - 函数

transitionn - 动画运行结束的回调函数

而他的主要api函数如下:

prev():上一页

next():下一页

getPos():获取当前页的索引

getNumSlides():获取所有项的个

slide(index, duration):滑动方法

以下是偶在项目中的实际运用的代码

.banner { width: 100%; position: relative; } .banner .swipe { overflow: hidden; position: relative; } .banner .swipe-wrap { overflow: hidden; position: relative; list-style: none; } .banner .swipe-wrap li { float: left; position: relative; } .banner img { width: 100%; vertical-align: middle; } .banner .slide-trigger { position: absolute; left: 0; bottom: 0; width: 100%; z-index: 10; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -moz-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; list-style: none; } .banner .slide-trigger li { width: 10px; height: 10px; background: #FFF; margin: 5px; -webkit-border-radius: 50%; -moz-border-radius: 50%; -ms-border-radius: 50%; -o-border-radius: 50%; border-radius: 50%; } .banner .slide-trigger .cur { background: #2fc7c9; } var slider = \(('#slider'); slider.find(".slide-trigger").find("li").eq(0).addClass("cur"); window.mySwipe = new Swipe(document.getElementById('slider'), { speed: 400, auto: 3000, callback: function(index, elem) { slider.find(".slide-trigger").find("li").eq(index).addClass("cur").siblings().removeClass("cur"); } }); <p>zepto中的swipeUp,swipeDown不起效果</p> <p>我正在看zepto,然后看到里面一些事件的时候发现一个问题: </p> \)(‘body’).swipeUp(function(e){ alert(‘swipeUp’);//偶尔有效 }) \((‘body').swipeDown(function(e){ alert(‘swipeDown');//偶尔有效 }) \)(‘body’).tap(function(){ alert(‘tap’);//ok }) \((‘body').swipeLeft(function(){ alert(‘swipeLeft');//ok }) \)(‘body’).swipeRight(function(){ alert(‘swipeRight’);//ok })

在移动端swipeUp,swipeDown不起效果,另外几个有效,是怎么回事呢?

解决方案一:

zepto要引入 touch.js模块 官网上是没有的 去github下载 然后引入 touch.js即可

解决方案二:

是因为阻止了浏览器默认的下拉事件,加上下面一段代码。

document.addEventListener(‘touchmove’, function (event) { event.preventDefault(); }, false);

三、怎样把图片加入到PPT文档

1、首先打开需要编辑的ppt。2、点击菜单栏上的“插入” 如图。3、点击“对象” 如图。4、打钩“由文件创建” 如图。5、点击“浏览”找到要插入的word文档 然后点击“确定” 如图。6、选择好文档后,点击“确定” 如图。7、完成以上操作就可以把word文档插入ppt里了。

本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。