There where no highlightning (markup) in my HTML- "Table of Content" at all. The recent item is never marked up, you know? Innovasys told me last year, the missing highlight in the web-toc is a fault caused by Microsoft. That doesn't heIp me much. So I went on searching the solution. In the whole WWW-universe I didn' t found one simple word about this fault. It seemed, I was the only guy, who is busy by this fault in the HTML-TOC. Heureka, I fiddled it out. The solution is really simple:
1) Open the webtoc.html
2) Search for the string "function documentElement(id)"
3) Put in a new line before the line with this string.
4) Fill into the new line the following javascript-function:
function markitup(ele)
var li_liste = document.getElementsByTagName("li");
for (var i = 0; i < li_liste.length; i++)
{
li_liste
.style.backgroundColor = "";
if (ele.parentNode === li_liste
)
{
li_liste
.style.backgroundColor = "silver";
}
}
}
Excuse me for the light-bulbs within the code. At this three positions is a special expresion which is turned by the forum-system into a light-bulb. The expression is:
a starting bracket "["
then type in an "i" and
then type in the closing bracket "]".
5) Search and Replace. Search for the string
"><img"
and replace it with
" onclick="markitup(this);return true"><img"
(att. the blank in the beginnig of the string!). For every item in the TOC, there will be a change now.
If you don't like the "silver" color, change this expression or fill in an hex-expression (#aa99ee). You all are professionals. Must not talk about specials in syntax.
Thats all. It's just a smart workaround. Have fun! ![]()