User Tools

Site Tools


wiki:plugins:iframe

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:plugins:iframe [2007/08/14 16:00] – created jaswiki:plugins:iframe [2009/06/08 11:49] (current) jas
Line 5: Line 5:
 ===== Usage  ===== ===== Usage  =====
  
-  {{url>someurl [width, height| alternate-text}}+  {{url>someurl width, height}} 
 +  {{url>someurl width,height noscroll noborder alignment|alternate-text}}
  
-^ someurl | URL to web page to include page ID of the page to include| required | +^ someurl | URL of web page to include | required | 
-^ [widthheightspecify width and height (default: 98% width400px height| optional | +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 arewidth - 98%, height - 400px. | optional | 
-^ [alternate-textalternate text | 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}}
 +
 +{{url>https://www.cse.yorku.ca|Alternate TEXT}}
  
wiki/plugins/iframe.1187121639.txt.gz · Last modified: 2007/08/14 16:00 by jas