![]() |
إضافة فهرس لمدونات بلوجر بشكل أنيق و احترافي |
السلام عليكم و رحمة الله و بركاته
فى هذه التدوينة اسمحوا لى زوارى الأعزاء أن أقدم لحضراتكم اضافة من أهم
الإضافات لمدونات بلوجر هى فهرس يضم عناوين موضوعات ومشاركات المدونة فمن
الضرورى إنشاء خريطة تنظم الأقسام وما تضمه من مواضيع لتمكن الزائر من
الإطلاع على محتوى المدونة بالكامل بطريقة مرتبة.
مميزات الفهرس
◄ فهرس يحدث تلقائيا
◄ يمكن اختيار أي قسم وأي تاريخ كان
◄ و المزيد...
كيفية إضافة الفهرس
الفهرس الأول
<style>
#bp_toc {
background:transparent;
width:100%;
color:#999;
margin-top:10px;
margin:0 auto;
padding:5px;
}
.toc-header-col1 {
padding:10px!important;
line-height:15px;
background-color:#e74c3c;
width:250px;
transition:all 0.3s ease-in-out;
}
.toc-header-col2 {
padding:10px!important;
line-height:15px;
background-color:#6cd9dd;
width:75px;
transition:all 0.3s ease-in-out;
}
.toc-header-col3 {
padding:10px!important;
line-height:15px;
background-color:#44cc9a;
width:125px;
transition:all 0.3s ease-in-out;
}
.toc-header-col1:hover, .toc-header-col2:hover, .toc-header-col3:hover {
opacity:0.9;
}
.toc-header-col1 a:link, .toc-header-col1 a:visited, .toc-header-col2 a:link, .toc-header-col2 a:visited, .toc-header-col3 a:link, .toc-header-col3 a:visited {
font-size:15px;
text-transform:
lowercase;
text-decoration:none;
color:#fff;
font-family:Electrolize,ge_ss_tvbold;
font-weight:400;
letter-spacing:0.5px;
}
.toc-header-col1 a:hover, .toc-header-col2 a:hover, .toc-header-col3 a:hover {
text-decoration:none;
}
.toc-entry-col1, .toc-entry-col2, .toc-entry-col3 {padding:10px;font-size:89%;;transition:all 0.3s ease-in-out;}
.toc-entry-col1:hover, .toc-entry-col2:hover, .toc-entry-col3:hover {
background:#fff;
}
.toc-entry-col1:nth-child(odd), .toc-entry-col2:nth-child(odd), .toc-entry-col3:nth-child(odd) {padding:10px;font-size:89%;} .toc-entry-col1:nth-child(even), .toc-entry-col2:nth-child(even), .toc-entry-col3:nth-child(even) {
padding:10px;
font-size:89%;
}
.toc-entry-col1 a, .toc-entry-col2 a, .toc-entry-col3 a{
text-decoration:none;
color:#666;
transition:all 0.3s ease-in-out;
}
.toc-entry-col1 a:hover, .toc-entry-col2 a:hover, .toc-entry-col3 a:hover{
color:#f6af54;
}
span.toc-note {
padding:10px;
margin:10px 0;
display:inline-block;
background:#fff;
color:#666;
}
#bp_toc table {
width:100%;
margin:0 auto;
border-collapse:collapse;
border-spacing:0;
border-color: transparent;
}
#bp_toc tr:nth-child(even) {
background:#fafafa
}
#bp_toc tr:nth-child(odd) {
background:#eee
}
</style>
<div id="bp_toc"> جاري تحميل الفهرس....</div>
<script src="https://ar1web-com.googlecode.com/svn/Hm/ihussam-sitemap.js" type="text/javascript">
</script> <script src="/feeds/posts/summary?alt=json-in-script&max-results=9999&callback=loadtoc" type="text/javascript">
</script>
الفهرس الثاني
قم بإنشاء صفحة جديدة في مدونتك ثم تبويب HTML و ألصق هذا الكود <style>
#tabbed-toc {
width:100%;
margin:0 auto;
background-color:#09C;
overflow:hidden;
position:relative;
color:#333
}
#tabbed-toc .loading {
display:block;
padding:5px 10px;
font-family:'Open Sans',Sans-Serif;
font-weight:400;
font-size:10px;
color:#fff;
}
#tabbed-toc ul,#tabbed-toc ol,#tabbed-toc li {
margin:0;
padding:0;
list-style:none
}
#tabbed-toc .toc-tabs {
width:25%;
float:left
}
#tabbed-toc .toc-tabs li a {
display:block;
font-family:Electrolize,ge_ss_threeregular;
font-weight:400;
font-size:10px;
height:31px;
overflow:hidden;
text-overflow:ellipsis;
color:#fff;
text-transform:uppercase;
text-decoration:none;
padding:6px 12px;
cursor:pointer;
}
#tabbed-toc .toc-tabs li a:hover {
background-color:#1083A9;
color:#fff
}
#tabbed-toc .toc-tabs li a.active-tab {
background-color:#747474;
color:#fff;
position:relative;
z-index:5;
margin:0 -1px 0 0
}
#tabbed-toc .toc-content,#tabbed-toc .divider-layer {
width:75%;
float:right;
background-color:#fff;
border-left:5px solid #747474;
box-sizing:border-box
}
#tabbed-toc .divider-layer {
float:none;
display:block;
position:absolute;
top:0;
right:0;
bottom:0;
}
#tabbed-toc .panel {
position:relative;
z-index:5;
font-family:'Open Sans',Sans-Serif;
font-weight:400;
font-size:10px;
}
#tabbed-toc .panel li a {
display:block;
position:relative;
font-weight:700;
font-size:11px;
color:#7E7C7C;
line-height:30px;
height:30px;
padding:6px 12px;
text-decoration:none;
outline:none;
font-family: Electrolize,droid arabic kufi;
overflow:hidden
}
#tabbed-toc .panel li a em {
background:#F03232;
color:#fff!important;
padding:2px 4px;
border-radius:3px;
font-style:normal;
}
#tabbed-toc .panel li time {
display:block;
font-style:italic;
font-weight:400;
font-size:10px;
color:#666;
float:right
}
#tabbed-toc .panel li .summary {
display:block;
padding:10px 12px;
font-style:italic;
border-bottom:4px solid #275827;
overflow:hidden
}
#tabbed-toc .panel li .summary img.thumbnail {
float:left;
display:block;
margin:0 8px 0 0;
padding:4px;
width:72px;
height:72px;
border:1px solid #dcdcdc;
background-color:#fafafa
}
#tabbed-toc .panel li:nth-child(even) {
background-color:#f0f0f0;
font-size:10px;
color:#fff
}
#tabbed-toc .panel li:nth-child(odd) {
background-color:#f9f9f9;
font-size:10px;
color:#fff
}
#tabbed-toc .panel li a:hover,#tabbed-toc .panel li a:focus,#tabbed-toc .panel li a:hover time,#tabbed-toc .panel li.bold a {
background-color:#747474;
color:#fff;
outline:none
}
#tabbed-toc .panel li.bold a:hover,#tabbed-toc .panel li.bold a:hover time {
background-color:#444;
}
</style>
<div id="tabbed-toc">
<span class="loading">جاري التحميل...</span></div>
<script type="text/javascript"> var tabbedTOC = { blogUrl: "http://th3-encyclopedia.blogspot.com/", // Blog URL containerId: "tabbed-toc", // Container ID activeTab: 1, // The default active tab index (default: the first tab) showDates: false, // `true` to show the post date showSummaries: false, // `true` to show the posts summaries numChars: 200, // Number of summary chars showThumbnails: false, // `true` to show the posts thumbnails (Not recommended) thumbSize: 40, // Thumbnail size noThumb: "http://3.bp.blogspot.com/-vpCFysMEZys/UOEhSGjkfnI/AAAAAAAAFwY/h1wuA5kfEhg/s72-c/grey.png", // A "no thumbnail" URL monthNames: [ // Array of month names "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ], newTabLink: true, // Open link in new window? maxResults: 99999, // Maximum post results preload: 0, // Load the feed after 0 seconds (option => time in milliseconds || "onload") sortAlphabetically: true, // `false` to sort posts by published date showNew: 7, // `false` to hide the "جديد!" mark in most recent posts, or define how many recent posts are to be marked newText: " - <em style='color:red;'>جديد!</em>" // HTML for the "جديد!" text }; </script> <script src="https://ar1web-com.googlecode.com/svn/Hm/sitemapv2.js" type="text/javascript"></script>
و شكرا لك و لزيارتك المدونة نتمنى أن تكون بألف خير بعد ـن زرت مدونتي
0 التعليقات:
إرسال تعليق
من الرائع ان تشاركنا تجربتك ورأيك، من فضلك لا تستخدم اي كلمات خارجة، روابط لا علاقة لها بالموضوع لانه سيتم حذفها فوراً. فالتعليقات خاضعة للإشراف، دعنا نجعل التعليقات ساحة لتبادل الخبرات والنقاش , واحب ان انبهك انه عند تعليقك تستطيع متابعة التعليق من خلال " إعلامي " الموجودة اسفل يسار الصندوق.