User Tools

Site Tools


wiki:plugins:iframe

Table of Contents

IFrame Plugin

This plugin allows external urls to be loaded into an iframe in your Dokuwiki page.

Usage

{{url>someurl width, height}}
{{url>someurl width,height noscroll noborder alignment|alternate-text}}
someurl URL of web page to include required
width and height When only one value is given it is assumed to be the height. Otherwise the first value is width and the second value is height. You can give the values in px, em, pt or %. When no unit is given px is is NOT assumed (you have to give the value). Defaults values are: width - 98%, height - 400px. optional
noscroll disable the scrollbars of the iframe. optional
noborder disable the frame border, note that your CSS might still add borders or may disable them without using this setting optional
alignment left or right to have the iframe floating to the left or right. Should be used with a width. optional
alternate-text If not specified an empty string will be used. optional

Notes

  • Since the York template restricts the width of the screen, your URL will only display within the restricted width. However, you can specify an explicit width larger than the template to extend the included web page outside of the template width.
  • You can use this feature to link to password protected content on your web site where you have other authentication/access control options available.

Demo

Include the CSE web page here:

{{url>https://www.cse.yorku.ca|Alternate TEXT}}

wiki/plugins/iframe.txt · Last modified: 2009/06/08 11:49 by jas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki