
bootstrap
失忆意
努力学习前端知识中
展开
-
Bootstrap中的弹出框插件popover.js中的参数title、content不能使用html代码
加入自定义代码 $(".pop").each(function() { var $pElem = $(this); $pElem.popover({ html: true, trigger: "manual", title: getPopoverTitle($pElem.attr("id")), content: getPopo转载 2015-06-18 13:26:36 · 4470 阅读 · 0 评论 -
bootstrap的Carousel配合dropload.js实现移动端滑动切换图片
轮播图可以通过点击按钮来跳到上一张或者下一张,在移动端我们常用的就是通过滑动来实现一些时间,那么如何实现呢。以下是通过bootstrap的Carousel和dropload.js(移动端上下拉动刷新插件)的实现方法。 HTML部分<div id="goods_lunbo" style="width:200%;overflow:hidden;margin-left:-50%;">原创 2015-07-07 17:14:08 · 3529 阅读 · 1 评论