24 - HTML Block
nav_first.pngFirst: design:1
1 - Rate Module
Edited: 29 Apr 2012 00:01 by: GoVegan
Comments: 21
Tags:
nav_prev.pngPrevious: design:23
23 - Private Categories
Edited: 11 Nov 2009 16:14 by: Steven Heynderickx
Comments: 19
Tags:
Last: design:32
32 - Parenthood Module
Edited: 11 Nov 2009 21:47 by: Steven Heynderickx
Comments: 7
Tags:
nav_last.png
Next: design:25
25 - Site Branding
Edited: 11 Nov 2009 21:35 by: Steven Heynderickx
Comments: 6
Tags:
nav_next.png

24 - HTML Block
Created on 13 Oct 2009 12:28
By pieterh

rating: +3+x
This is the Redirect module that redirects the browser directly to the "http://projects.wikidot.com/thread:131" page.

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.

Comments: 6

Add a New Comment