Was this page helpful?

IFrame Function

  • You do not have permissions to view this page - please try logging in.
Table of contents
  1. 1. Functions
  2. 2. Script Source

NOTE: Allowing the <iframe> HTML element has serious security implications.  Make sure you are fully aware of them before you enable this function.

Vendor
MindTouch
Type Script
Categories Misc
Requires MindTouch Core 1.8.3 or later
Status Stable
License Free/Open Source
Manifest http://scripts.mindtouch.com/iframe.xml

 

Install Script
To add  this script to your site, enter the address of your MindTouch installation (ex: http://www.mindtouch.com) and click the Add Script button.  This will open your control panel and prepopulate the necessary values.  You will still need to manually add configuration settings if required.  Note that no changes are made to your site until you confirm the action in your control panel.
Your site address:     


Table of Contents

See also How to add a script, Using the Extension Dialog, Learn about DekiScript, Extensions Directory.


Functions

Script Source


        

Was this page helpful?
Tag page
Viewing 7 of 7 comments: view all
When I try to turn on the scrollbars within the iFrame using the "scrolling" option, I get the following error:

/p[2]/span, function 'local://d23c587d48b342eba621a61df1e90bfc/deki/services/ourwiki.company.com/16/iframe' failed with response:
could not convert parameter 'scrolling' (index 4) to bool

Any ideas why using the option: scrolling: "yes" would cause this?

Eamon.
Posted 09:40, 27 Jan 2009
To activate scrolling, use true instead of yes for that argument.
Posted 11:20, 9 Mar 2009
sample?
Posted 11:04, 8 Apr 2009
Can somebody PLEASE be more helpful with this example, WHY are all these documentation so FRIGGIN obscure??
Sense any frustration yet???
Posted 14:08, 4 Jun 2009
This worked for me:

{{ iframe{uri: "http://news.bbc.co.uk", scrolling: "TRUE"} }}
Posted 00:02, 23 Oct 2009
thanks Neels!!, that worked for me too.
Posted 02:15, 6 Sep 2010
if anyone needs it, I have just found out in an obscure bit of forum threadery (http://bit.ly/nrN4SI) that as far as widths and heights are concerned, values <1 are interpreted as if they were percentages:
for instance {{iframe("http://news.bbc.co.uk",0.999,800,true)}} will give you an iframe 100% wide, 800px high with scrollbars that appear as and when needed.
The 0.999 is interpreted as 99.9% wide and auto-rounded up to 100%.
Posted 02:32, 12 Jul 2011
Viewing 7 of 7 comments: view all
You must login to post a comment.

Copyright © 2011 MindTouch, Inc. Powered by