Blog Plugins
※ 2019/06/14更新 ※
本站使用的Blogger hack:
(連結前面打叉者為更改版面後沒有使用的)
╳ 移除連結的虛線外框(Abin’s Tech Note)
╳ 增強標籤分類功能:標籤雲(Abin’s Tech Note)
更改顏色、字型大小
var maxFontSize = 20;
var minFontSize = 11;
var maxColor = [80,167,37];
var minColor = [73,7,97];
var minFontSize = 11;
var maxColor = [80,167,37];
var minColor = [73,7,97];
更改週末顏色。
#CalendarTable .Weekend {
color: #A92A2A;
color: #A92A2A;
var monthDays = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
var weekLabels = new Array(‘<span class=”Weekend”>日</span>’,’一’,’二’,’三’,’四’,’五’,'<span class=”Weekend”>六</span>’);
var weekLabels = new Array(‘<span class=”Weekend”>日</span>’,’一’,’二’,’三’,’四’,’五’,'<span class=”Weekend”>六</span>’);
var IsitNow = currentDay;
IsitNow.setDate(1);
var startDay = IsitNow.getDay() – 1;
IsitNow.setDate(1);
var startDay = IsitNow.getDay() – 1;
if (nTableCol > 0 && nTableCol < 6)
sCalendarCode+='<td id=”Day’+index+'”>’;
else
sCalendarCode+='<td id=”Day’+index+'” class=”Weekend”>’;
sCalendarCode+='<td id=”Day’+index+'”>’;
else
sCalendarCode+='<td id=”Day’+index+'” class=”Weekend”>’;
╳ 用blockquote css在引用文字的兩端加入雙引號及首字放大(Fun New Run High)
╳ 動態調整文章字體大小(Abin’s Tech Note)
長度單位改為百分比
for (i = 0; i < components.length; i++)
components[i].style.fontSize = size+’%‘;
components[i].style.fontSize = size+’%‘;
→ 讓側邊列的元件只在首頁顯示/不顯示(Abin’s Tech Note)
利用在AdSense廣告的顯示與否上
╳ 增加文章留言回應的編號(Abin’s Tech Note)
╳ 加入相關文章功能(Abin’s Tech Note)
增加圖示
.related-posts {
background:url(“https://lh5.googleusercontent.com/_Et1nUDVqEyQ/TYTpb1DxigI/AAAAAAAAFqo/iCPmeCXHQks/s800/download.gif”) no-repeat scroll 0 0 transparent;
padding-left:20px;
}
…
function ShowRelatedPosts(PostUrl) {
RemoveDuplicatedPosts(PostUrl);
var r = Math.floor((relatedTitles.length – 1) * Math.random());
var i = 0;
if (relatedTitles.length > 0) {
document.write(‘<span class=”related-posts”>相關文章:</span><ul>‘);
background:url(“https://lh5.googleusercontent.com/_Et1nUDVqEyQ/TYTpb1DxigI/AAAAAAAAFqo/iCPmeCXHQks/s800/download.gif”) no-repeat scroll 0 0 transparent;
padding-left:20px;
}
…
function ShowRelatedPosts(PostUrl) {
RemoveDuplicatedPosts(PostUrl);
var r = Math.floor((relatedTitles.length – 1) * Math.random());
var i = 0;
if (relatedTitles.length > 0) {
document.write(‘<span class=”related-posts”>相關文章:</span><ul>‘);
<script expr:src='”/feeds/posts/default/-/” + data:label.name + “?alt=json-in-script&callback=RelatedLabels&max-results=15“‘ type=’text/javascript’/> </b:if>
╳ 在Blogger裡加入Google+「+1」按鈕(本站)
╳ 如何隱藏分類頁面的說明文字(0 與 1 謎詭世界)
╳ 標籤/搜尋頁面只列出標題(Abin’s Tech Note)
╳ 官方版「繼續閱讀」(Abin’s Tech Note)
調整CSS
/* Style for Jump-Link */
.jump-link {
float: right;
border: 1px solid #0364A4;
margin: 0;
padding: 2px 10px 2px 10px;
}
.jump-link {
float: right;
border: 1px solid #0364A4;
margin: 0;
padding: 2px 10px 2px 10px;
}
→ 在 Blogger Blog 增加隨機文章版區的方法(D01小站)