原因 object c++ ios7.0/7.1不支持c++ 11,解决办法:C++ Standard Libraryis set tolibstdc++ (GNU c++ standard library)另一个问题:c++库怎样加入ios工程中,不用.mm文件?1.提供一个接口头文件只有不要有c...
分类:
移动开发 时间:
2014-06-18 20:18:50
阅读次数:
254
需求:使用ant脚本在控制台输出一句话 运行效果:元素介绍:1.project元素 project元素是Ant构件文件的根元素,Ant构件文件至少包含一个project元素,否则会发生错误,在project元素下,可以包含多个target元素 name属性 用于指定project元素的...
分类:
其他好文 时间:
2014-06-18 17:51:08
阅读次数:
239
1.标签的 奇偶数行使用不同样式 /template/shop/images/dw/x.png" /> " width="169px" height="168px"/> " target="_blank"> 万能险 ¥1000起 " target="_blank">/template/sho...
分类:
其他好文 时间:
2014-06-18 17:40:25
阅读次数:
187
impress.js是作者受prezi.com的启发,基于css3中的动画transforms,做成的一个表现层工具。效果非常炫,用起来也比较简洁。类库:http://bartaz.github.com/impress.js/js/impress.js样式文件:http://bartaz.githu...
分类:
Web程序 时间:
2014-06-18 16:48:13
阅读次数:
230
题目
Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d =
target? Find all unique quadruplets in the array which gives the sum of target.
Note:
...
分类:
其他好文 时间:
2014-06-18 12:17:57
阅读次数:
179
上传基本是项目中经常出现的,一般采用:
1、form提交
2、flash
3、html5
form提交会刷新页面,很难做到异步上传;flash可能是用得比较多了,因为可以兼顾到几乎所有的浏览器,我之前一直会用jquery的uploadify作为项目中的上传工具,uploadify也有基于html5好像是收费的,大家可以去官网看看;当然了,现在html5提供了API以及File,FileR...
分类:
Web程序 时间:
2014-06-18 11:28:55
阅读次数:
317
上一篇已经实现了这个项目的整体的HTML和CSS:
HTML5 CSS3 经典案例:无插件拖拽上传图片 (支持预览与批量) (一)
这篇博客直接在上篇的基础上完成,最终效果:
效果图1:
效果图2:
好了,请允许我把图片贴了两遍,方便大家看效果了~
可以看出我们的图片的li的html其实还是挺复杂的,于是我把html文档做了一些修改:...
分类:
Web程序 时间:
2014-06-17 23:02:00
阅读次数:
248
题目
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would ...
分类:
其他好文 时间:
2014-06-17 22:39:41
阅读次数:
274
Bounce.js 是一个用于制作漂亮的 CSS3 关键帧动画的 JavaScript 库,使用其特有的方式生成的动画效果。只需添加一个组件,选择预设,然后你就可以得到一个短网址或者导出为 CSS 代码。
分类:
Web程序 时间:
2014-06-17 15:58:34
阅读次数:
256
最近公司的项目将好多分页改成了ajax的前台分页以前写的分页插件就不好用了,遂重写一个支持IE6+,但没有动画效果如果没有硬需求,个人认为没必要多写js让动画在这些浏览器中实现css3的动画本来就是帮我们取代js中这部分动画代码的使js更纯粹地去实现逻辑效果图如下:调用代码如下:包括常用的加载失败重...
分类:
Web程序 时间:
2014-06-17 14:48:42
阅读次数:
394