03 2013 档案

摘要:document.execCommand()2D-Position允许通过拖曳移动绝对定位的对象。AbsolutePosition设定元素的position属性为“absolute”(绝对)。BackColor设置或获取当前选中区的背景颜色。BlockDirLTR目前尚未支持。BlockDirRTL目前尚未支持。Bold切换当前选中区的粗体显示与否。BrowseMode目前尚未支持。Copy将当前选中区复制到剪贴板。CreateBookmark创建一个书签锚或获取当前选中区或插入点的书签锚的名称。CreateLink在当前选中区上插入超级链接,或显示一个对话框允许用户指定要为当前选中区插入的超 阅读全文
posted @ 2013-03-26 22:08 break_happy 阅读(1972) 评论(0) 推荐(0)
摘要:.bg_41 { background: rgba(71, 19, 3, 0.7); background: url( image/bg_tr.png)\9; _background:#0C0A09; } 阅读全文
posted @ 2013-03-12 09:50 break_happy 阅读(157) 评论(0) 推荐(0)
摘要:.bg(@bg1:#578BC0; @bg2:#22447B){ border-radius: 8px; text-align: center; background: -webkit-gradient(linear, left top, left bottom, from(@bg1), to... 阅读全文
posted @ 2013-03-12 09:41 break_happy 阅读(482) 评论(0) 推荐(0)
摘要:seajs使用jquery插件。方法一,将js插件cmd模块化(define封装成seajs模块,返回匿名函数,包含插件的源码)。/** * Created with JetBrains PhpStorm. * User: duph * Date: 13-3-11 * Time: 上午9:24 * To change this template use File | Settings | File Templates. */define(function(require,exports,moudles){ return function(jquery){ (functi... 阅读全文
posted @ 2013-03-11 12:08 break_happy 阅读(15425) 评论(0) 推荐(0)
摘要:为了让一组float:left属性的dom对象自动缩放,且同一行的的dom对象高度一致(类似3列结构),以内容最长的一列高度为标准。 var resize_height = { init:function (class_name, callback) { var ary = [] $(class_name).each(function (index, element) { var height = $(this)[0].scrollHeight ary.push(heig... 阅读全文
posted @ 2013-03-06 17:05 break_happy 阅读(469) 评论(0) 推荐(0)