有时候,即使高度被设置为100%,也只是页面的100%,如果某个表格突然很长,则其他的层的高度跟不上。从body的100%开始,就跟不上最长的那个div。没有想到更好的解决方法。现在的解决方法是:用jquery获取最长的层的高度.height()。再给其他的层设置这个最大高度。注:jquery的wi...
分类:
其他好文 时间:
2014-04-29 23:02:35
阅读次数:
514
1. 打开新的窗口并传送参数:
传送参数:response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>")
接收参数:string a = Reque....
分类:
其他好文 时间:
2014-04-29 22:53:14
阅读次数:
571
主要需要注意的几个问题: 1.导入图片方式最好用文件导入 代码:
在ViewController.m文件中 2.UILable常用属性 @property(nonatomic,copy) NSString *text;
//设置文本内容 @...
分类:
移动开发 时间:
2014-04-29 22:28:37
阅读次数:
616
create function [dbo].[HtoSec](@lvalue as
int)RETURNS intBEGINDECLARE @temp intSet @temp = @lvalue * 60 * 60RETURN
@tempENDcreate function [dbo].[GetT...
分类:
数据库 时间:
2014-04-29 22:04:03
阅读次数:
515
中文字体位置 FontPath
"/usr/local/lib/X11/fonts/misc/:unscaled" FontPath
"/usr/local/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/local/lib/X...
分类:
其他好文 时间:
2014-04-29 21:45:36
阅读次数:
796
MyMap.erase(Itor++);//在windows下也可以Itor =
MyMap.erase(Itor),但是在linux下不行。
分类:
编程语言 时间:
2014-04-29 21:07:33
阅读次数:
507
UIView *parentView = nil; NSArray* windows =
[UIApplication sharedApplication].windows; UIView* window = [windows
objectAtIndex:0]; ...
分类:
其他好文 时间:
2014-04-29 19:09:34
阅读次数:
994
1.下载boost
Windows版,如:boost_1_55_0;2.运行boostrap.bat,会生成bjam.exe;3.运行bjam.exe(时间会比较长),会生成一个stage目录里面包含了所有新生成的lib文件;4.工程属性里面需要包含目录boost_1_55_0,以及库目录boost...
分类:
其他好文 时间:
2014-04-29 17:49:33
阅读次数:
489
cd ~/.ssh/如果目录不存在就新建一个 mkdir ~/.ssh制作公匙
ssh-keygen -t rsa默认会生成id_rsa.pub的公匙将公匙推送到指定的服务器 scp id_rsa.pub
username@server:~/.ssh/id_rsa.pub登录到服务器 ssh use...
分类:
系统相关 时间:
2014-04-29 16:01:32
阅读次数:
625