<header>
<div>
<b:if cond='data:view.isLayoutMode or not data:view.isSingleItem'>
<nav class='top-nav' role='navigation'>
<b:class cond='data:view.isSingleItem' name='sticky'/>
<b:section id='page_list_top' name='Page List (Top)' showaddelement='false'>
<b:widget id='PageList1' locked='true' title='' type='PageList' visible='true'>
<b:widget-settings>
<b:widget-setting name='pageListJson'></b:widget-setting>
<b:widget-setting name='homeTitle'>首頁</b:widget-setting>
</b:widget-settings>
<b:includable id='main'>
<b:include name='widget-title'/>
<b:include name='content'/>
</b:includable>
<b:includable id='content'>
<div class='widget-content'>
<b:include cond='data:widget.sectionId == "page_list_top"' name='overflowablePageList'/>
<b:include cond='data:widget.sectionId != "page_list_top"' name='pageList'/>
</div>
</b:includable>
<b:includable id='overflowButton'>
<b:include name='verticalMoreIcon'/>
</b:includable>
<b:includable id='overflowablePageList'>
<div class='overflowable-container'>
<div class='overflowable-contents'>
<div class='container'>
<b:with value='true' var='overflow'>
<b:with value='"tabs"' var='pageListClass'>
<b:include name='pageList'/>
</b:with>
</b:with>
</div>
</div>
<div class='overflow-button hidden'>
<b:include name='overflowButton'/>
</div>
</div>
</b:includable>
<b:includable id='pageLink'>
<li>
<b:class cond='data:overflow' name='overflowable-item'/>
<b:class cond='data:link.isCurrentPage' name='selected'/>
<a expr:href='data:link.href'><data:link.title/></a>
</li>
</b:includable>
<b:includable id='pageList'>
<ul>
<b:class cond='data:pageListClass' expr:name='data:pageListClass'/>
<b:loop values='data:links' var='link'>
<b:include name='pageLink'/>
</b:loop>
</ul>
</b:includable>
</b:widget>
</b:section>
</nav>
</b:if>
</div>
</header>
2020年6月10日 星期三
Blogger電腦版和手機版都改成麵包屑
電腦版的側邊欄會佔掉整個版面的一部份,相比之下手機版的側邊欄你比較喜歡的話,可以考慮改成都是手機版的側邊欄隱藏版型。
先找 <b:if cond='data:view.isLayoutMode or not data:view.isSingleItem'>這一行code把裡面的code給覆蓋過去就完成摟。
訂閱:
張貼留言 (Atom)
-
今天要分享一下Line聊天機器人怎麼寫入google雲端試算表 今天要加入的code內容 //寫入試算表 var ss = SpreadsheetApp.openByUrl("整個雲端試算表的連結");//改你自己雲端試算表的連結 var...
-
前端 前端語言是讓瀏覽器讀取的語法(通過瀏覽器來視覺化),主要跟顯示&排版有關。 前端跟後端明顯的差別在於,前端裡運算的東西,不會寫入主機裡儲存,重新整理以後會回到原始狀態。ex:頁籤被按下去以後,樣式有變化,重新整理後會回復成原始樣...
-
Line@聊天機器人串接googlemap 之前有跟大家聊過如何用google script做一個客製化的Line@聊天機器人,今天來延伸一下,把googlemap的功能也導入,讓我們的聊天機器人開始做更多事情吧~ 廢話不多說先上code,下面有影片教學 f...
-
方法一:用map和area做 <img src='' usemap='#aaa'> <map> <area shape="poly" coords="156,218,170...
-
要建立line聊天機器人,步驟不多,但是有點雜,用圖片不好講,所以有拍一個影片。那下面的文章有用的到的工具,請搭配使用~ line聊天機器人詳細建立步驟(影片) line聊天機器人工具列表 Google Script 連結 line官方帳號申請 連結 line...
-
要建立line聊天機器人,步驟不多,但是有點雜,用圖片不好講,所以有拍一個影片。那下面的文章有用的到的工具,請搭配使用~ line聊天機器人詳細建立步驟(影片) line聊天機器人工具列表 Google Script 連結 Line Developers 連結 ...
沒有留言:
張貼留言