---
title: "定制 jquery 插件"
author: "pqcc"
date: "2010-08-18T17:39:23Z"
tags: []
categories: ["Web前端"]
slug: "jquery"
draft: false
lastmod: "2010-08-18T17:39:23Z"
id: 740378
url: "https://pqcc.iteye.com/blog/740378"
---

1\. Accordion 插件:

    &gt;accordion 根据内容自适应高度.  $( '#accordion' ).accordion( { autoHeight:false});  
2\. Treeview 插件

   &gt;jquery treeview 保留上一次展开的内容: (使用 jquery.cookie.js)  
    $("#treeview").treeview({  
        animated:"normal",  
        persist: "cookie"  
    });