History: PluginIframe
Source of version: 5
Copy to clipboard
! Plugin IFRAME ''Introduced in ((Tiki3))'' Use this ((Wiki Plugin)) to include the body of another web page in a wiki page. {maketoc} !! Usage and Parameters To use this plugin in a wiki page, use the syntax: {CODE(wrap=1)} {IFRAME(src= , name= , title= , height= , width= , align= , frameborder= , marginheight= , marginwidth= , scrolling= )}{IFRAME} {CODE} {FANCYTABLE( head=> __Parameter__ | __Accepted values__ |__Default__ |__Effect__ |__Required?__ |__Since__ )} ''src'' | valid url | none |Address of the page that will be included. Can also put the address in the body of the plugin (between the IFRAME tags) instead of using this parameter. | n | ''name'' | text |none | Sets the name | n | ''title'' | text |none |Sets the title | n | ''width'' | number or pixels or percent |none |Sets the width of the frame | n | ''height'' | number or pixels or percent |none |Sets the height of the frame | n | ''align'' | top%%%middle%%%bottom%%%left%%%right |none |Aligns the frame | n | ''frameborder'' | 1 or 0 |none | | n | ''marginheight'' | yes%%%no%%%auto |none |Sets the margin height | n | ''marginwidth'' | number or pixels |none | Sets the margin width | n | ''scrolling'' | number or pixels |none | Set how scrolling will work for th frame | n | {FANCYTABLE} !! Example ''This code,'' {CODE(wrap=1)} {IFRAME(height=500,width=600, scrolling=auto)}tiki-print.php?page=HomePage{IFRAME} {CODE} ''Would produce on this site:'' {IFRAME(height=100,width=500, scrolling=auto)}tiki-print.php?page=HomePage{IFRAME} {REMARKSBOX(type=tip, title=Tip)} To have scrolling only on the left, set the ''scrolling'' parameter to "auto" and set css to be: iframe body {overflow-x: hidden;}{REMARKSBOX} {include page="Module and Plugin Includes" start="~tc~startinclude2~/tc~" stop="~tc~stopinclude2~/tc~"}