[pmwiki-users] Re: Open new window without window buttons

Patrick R. Michaud pmichaud at pobox.com
Sat Oct 15 18:29:25 CDT 2005


On Tue, Oct 11, 2005 at 09:09:07AM +0200, Albi Rebmann wrote:
> >>i like to open a window thats has no buttons and scrollbars...
> >>Normally this can be done with Javascript line:
> >>OnClick="javascript:window.open('$url?view','Popup','width=500,height=250,scrollbars=1')"
> >>
> >>I hope this can be done with Markup, but I have no idea how.
> >>Can anybody help?
> >
> >
> >It would need a special markup to be able to work, probably
> >buried into a wikistyle somehow.
> 
> Sounds very difficult to me :-(
> How about add some options to %newwin% ? Maybe %newwin popup=1 width=250 
> height=250 scrollbars=0% ?

Hmmm, that might mess up a number of things in wikistyles -- especially
those "width" and "height" attributes (which really mean something
different in other contexts).  Also, is the OnClick= attribute
added to the <a ...> HTML tag, or does it go someplace else?

Pm




More information about the pmwiki-users mailing list