HTML Block

nav_first.pngFirst: thread:158
Automatic code replacement
Edited: 1258029917|%e %b %Y by: pieterh
Comments: 0
Tags:

nav_prev.pngPrevious: thread:133
The Default Page
Edited: 1258029917|%e %b %Y by: pieterh
Comments: 0
Tags:

nav_last.pngLast: thread:108
Using the Design category
Edited: 1258029917|%e %b %Y by: pieterh
Comments: 14
Tags:

nav_next.pngNext: thread:130
Private Categories
Edited: 1258029917|%e %b %Y by: pieterh
Comments: 3
Tags:

Steven HeynderickxSteven Heynderickx wrote on 1257868402|%e %b, %H:%M (%O ago)

Originally suggested by pieterhpieterh on 13 October 2009.

This is a design sketch for embedding HTML into Wikidot pages. The idea is based on the design of an Iframe module by James Kanjo.

We propose a syntax extension:

[[html ...arguments...]]
<h1>
    My example header
</h1>
<p>
    My awesome paragraph.
</p>
[[/html]]

This creates an HTML page on a separate server, creates an iframe to embed that HTML page into the current page, and adds JavaScript that automatically resizes the iframe to match the HTML size.

This is a secure sandboxing of the HTML: it cannot access the encapsulating page nor can it use the session's security information.


Start a new sub-thread

Please keep also iframe By Steven Heynderickx 0 Comments 1257868402|%Y-%b-%e

We discourage direct comments on this thread: to discuss it, please start a sub-thread.

Page tags: _design _nocomment
page_revision: 3, last_edited: 1258029917|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License