Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [04-2008 Date Index] [Date Next] || [Thread Prev] [04-2008 Thread Index] [Thread Next]

[dokuwiki] Re: using javascript in ext. link

  • From: Shai <shaibn@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 7 Apr 2008 00:39:30 +0300
Hi,

I'm not really sure I want to paste the link I'm trying to put on my private
internal network wiki but security, it being a private wiki and all, isn't a
problem.
that said, when I use the javascript as a normal URL, it works, but when
embedded in [[javascript code here|link name]] it seems to want to use the
mailto and creates an email link (probably cause it sees a mailto somewhere
in the code.

Shai

On Mon, Apr 7, 2008 at 12:16 AM, Christopher Smith <chris@xxxxxxxxxxxxx>
wrote:

>
> On 6 Apr 2008, at 21:25, Shai wrote:
>
> > Hi,
> >
> > I know I can use the normal links syntax for links but when I tried some
> > javascript, it just didn't work.
> > Is there a way to do this?
> >
> > Shai
> >
>
> No, at least not if I understand you right.  Do you want to be able to
> include javascript as part of an external link in a wiki page?
>
> To allow javascript would be a security risk.  If its a private wiki or
> you are prepared to take the risk on your own wiki, you can enable HTML
> (refer htmlok config setting) and place the link as normal html between html
> tags.
>
> If you are looking to open the link in a new window, check out target
> config setting.
>
> - Chris
> --
> DokuWiki mailing list - more info at
> http://wiki.splitbrain.org/wiki:mailinglist
>




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.