BBB

自動建立目錄 ~ Test

ddasd
xxx
xx
xxxx

xx



標題 1x






複製下面的 XML碼 ,貼在 隨便一個小工具的欄位上。

複製 XML碼:

<b:widget cond='data:view.isSingleItem' id='Label72' locked='false' title='摘要索引' type='Label' version='2' visible='true'>
<b:includable id='main' var='this'>
<details class='collapsible extendable'>
<b:attr name='open' value='open'/> 
<b:with value='true' var='renderAsDetails'>
<b:with value='data:messages.labels' var='defaultTitle'>
<b:include name='super.main'/>
</b:with>
</b:with>
</details>
</b:includable>
<b:includable id='cloud'/>
<b:includable id='content'>
<div class='widget-content'>
<b:class expr:name='data:this.display + &quot;-label-widget-content&quot;'/>
<ol id='chapter'/>
<script>
let postBody = document.getElementById(&quot;post-body-<b:eval expr='data:widgets.Blog.first.posts[0].id'/>&quot;);
let x =&#39;<data:widget.instanceId/>&#39;;
// <![CDATA[
var titleChapter = postBody.querySelectorAll("h2,h2");
if (titleChapter.length >0) {
 var leChapteraptor=[];
for (let i = 0; i < titleChapter.length; i++) {
var z = i<9 ? "0" : '';
anchorChapter = "chapitre-"+z+(i+1);
titleChapter[i].setAttribute("id", anchorChapter); titleChapter[i].style.padding='1.2em 0 0';
leChapteraptor[i]="<li><a href='#"+anchorChapter + "'>" + titleChapter[i].innerHTML+"</a></li>"; }
document.getElementById("chapter").innerHTML=leChapteraptor.join('');
document.onscroll = function() {Fix()};}
else { document.getElementById(x).style.display="none"; }
var dir = document.getElementById(x);
function Fix() {
if (window.pageYOffset >= 80) {
dir.classList.add("Sticky")
} else {
dir.classList.remove("Sticky");
}}
// ]]></script>
<style type='text/css'>
#<data:widget.instanceId/>{top:0; z-index:200;}
#<data:widget.instanceId/> ol {padding-inline-start: 25px;}
#<data:widget.instanceId/> li a{font-size:18px}
#<data:widget.instanceId/> li{ display: list-item; border:0; }
.Sticky {
position: fixed;
min-width:250px;
margin:0 6px !important;
}
</style>
</div>
</b:includable>
<b:includable id='list'/>
</b:widget>



如何安裝? 

打開樣板範本,按編輯HTML



在右上角,隨便找個小工具,貼在上面一行






不要試圖鶴立雞群


假如你是一隻鶴,不幸誤入雞群,就不要試圖鶴立雞群,而是要離開那群雞。
遠離群雞不單是為了遠離紛爭,更重要的是避免被傳染然後變得同樣愚蠢。
當然,在你實力還不足以能夠逃離這群雞時,就要學會做一隻孤獨而沉默的鶴,而不要試圖批評、教育其中的某一隻雞。
因為它聽不懂你的話,除非他也是誤入雞群的另一隻鶴。
心理學者說,當你非常討厭某個人的時候,不要把注意力過多地放在他身上。
你改變不了別人,只有通過提升自己的能力,跳出這個圈子。
專注於自己每天進步一點點,討厭的人就會離你越來越遠。




ddasd
xxx
xx
xxxx

xx




標題 2x









ddasd
xxx
xx
xxxx

xx




標題 3x









留言