[dokuwiki] Re: Requiring summaries

On Wed, 05 Oct 2005 12:03:39 -0500 (CDT)
"Joe Lapp" <joe.lapp@xxxxxxxxx> wrote:

> > However what you want maybe could be solved very simply after my
> > work is done, by simply adding your own custom javascript file which
> > adds the wanted behaviours...
> 
> I'm curious to see what you come up with.

Well DokuWiki's JavaScript is very old-school. It uses lots of
techniques considered deprecated. For example the use of document.write
or the use of incode onclick handlers. The keyword for fixing this is
unobstrusive javascript (google for it). The basic principle is to leave
all javascript out of the page and just add an external script file
which reacts on the onload event and adds all needed handlers and
additional tags through the DOM.

Andi

Other related posts: