[參考]Legend 圖例 BBCode

自架論壇的樂趣,在於外掛擴展的多樣性,但要謹記莫被眾多擴展迷花了眼,
我有裝的,別人有裝的,你不一定要跟著裝。選擇適合自己的最重要。
本版多為一些外掛的再利用為想法,謹慎取用。
版面規則
自架論壇的樂趣,在於外掛擴展的多樣性,但要謹記莫被眾多擴展迷花了眼,
我有裝的,別人有裝的,你不一定要跟著裝。選擇適合自己的最重要。
本版多為一些外掛的再利用為想法,謹慎取用。
回覆文章
頭像
櫻井綾乃
.※.稜鏡之森の守護使者.※.
.※.稜鏡之森の守護使者.※.
文章: 1331
註冊時間: 週二 2006-03-07 09:08
個人狀態: 論壇爆走中...
性別: 醜醜的大美女
來自: 雲上天國
表達感謝: 68 次
擁有感謝: 837 次
星座:
聯繫:

[參考]Legend 圖例 BBCode

文章 櫻井綾乃 »

說明:
圖例BBCode允許您使用BBCode顯示圖例

代碼: 選擇全部

[Legend={TEXT1}]{TEXT2}[/Legend]
HTML代碼:

代碼: 選擇全部

<fieldset style="width: auto; border: 2px solid #4682b4; padding: 10px;">
<legend style="border: 3px solid #4682b4; padding: 4px; border-radius: 7px; color: #004000;">
<b>{TEXT1}</b></legend>{TEXT2}</fieldset>
幫助專線:

代碼: 選擇全部

Legend: [legend=Title]Text here[/legend]
例:

代碼: 選擇全部

[legend=Lorem Ipsum]Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.[/legend]
如果.....
也許.....
這些都是事後的想法
如果會想著當初怎麼做也許會有什麼結果
不如在當初就做出正確的決定.....
有些事不去嚐試是不會真的體會他的奧妙的~
ejsoon
.*.森旅中級生.*.
.*.森旅中級生.*.
文章: 213
註冊時間: 週日 2020-09-13 08:55
個人狀態: 思想清淨
性別:
表達感謝: 84 次
擁有感謝: 35 次

Re: [參考]Legend 圖例 BBCode

文章 ejsoon »

我做了一個類似的spoiler功能 spoiler功能就是,如果引文過長,它會摺進去,只顯示開頭。而你點開之後,往下滾時,摺回去的按鈕會一直懸在上方。這下就不用擔心引文太長而佔太多版面了。

摺回去的時候,屏幕會動畫式順滑的滾回原来的位置。

在美觀上不及legend,不過這個是可以改進的。

實驗地址:http://ejsoon.win/ejpoox/viewtopic.php?f=3&t=1870
Screenshot_20201204-085850.png
Screenshot_20201204-085927.png
您沒有權限檢視這篇文章所附加的檔案。
頭像
櫻井綾乃
.※.稜鏡之森の守護使者.※.
.※.稜鏡之森の守護使者.※.
文章: 1331
註冊時間: 週二 2006-03-07 09:08
個人狀態: 論壇爆走中...
性別: 醜醜的大美女
來自: 雲上天國
表達感謝: 68 次
擁有感謝: 837 次
星座:
聯繫:

Re: [參考]Legend 圖例 BBCode

文章 櫻井綾乃 »

ejsoon 寫: 週五 2020-12-04 09:06
我做了一個類似的spoiler功能 spoiler功能就是,如果引文過長,它會摺進去,只顯示開頭。而你點開之後,往下滾時,摺回去的按鈕會一直懸在上方。這下就不用擔心引文太長而佔太多版面了。

摺回去的時候,屏幕會動畫式順滑的滾回原来的位置。
-------------以下引言過多恕刪------------
引言過長部分有一種把引言變成捲軸向的擴展..

突然發現你的引文和我的引言想表達的好像不同東西

我覺得你這個挺不錯的..
類似展開/縮小文章的功能..
使用性的話,
可以是那種論文類.還是什麼大宣傳之類..

一個大標+引文的方式,的確是很方便.
如果.....
也許.....
這些都是事後的想法
如果會想著當初怎麼做也許會有什麼結果
不如在當初就做出正確的決定.....
有些事不去嚐試是不會真的體會他的奧妙的~
回覆文章

回到「惡搞の外掛變身篇」