码迷,mamicode.com
首页 >  
搜索关键字:xpages repeat    ( 2431个结果
第五课:字符串的扩展和修复
1.repeat方法:将一个字符串重复自身n次。比如:repeat("chaojidan",2) -> chaojidanchaojidan方法1:function repeat(str,n){ return Array.prototype.join.call({length:n+1},str).....
分类:其他好文   时间:2014-11-28 11:47:14    阅读次数:158
实现文字背景不透明
不透明 div{background:rgba(0,0,0,0.2) none repeat scroll !important; /*实现FF背景透明,文字不透明*/background:#000; filter:Alpha(opacity=20);/*实现IE背景透明*/width:500...
分类:其他好文   时间:2014-11-26 20:38:41    阅读次数:187
css实现背景透明文字不透明
不透明 div{background:rgba(0,0,0,0.2) none repeat scroll !important; /*实现FF背景透明,文字不透明*/background:#000; filter:Alpha(opacity=20);/*实现IE背景透明*/width:500...
分类:Web程序   时间:2014-11-25 23:04:24    阅读次数:150
小米Web前端JavaScript面试题
面试题目一、请定义这样一个函数function repeat (func, times, wait) {}这个函数能返回一个新函数,比如这样用var repeatedFun = repeat(alert, 10, 5000)调用这个 repeatedFun ("hellworld")会alert十次...
分类:移动开发   时间:2014-11-24 19:00:30    阅读次数:177
Oracle 11g系统自动收集统计信息的一些知识
---11g的是 周一到周五 22:00-2:00 周六周日 6:00-4:00 SELECT w.window_name, w.repeat_interval, w.duration, w.enabled FROM dba_autotask_window_clients c, dba_scheduler_windows w WHERE c.window_name = w.window_na...
分类:数据库   时间:2014-11-20 20:29:04    阅读次数:284
angular学习(一):动态模板总结
最近在项目中用到了angular,之前从未用到过此js lib库,由于项目也比较着急,学习的寥寥草草。到目前为止也只是学会皮毛而已,现将自己学习的知识总结如下: 备注1:               版本号:1.2.2 备注2:               本文将angular结合bootstrap做前端页面,逻辑处理。其中用到了ng的route,repeat,ng-option做下拉框等...
分类:其他好文   时间:2014-11-19 16:06:59    阅读次数:186
leetcode[80] Remove Duplicates from Sorted Array II
给定一个排好序的数组,要求里面数字重复的次数不超过2,并且记录在原数组的前头,返回剩余长度。例如给定:A = [1,1,1,2,2,3] 返回 5,并且A = [1,1,2,2,3]思路:用till记录满足条件的下一个位置,以便下一次填入用repeat记录重复的次数,超过2则不理,否则往till里....
分类:其他好文   时间:2014-11-18 00:05:44    阅读次数:228
输入框 最简单的样式
首先是代码.m{ height:30px; border:0; color:#666; width:140px; margin:4px 43px; background:url(images/m.png) no-repeat; padding-left:10...
分类:其他好文   时间:2014-11-17 13:59:37    阅读次数:126
AngularJS常用功能
AngularJS 常用功能迭代输出之ng-repeat标签ng-repeat让table ul ol等标签和js里的数组完美结合12345{{person.name}} is {{person.age}} years old.你甚至可以指定输出的顺序:1动态绑定之ng-model标签任何有用户输入...
分类:Web程序   时间:2014-11-16 21:22:58    阅读次数:301
CSS实现背景透明,文字不透明(各浏览器兼容)
/*CSS*/.waps{ background:url(07158.bmp) no-repeat top center fixed; width:1004px; text-align:center; line-height:28px; font-size:12px; font-family:Ari...
分类:Web程序   时间:2014-11-15 20:00:51    阅读次数:212
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!