第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

利用JOrgChart只需2分鐘即可配置簡單組織機(jī)構(gòu)圖

標(biāo)簽:
JavaScript

笔者,自认为只是学习了一点皮毛,或者说JOrgChart就是这么简单。需要修改方法、样式直接修改jquery.jOrgChart.js与jquery.jOrgChart.css即可。配置也是那么的简单。
那么这里我们,实现一个简单的横向分布的组织结构吧,原理就是<ul>与<li>的嵌套关系实现组织机构的分布图示。配置的简单代码如下:

<!DOCTYPE html><html>    <head>        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />        <title>jOrgChart配置简单的组织结构</title>        <script type="text/javascript" class="lazyload" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC" data-original="./jquery.min.js"></script>        <script class="lazyload" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC" data-original="./jquery.jOrgChart.js"></script>        <link rel="stylesheet" href="./jquery.jOrgChart.css"><!--样式-->    </head>    <body >        <ul id="org" style="display:none">            <li>                20180812主一级位置                <ul>                    <li>下属二级菜单位置</li>                    <li>下属二级                        <ul>                            <li>三级  </li>                            <li>三级                                <ul>                                    <li>四级</li>                                    <li>四级</li>                                </ul>                            </li>                        </ul>                    </li>                    <li>下属二级</li>                    <li>下属二级</li>                    <li>下属二级</li>                    <li>下属二级                        <ul>                            <li>三级                                <ul>                                    <li>四级</li>                                </ul>                            </li>                            <li>三级                                <ul>                                    <li>四级                                        <ul>                                            <li>五级</li>                                            <li>五级</li>                                            <li>五级</li>                                            <li>五级</li>                                        </ul>                                    </li>                                    <li>四级</li>                                    <li>四级</li>                                    <li>四级</li>                                </ul>                            </li>                        </ul>                    </li>                    <li>下属二级    </li>                </ul>            </li>        </ul>        <div id="chart" class="orgChart">            <div class="jOrgChart">            </div>        </div>    </body>    <script>        $(document).ready(function() {            $("#org").jOrgChart({                chartElement: '#chart',                dragAndDrop: true            });        });    </script></html>


點(diǎn)擊查看更多內(nèi)容
TA 點(diǎn)贊

若覺得本文不錯(cuò),就分享一下吧!

評(píng)論

作者其他優(yōu)質(zhì)文章

正在加載中
  • 推薦
  • 評(píng)論
  • 收藏
  • 共同學(xué)習(xí),寫下你的評(píng)論
感謝您的支持,我會(huì)繼續(xù)努力的~
掃碼打賞,你說多少就多少
贊賞金額會(huì)直接到老師賬戶
支付方式
打開微信掃一掃,即可進(jìn)行掃碼打賞哦
今天注冊有機(jī)會(huì)得

100積分直接送

付費(fèi)專欄免費(fèi)學(xué)

大額優(yōu)惠券免費(fèi)領(lǐng)

立即參與 放棄機(jī)會(huì)
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)

舉報(bào)

0/150
提交
取消