You can try this:

[open in a new window| page/attachment.pdf |target='_blank']

However, the target '_blank' is only added to the <a>paperclip</a> gif.  So
you get the attachment history overview in a new window/tab.  Blub...


If you use the full attachment link, it works:
[TEST | http://sandbox.jspwiki.org/attach/Main/Bear.bmp | target='_blank']

It will render as a hyperlink, but clicking it will open a new window.


dirk


On Wed, May 25, 2011 at 6:58 PM, <[email protected]> wrote:

> Anyone have a plugin or some sample code to open an attachment in a new
> window?  Just thought I would check with the group before I start writing
> one.
>
> Thanks,
> Lou
>
>

Reply via email to