How to create an automatic table of contents on blogger

how to create an automatic table of contents blogspotHampir one year a new blog content automatically aq pair wrote on my blog, as if tired jg ya make me a manual table of contents as you see on the right sidebar of my blog, now you want to know that an automatic right, you try to click on the table of contents on the horizontal menu at the top, then the result will automatically appear content I want to know how.
Step One:
A. Login to your Blogger account
2. Select the Layout or Layout -> Edit HTML
3. After that put checks on Expand Widget Templates
4. Should back up your template first friend by clicking Download Full Template
5. Find the code below
<b:include data='post' name='post'/>
If you have found replace the code with the following script:
<b:if cond='data:blog.homepageUrl != data:blog.url'>
<b:if cond='data:blog.pageType != "item"'>
<a expr:href='data:post.url'>
<div style='padding:6px 0 6px solid 5px;border-right:1px solid #ccc;border-bottom:1px #ccc;margin-bottom:2px;background:#EAE9E9;color:#000000;'>
<data:post.title/> </ div> </ a>
<b:else/>
<b:include data='post' name='post'/>
</ B: if>
<b:else/>
<b:include data='post' name='post'/>
</ B: if>
6. Save Template (save).
Description: # # 000000 is EAE9E9 and background color (background) and 000000 is the color of text (text). my friend can replace it if you want to customize the blog template.
Actually finished up here, my friend tried to click on one label / kategoti then naturally arises as to just its title.
If my friend wanted to display the entire content skip to step into two
Step Two:
In this step we make the caller table of contents.
A. Select the Layout or Layout -> Page Element or Element page.
2. Select Add a Gadgets or Add A Page
3. Choose HTML / JavaScript
4. Enter the following code into the content
<a href="http://Nama blog sobat.com/search?max-results=200"> Table of Contents »</ a>
5. Save Widgets
Description:
I just took it on my blog URL jd I just put this url http://www.sabarmuanas.co.cc/search?max-results=200
Replace the red with the name of your blog, and the 200 is the maximum number of titles of articles that will appear dalamm one-page table of contents. Please obtain as desired

Tidak ada komentar:

Posting Komentar

Berkomentarlah dengan sopan dan pastikan komentar anda bukan spam. Komentar spam akan dihapus.