Introduction#

Allows you to embed an iframe into a wiki page.

Installation#

Compile the IFramePlugin.java(info), put the compiled class file in a jar IFramePlugin.jar(info) under WEB_INF\lib.

Parameters#

attachment
Attachment path, e.g. 'IFramePlugin.jar(info)'
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.

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

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
jar
IFramePlugin.jar 2.1 kB 1 03-Feb-2009 10:00 Kevin Yuen
java
IFramePlugin.java 3.6 kB 1 30-Jan-2009 23:17 65.248.211.130
« This page (revision-7) was last changed on 05-Jun-2009 23:41 by Dorothy Valiga