BN089-BS开发框架MVC4版/source20131023/Zephyr.Web/Content/js/jquery-easyui-1.3.1/demo/accordion.html
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Accordion - jQuery EasyUI Demo</title>
<link rel="stylesheet" type="text/css" href="../themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../themes/icon.css">
<link rel="stylesheet" type="text/css" href="demo.css">
<script type="text/javascript" src="../jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="../jquery.easyui.min.js"></script>
<script type="text/javascript">
function select(){
$('#aa').accordion('select','Title1');
}
var idx = 1;
function add(){
$('#aa').accordion('add',{
title:'New Title'+idx,
content:'New Content'+idx
});
idx++;
}
function remove(){
var pp = $('#aa').accordion('getSelected');
if (pp){
var index = $('#aa').accordion('getPanelIndex',pp);
$('#aa').accordion('remove',index);
}
}
</script>
</head>
<body>
<h2>Accordion</h2>
<div class="demo-info">
<div class="demo-tip icon-tip"></div>
<div>Click on panel header to show its content.</div>
</div>
<div style="margin: 10px 0;">
<a href="#" class="easyui-linkbutton" onclick="select()">Select</a>
<a href="#" class="easyui-linkbutton" onclick="add()">Add</a>
<a href="#" class="easyui-linkbutton" onclick="remove()">Remove</a>
</div>
<div id="aa" class="easyui-accordion" style="width:700px;height:300px;">
<div title="Title1" data-options="iconCls:'icon-ok'" style="overflow:auto;padding:10px;">
<h3 style="color:#0099FF;">Accordion for jQuery</h3>
<p>Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.</p>
</div>
<div title="Title2" data-options="iconCls:'icon-search',selected:true,
tools:[{
iconCls:'icon-reload',
handler:function(){
$('#tt').datagrid('reload');
}
}]">
<table id="tt" class="easyui-datagrid"
data-options="url:'datagrid_data2.json',border:false,fit:true,fitColumns:true,singleSelect:true">
<thead>
<tr>
后面还有 16 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
