[{TableOfContents}]

!!!Introduction

Allows you to embed an iframe into a wiki page.

!!!Installation

Compile the [IFramePlugin.java], put the compiled class file in a jar [IFramePlugin.jar] under WEB_INF\lib.

!!!Parameters
;__attachment__: Attachment path, e.g. '[IFramePlugin.jar]'
;__url__: A URL, e.g 'http://www.google.com'
;__align__: Align the iFrame to left/center/right
;__border__: Whether there is a border or not
;__width__: Width of the iFrame
;__height__: Height of the iFrame
;__marginwidth__: Margin width of the iFrame
;__marginheight__: Margin height of the iFrame
;__scrolling__: Whether the iFrame can be scrolled or not

!!!Example

Examples of using it:

{{{
[{IFramePlugin attachment='0472-down.gif' width='400' height='300' border='0' scrolling='no' align='right'}]

[{IFramePlugin attachment='Total_Beginner_Companion_Document.pdf' width='100%' height='500' border='1' scrolling='no' align='center'}]

[{IFramePlugin attachment='MediaPlugin.java' width='100%' height='500' border='1' scrolling='no' align='center'}]

[{IFramePlugin url='http://www.google.com/' width='100%' height='500' border='1' scrolling='yes' align='center'}]

[{IFramePlugin url='wiki/public/dashboard/primrose/dashboard.html' width='100%' height='500' border='1' scrolling='yes' align='center'}]


}}}

!!!References

There is a discussion regarding [inserting arbitrary URL to a page|AnyPluginToInsertArbitraryUrl].

!!!Comments

I think it is better to include the jar file as an attachment for convenience.

--[Kevin Yuen]

Thanks to the Developer and Kevin. This was very helpful. I need to attach an ajax slideshow and I've successfully done it. Many Thanks.
-- Ashish Jain


----

Great! I'm using it now to "frame" a facebook page. 

I did have to upgrade from java 1.5 to java 1.6 to get it to work, though - it gave me a "bad class version" when I tried it in java 1.5. Also, when it failed due to "bad class version", it shut down the entire tomcat instance. Very nasty.

Thanks for the great plugin!

--Dorothy Valiga, 05-Jun-2009 23:41