以前写的分页用了好久了,但是分页时除了传页面外有时还要传一些其它参数,以前操作时要把传的参数放到隐藏hidden中,分页时在取出来,这样比较麻烦,今天无事,重新包装了一下直接上代码吧css用了bootstrap中分页的样式.pagination-lg > li:first-child > a,.pa...
分类:
Web程序 时间:
2014-06-20 21:03:09
阅读次数:
163
为了便于理解,我们会使用情感化思维,类比现实,在内心形成只属于自己的具象化的想法。这是很OK的,但是,要知道,事物是具有两面的,具象的东西容易让我们陷入固定思维模式,尤其在现实世界中非特殊情境的验证下,从而让我们不经意间产生一些错误的认识。 display:none和visibility:hi...
分类:
其他好文 时间:
2014-06-20 18:35:34
阅读次数:
139
vim route.rb resources :fetched_apps do member do patch :import end end spring rake routes recommend_apps GET /recommend_apps(.:fo...
分类:
其他好文 时间:
2014-06-20 14:57:22
阅读次数:
213
table中td会随着里面的内容伸缩,设置其width样式并没有效果。这个时候需要下面的CSS可以实现。首先是设置table.table {table-layout:fixed;}其次是td.table td { overflow: hidden; white-space: nowra...
分类:
其他好文 时间:
2014-06-18 18:06:34
阅读次数:
221
select * from table1 a where b=(select max(b) from table1 where a=a.a)select jy_version, member_id from mid owhere o.jy_version =(select max(p.jy_vers...
分类:
其他好文 时间:
2014-06-15 22:15:29
阅读次数:
151
printf("member:%d\n",member);//find current signoffsSAFECALL(AOM_ask_value_tags(msg.task,"signoff_attachments", &num, &signoffs));//remove exists revi...
分类:
其他好文 时间:
2014-06-15 07:21:08
阅读次数:
270
var ivar = [:]
ivar.className // __NSDictionaryI
var i = 1
i.className // error: 'Int' does not have a member named 'className'
If you want to get the type of a primitive, you have to use bridgeToOb...
分类:
其他好文 时间:
2014-06-14 14:28:55
阅读次数:
234
1 var t; 2 function showportal() { 3 if
($("#图片ID").is(":hidden")) 4 $("#图片ID").show(); 5 else 6 ...
分类:
Web程序 时间:
2014-06-12 18:59:32
阅读次数:
264
作为前端开发人员,在日常的页面制作时,不可避免的会碰上这样那样的问题,我挑选了其中的一些进行总结归档,希望对大家会有所帮助:1、如何定义高度很小的容器?
在IE6下无法定义小高度的容器,是因为有一个默认的行高。列举2种解决方案:overflow:hidden | line-height:02、图片下...
分类:
Web程序 时间:
2014-06-10 08:39:03
阅读次数:
314