1. $('node+next') == $('node').next()
2. $('node~siblings') == $('node').nextAll();
3. :gt(index)大于index序号的的元素,从0开始
4. :lt(index)小于index序号的元素,从0开始
4. :header 获取所有h1,h2,h3,h4...的元素...
分类:
Web程序 时间:
2014-04-29 13:45:20
阅读次数:
322
1,设计实体/表
设计实体 --> JavaBean --> hbm.xml -->(在创建sessionFactory时自动建表) 建表
2,分析有几个功能,对应几个请求。
3,实现功能:
1,写Action类,写Action中的方法,确定Service中的方法。
2,写Service方法,确定Dao中的方法。
3,写Dao方法。
4,写JSP
=======...
分类:
其他好文 时间:
2014-04-29 13:35:20
阅读次数:
314
#生成excel
#ljl
use Spreadsheet::WriteExcel;
my %us;
while(($key, $value) = each %us){
print "$key|$value\n";
}
# 创建一个新的EXCEL文件
my $workbook = Spreadsheet::WriteExcel->new('poi_count_top15....
分类:
其他好文 时间:
2014-04-29 13:33:21
阅读次数:
327
参考博客:http://blog.kuoe0.tw/posts/2014/01/31/install-gnu-gcc-on-os-x-and-use-the-header-bits-stdcplusplus-h-and-policy-based-data-structure
做CF看见别人用这个函数,然后就能直接用vector,set,string那些函数了,摸不着头脑,感觉特神奇就百度了一下,...
分类:
编程语言 时间:
2014-04-29 13:32:22
阅读次数:
433
为方便起见将JQuery.fn.init称之为JQuery对象
JQuery原型对象方法:
(1) toArray()
调用[].prototype.slice.call(jquery)将JQuery对象(类对象)转换为真正的数组
测试html
body>
div id= "div1">div1div >div id= "div2">div2...
分类:
Web程序 时间:
2014-04-29 13:32:22
阅读次数:
361
使用函数操作链表
1:计算链表中结点的个数:定义一个Length_list()函数用于计算链表中结点的个数
函数代码:
//计算链表中结点的个数
void Length_list(PNODE pHead)
{
PNODE p = pHead->pNext;
int len = 0;
while(NULL != p)
{
len++;
p = p->pNext;
...
分类:
其他好文 时间:
2014-04-29 13:28:21
阅读次数:
302
jQuery 滑动改变价格演示 XML/HTML Codesection id="content" > div class="cube"> div class="a">div> div class="b">div> div class="c">div> div class="d">div> div id="slider-range-min">div> div> input type...
分类:
Web程序 时间:
2014-04-29 13:27:21
阅读次数:
595
该问题的出现原因是手机中的访问权限被关闭了,打开方法如下:
设置->通用->访问限制->安装应用程序...
分类:
移动开发 时间:
2014-04-29 13:16:21
阅读次数:
759
JS 对某图片的等比缩放
代码
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
最新javascript自动按比例显示图片,按比例压缩图片显示
function AutoResizeImage(maxWidth,max...
分类:
数据库 时间:
2014-04-29 13:14:22
阅读次数:
440
>> I=imread('nickyboom.jpg');
J=double(I);
J=-J+(256-1); %图像反转线性变换
H=uint8(J);
subplot(1,2,1),imshow(I);
subplot(1,2,2),imshow(H);...
分类:
其他好文 时间:
2014-04-29 13:12:21
阅读次数:
306