最近自己在写javascript/html/css的树控件
完成以下部分:
1. 树可以接受singleXml格式和json以及jsonarray格式的数据;
2. 复选框勾选和折叠子节点的逻辑用div嵌套来实现,效率更高;并提供了快速画树的方法;(存在bug:快速画树效率并不高,div嵌套有问题);
3.增加树的深度 this.depth;
4.增加当前节点的层次 this.level;
//学习要点:
1. 嵌套div如果内层div没有指定宽度,则文字以外的部分点击没有效果;(仅限ie,firefox没有问题)
相关文档:
I always consider the coolitm control only can use its control tag in its body.
But I found that it can use html tag ,this very good.
so I show the sample to other:
<ext:Window
ID="Window1"
runat="server"
Width="500"
Height="485"
......
1.wkhtmltopdf http://code.google.com/p/wkhtmltopdf/downloads/list
如linu下载wkhtmltopdf-0.9.6-static-i386.tar.bz2
2. tar -jxvf wkhtmltopdf-0.9.6-static-i386.tar.bz2
3。重命名 mv wkhtmltopdf-i386 wkhtmltopdf
4.测试生成pdf ./wkhtm ......
使用asp.net 开发wap 网站,在ishtml32下,如果手机浏览器支持ishtml32,但是 SupportsCss=False 时,想加载css文件时,采用重写mobile:form的方法来实现
using System;
using System.Configuration;
using System.Web.UI.MobileControls;
using System.Web.UI.MobileControls.Adapters;
public class MyForm : Form
{ ......
// 保存Cookie
function saveCookie(name, value, expires, path, domain, secure){
var strCookie = name +& ......