Home > php教程 > PHP开发 > BootStrap tree diagram display function

BootStrap tree diagram display function

高洛峰
Release: 2016-12-05 14:06:44
Original
2228 people have browsed it

This is the tree diagram display I designed based on the folding of bootstrap. It only has a secondary display and can be used in simple directories, etc.

The right end can be modified again and displayed as a sliding block

BootStrap tree diagram display function

-Quote part

<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - 腾实信绩效管理系统</title>
<link rel="stylesheet" type="text/css" href="~/Content/bootstrap.min.css" />
Copy after login

HTML code

<div class=" alert alert-info" style=" width:450px;height:35px;padding-top:0px;padding-left:0;margin-bottom:0;margin-top:10px">
<button type="button" class=" btn btn-link" data-toggle="collapse" data-target="#demo1"><span class=" glyphicon glyphicon-plus"></span></button>
<span>这是一级标题</span>
<input type="checkbox" name=" pageid" value=""style=" float:right; margin-top:10px">
</div>
<div id="demo1" class="collapse in" style=" margin-left:40px;margin-bottom:10px;margin-top:0px">
<div class=" alert alert-info" style=" margin-top:10px; width:410px; height:35px; padding-top:7px; padding-left:15px; margin-bottom:0">
<span>这是二级标题</span>
<input type="checkbox" name=" pageid" value="" style=" float:right;">
</div>
<div class=" alert alert-info" style=" margin-top:10px; width:410px; height:35px; padding-top:7px; padding-left:15px; margin-bottom:0">
<span>这是二级标题</span>
<input type="checkbox" name=" pageid" value="" style=" float:right;">
</div>
<div class=" alert alert-info" style=" margin-top:10px; width:410px; height:35px; padding-top:7px; padding-left:15px; margin-bottom:0">
<span>这是二级标题</span>
<input type="checkbox" name=" pageid" value="" style=" float:right;">
</div>
<div class=" alert alert-info" style=" margin-top:10px; width:410px; height:35px; padding-top:7px; padding-left:15px; margin-bottom:0">
<span>这是二级标题</span>
<input type="checkbox" name=" pageid" value="" style=" float:right;">
</div>
</div>
Copy after login


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template