在MySQL存储过程的语句中有三个标准的循环方式:WHILE循环,LOOP循环以及REPEAT循环。还有一种非标准的循环方式:GOTO,不过这种循环方式最好别用,很容易引起程序的混乱,在这里就不错具体介绍了。这几个循环语句的格式如下:WHILE……DO……END WHILEREPEAT……UNTIL...
分类:
数据库 时间:
2015-11-11 11:30:25
阅读次数:
235
1、网页LOGO背景居中html{ background:#f5f7f9url(img/logo.png) no-repeat center center fixed; background-size:150px;}不要使用body,因为它的高度经常会比浏览器窗口的高度低
分类:
Web程序 时间:
2015-11-09 12:42:47
阅读次数:
225
background-repeat属性的定义和用法:设置或检索对象的背景图像如何铺排填充。必须先指定background-image属性。允许提供2个参数,如果提供全部2个参数,第1个用于横向,第二个用于纵向。如果只提供1个参数,则用于横向和纵向。特殊值repeat-x和repeat-y除外,因为r...
分类:
Web程序 时间:
2015-11-09 07:04:46
阅读次数:
202
border-image:url:(images/WhiteButton.png) 0 12 0 12 stretch stretch;“0 12 0 12”:按顺时针方向分别是上右下左边框的宽度,即上:0;右:12;下:0;左:12。stretch | repeat | round 即为除去边框后...
分类:
其他好文 时间:
2015-11-08 22:30:35
阅读次数:
285
先科普一下背景图片的定位:http://www.php100.com/html/webkaifa/DIV_CSS/2009/0315/2440.html所以background的居中代码就是:background:url(tu.png) no-repeat center center;有的时候会遇到...
分类:
其他好文 时间:
2015-11-06 14:36:20
阅读次数:
206
http://www.angularjs.cn/A09C以下方式会创建新的子作用域,并且进行原型继承:ng-repeat、ng-include、ng-switch、ng-view、ng-controller, 用scope: true和transclude: true创建directive。以下方式...
分类:
Web程序 时间:
2015-11-04 22:45:07
阅读次数:
221
[1 1 1 2 2 2 3 3 3]http://stackoverflow.com/questions/1947889/element-wise-array-replication-in-matlabhttp://stackoverflow.com/questions/4918763/popul...
分类:
其他好文 时间:
2015-11-04 19:15:50
阅读次数:
113
返回顶部 css样式: .goToTop a { color: #666;}.goToTop { background: url(../Scripts/top.png) no-repeat; display: none; position: fixed; top: 50%; ma...
分类:
Web程序 时间:
2015-11-04 12:49:57
阅读次数:
254
Play提供了Form、Field等表单类型,帮助开发者节省了很多表单处理方面的负担,但是有些功能目前不是很灵活,正如本文即将讨论的@helper.repeat函数,该函数目前无法让开发者直接访问元素索引,本文介绍两种...
分类:
其他好文 时间:
2015-10-31 17:16:15
阅读次数:
179
学习要点:1.ion-listion-item2.ion-listion-item成员3.collection-repeat:高性能的ng-repeat4.脚本接口:$ionicListDelegate1.列表:ion-list列表是常用的信息组织方式。在ionic中,使用ion-list指令声明列表元素,使用ion-item指令声明成员元素:<ion-list><ion-item&..
分类:
其他好文 时间:
2015-10-30 19:04:26
阅读次数:
3135