Hi,
I would like to add some onclick function to anchor links but this operation fails.
When I wrote %l onclick="Effect.ScrollTo('Title'); return false;"[[Anchor:#Title]]
Effect.ScrollTo is a scriptaculous framework function.
The decorator is just being printed on screen like normal text. I cannot find any workaround to realize HTML code like :
<a href="#Title" onclick="Effect.ScrollTo('Title'); return false;">Go to Title</a>
I think the problem come from parentheses in attribute value as I add them, I automaticaly have something like :
%l onclick="e;Effect.ScrollTo();"e;%<a href="#Title">Go To Title</a>
in my HTML source.
Is there any workaround to have javascripts call in links with simplewiki ?