Difference between revisions of "Widget:Iframe"

From Sugar Labs
Jump to navigation Jump to search
Line 19: Line 19:
 
* '''height''' - width of the iframe (default is 300)
 
* '''height''' - width of the iframe (default is 300)
 
* '''border''' - border width (default is 1)
 
* '''border''' - border width (default is 1)
 +
*::1 - looks depressed
 +
*::0 - looks flat
  
 
== Sample result ==
 
== Sample result ==

Revision as of 15:58, 9 May 2010

This widget allows you to embed any web page on your wiki page using an iframe tag.

Created by Sergey Chernyshev

Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

{{#widget:Iframe
|url=http://docs.google.com/present/embed?id=dcn37mcz_22cmnwnwf8
|width=410
|height=342
|border=1
}}

Parameters

  • url - URL of page being inserted
  • width - width of the iframe (default is 400)
  • height - width of the iframe (default is 300)
  • border - border width (default is 1)
    1 - looks depressed
    0 - looks flat

Sample result