码迷,mamicode.com
首页 >  
搜索关键字:function    ( 54714个结果
no matching function transform?
http://stackoverflow.com/questions/19876746/stdtolower-and-visual-studio-2013 http://forums.codeguru.com/showthread.php?489969-no-matching-function-tr ...
分类:其他好文   时间:2016-07-05 11:47:39    阅读次数:89
拦路虎:jQuery
1. color设置无效的问题! $("#subscribe").hover(function(){ var $this = $("#subscribe .subscribe"); if(!$this.is(":animated")){ $("#subscribe .subscribe").stop ...
分类:Web程序   时间:2016-07-05 10:17:19    阅读次数:141
关于photoswipe的展示时图片自适应问题
用过photoswipe做移动端图片预览的小伙伴都知道,这个插件存在一个data-size,必须要填写,但是如果你的图片尺寸比例不是固定的,那这个属性就会带来无尽的烦恼,我个人在使用jQuery时,发现一种解决办法 window.onload=function(){ auto_data_size() ...
分类:其他好文   时间:2016-07-05 10:15:51    阅读次数:234
lua 协程
--coroutineapi:create,resume,yield,wrap.running,status--coroutinestatus:suspend,running,normal,deadlocalstop=function()returncoroutine.yield(7,9)endlocalco=coroutine.create(function(a,b)print("co-body1:",a,b)localm1,m2=coroutine.yield(1,3,5)print("co-body2:..
分类:其他好文   时间:2016-07-05 06:39:12    阅读次数:394
释放$
<scripttype="text/javascript">jQuery(document).ready(function($){/*start*/$("nav.main_menu").append("<divclass=avia-menu2></div>");$("#avia-menuli.menu-item-has-children").hover(function(){varbtmHeight=$(this).children("ul.sub-menu").heigh..
分类:其他好文   时间:2016-07-05 06:36:53    阅读次数:161
thinkphp整合系列之tcpdf类生成pdf文件
php生成pdf文件的需求是不怎么常见的;当然也是有的;既然已经整合使用了;那就写篇博客来讲解下吧;示例项目:http://git.oschina.net/shuaibai123/thinkphp-bjyadmin一:引入tcpdf/ThinkPHP/Library/Vendor/Tcpdf把tcpdf整个目录拷到自己的项目中;二:函数/Application/Comm..
分类:Web程序   时间:2016-07-05 06:34:09    阅读次数:234
Generalized Abbreviation
1. Do not need to check boundary case since the helper function can add "" into result. 2. Do not forget to add that character if not counting into ab ...
分类:其他好文   时间:2016-07-05 06:27:00    阅读次数:133
【leetcode】22. Generate Parentheses
题目描述: Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. 解题分析: 这类题一般都要用递归的方法来解决。需要设两个集合类分别存储待匹配的( ...
分类:其他好文   时间:2016-07-05 01:09:06    阅读次数:180
JS - Functions
Introduction Functions A function takes in inputs, does something with them, and produces an output. Scope(global vs local) Variables defined outside  ...
分类:Web程序   时间:2016-07-04 22:16:49    阅读次数:169
关于js立即执行函数
我们一般要执行一个函数是先声明后调用执行,但是js有一种方式可以在定义的同时进行执行, (function($){})(); 例如上式:将一个匿名函数用括号括起来,后面又跟一个括号,里面是函数的实参,也就是传的参数。 例: (function(param){ alert(param);})("thi ...
分类:Web程序   时间:2016-07-04 22:06:47    阅读次数:162
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!