[pmwiki-users] Wrap/Embed html+js file in wiki pages?

Justin lists at harbell.net
Wed Apr 11 15:43:49 CDT 2007


Justin wrote:
> Tegan Dowling wrote:
>> On 4/11/07, Justin <lists at harbell.net> wrote:
>>> Can I embed or wrap a complex HTML document inside a Pmwiki page? It
>>> needs to include a lot of javascript.
>> Will this do it?
>> http://pmwiki.org/wiki/Cookbook/EnableHTML
> 
> I gave that a try.  It works {snip} with <iframe>
> I put this below the include (in config.php):
>       EnableHtml('iframe|b|i');
> Then:
>       <iframe id="blah" src="http://foobar.net:3000/moocow" 
> scrolling="no" marginwidth="0" marginheight="0" frameborder="0" 
> vspace="0" hspace="0" style="overflow:visible; width:900px; 
> height:620px; display:none"></iframe>
> 


Oops! removing "display:none" it works like a charm :)
Thanks Tegan!




More information about the pmwiki-users mailing list