[dokuwiki] Re: using javascript in ext. link

Not sure if this would help:
If you would like to add some common javascript functions to your wiki that
should be triggered by links, you could add some javascript to your wiki
that either attaches an event to specific links or captures events and
intercepts clicks on certain links. For example a link with an image, or any
specific interwiki link or you could use anchor as [[start#title]] as a way
to mark links that should be captured via JS.

The captured links can then perform predetermined functions.

If that fits your situation take a look at the js info on the DW
site...martin

On Wed, Apr 16, 2008 at 12:15 PM, Shai <shaibn@xxxxxxxxx> wrote:

> bump
>
>
> On Tue, Apr 8, 2008 at 6:59 PM, Shai <shaibn@xxxxxxxxx> wrote:
>
> > Can you explain to me how I do this with the sample code I gave before?
> >
> > Shai
> >
> >
> > On Tue, Apr 8, 2008 at 10:24 AM, Andreas Gohr <andi@xxxxxxxxxxxxxx>
> > wrote:
> >
> > > Shai writes:
> > >
> > >  Does anyone have any idea here?
> > > >
> > >
> > > You can setup an interwiki link which will build javascript: urls.
> > > This is a security risk and shouldn't be done on a public wiki.
> > >
> > > Andi
> > >
> > > --
> > > DokuWiki mailing list - more info at
> > > http://wiki.splitbrain.org/wiki:mailinglist
> > >
> >
> >
>

Other related posts: