#2 haharen Feb 24, 2017 14:47

@haharen Do you want to make a plugin and publish it on http://plugins.b2evolution.net ?
@haharen Do you want to make a plugin and publish it on http://plugins.b2evolution.net ?
ok
I'll try to make one.
Great!
@haharen the current post is available through the global variable $Item
.
Let's say you are coding a widget, so its display
method should be something like this:
function display( $params )
{
global $Item;
echo '<a href="'.$Item->get_permanent_url().'#foo">Foo</a>';
}
OK, it works.
Thanks!
Hello
#1 The plugin does not work with "Umlaute" like "ä","ü" ... or special characters like & (so alos ü does not work. Instead a blank is displayed.
That limits the use of the plugin especially for german blogs. But I's like to use it. So; is there someone who can fix this?
#2 And another ask: Because I use Sticky navigation I face the problem that the fist lines of the headings called by the plugin are hidden behind the sticky navigation bar. So it would be great to localize the fist line not immediately on top but about 5 lines below. Is this possible? And how can I manage this?
Thanks and Regards
will
Form is loading...
NOTE: The following is for reference only.
1. Tocible
Homepage: http://markserbol.com/tocible/
Github: https://github.com/markserbol/tocible
Basic Usage: $('#contents').tocible();
2. Table of Contents jQuery Plugin by Nikhil Dabas
Homepage: http://ndabas.github.io/toc/
Github: https://github.com/ndabas/toc
Basic Usage: $('#contents').toc();
3. tocBuilder
Homepae: http://www.proofbydesign.com/Resources.aspx/TocBuilder
Github: https://github.com/kentrob/tocBuilder
Basic Usage: $('#contents').tocBuilder();
4. CSDN (Largest programmer community of China)
Homepage: http://www.csdn.net/
Code: please see the attach file below
Attachments: