Wednesday, December 14, 2016

Table of contents in blogspot: test internal link with anchor tag in blogger.

A Table of Contents in blogger.
A little javascript in order to do automatically build a Table Of Contents:
http://jsdo.it/ex-ample.blogspot/QT6D
There many problems with internal anchor in blogger. https://productforums.google.com/forum/#!topic/blogger/5MU_HH5T7rA
https://support.google.com/blogger/search?q=anchor+tag/QT6D
DON'T TOGGLE TO COMPOSE MODE and never SAVE/UPDATE in the Compose mode.
The blogger's toggle mode to Compose inserts
"http://xxxx.html" before # in /< a href="#_Bookmark_1" />
Replace "#_Bookmark_B" by
"http://NAME.blogspot.fr/YEAR/MONTH/TITLE.html#_Bookmark_B"
or for your page "/p/"
With this method you can toggle between
the two modes of blogger without problem.
but it will re-loads your page.

Create anchor links or bookmark links for fast navigation


Bookmark 1


h1

Bookmark B


h2

Bookmark c


h3
aaa

Bookmark D



h2


Bookmark last


h4

No comments:

Post a Comment