package e4s.tutorial;
import e4s.html.*;
import e4s.html.style.*;
import e4s.servlet.*;
import java.io.*;
import java.util.*;
import java.text.*;
/**
* Creating and using IFRAME elements.
*
* {@tutorial Example_IFRAME}
*
* @see e4s.html.IFRAME
*/
public class Example_IFRAME extends E4ModuleImplementation
{
public static E4Method start = null;
public void start( HTML html )
{
TABLE table = html.TABLE();
table.setHeightMax();
table.setWidthMax();
table.setBorder();
TR tr = table.TR();
TD tdA = tr.TD();
tdA.println("Search the google:");
tdA.BR();
IFRAME fA = tdA.IFRAME("http://www.google.com");
fA.setHeight(-1);
fA.setWidth(-1);
TD tdB = tr.TD();
tdB.println("Content from the e4s:");
tdB.BR();
IFRAME fB = tdB.IFRAME(Example_HelloWorld.helloWorld);
fB.setHeight(-1);
fB.setWidth(-1);
// fB.setFrameBorder(false);
}
}