#include #include using namespace std;typedef struct Node{ Node* lchild; Node* rchild; int data;}BNode,BTree;void visit(Node*);void inorder(B...
分类:
其他好文 时间:
2014-07-19 19:26:40
阅读次数:
226
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/><title>prototype与jQuery冲突解决4<..
分类:
Web程序 时间:
2014-07-18 17:06:14
阅读次数:
224
常用的JQuery插件有如下几种写法:1.对JQuery自身的扩展插件这种插件是对JQuery自身的方法库进行扩展的。在使用的时候通过$.MethodName()的方式直接使用。$.extend({
handleTableUI:function(table){
varthisTable=$("#"+table);
$(thisTable).find("tr").bind("mouseover",fu..
分类:
Web程序 时间:
2014-07-17 16:30:39
阅读次数:
218
希望的效果如图:网上找了各纯css的做了下修改:代码如下:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<style>
.logo1{
width:150px;
height:60px;
float:left
}
a.alt{
position:relative;
backgr..
分类:
其他好文 时间:
2014-07-17 10:55:57
阅读次数:
231
class Solution {public: TreeNode *buildTree(vector &preorder, vector &inorder) { int plen = preorder.size(); int ilen = inorder.size(...
分类:
其他好文 时间:
2014-07-16 18:41:43
阅读次数:
182
class Solution {public: TreeNode *buildTree(vector &inorder, vector &postorder) { int ilen = inorder.size(); int plen = postorder.siz...
分类:
其他好文 时间:
2014-07-16 18:23:21
阅读次数:
155
tr命令不接受指定的文件参数,而只是对标准输入进行翻译,tr是translate的简写,亦即翻译,需要注意的是,它不能翻译句子,只能翻译单个字符。首先,定义变量:[root@tong]#A=1,,2,,,3,,,4,,,5下面以示例对该命令以及其常用选项进行介绍。示例:1.无选项设置情况[root@tong]#ec..
分类:
其他好文 时间:
2014-07-15 11:20:57
阅读次数:
232
$("#result").find("tr").each(function () { $(this).find("td").each(function () { if ($(this).text().indexOf("惠") > ...
分类:
Web程序 时间:
2014-07-14 19:04:17
阅读次数:
276
一、表格的常用属性基本属性有:width(宽度)、height(高度)、border(边框值)、cellspacing(表格的内宽,即表格与tr之间的间隔)、 cellpadding(表格内元素的间隔,即tr与tr之间的间隔)、bordercolorlight(表格的亮边框颜色)、 borderco...
分类:
其他好文 时间:
2014-07-14 17:51:22
阅读次数:
223
[LeetCode]Binary Tree Inorder Traversal...
分类:
其他好文 时间:
2014-07-14 16:10:00
阅读次数:
193