The onShow Property

IlvContainer has an onShow property to which you can pass a Script function. The specified function is called when the container is displayed on the screen. For example:

function OnShow(theContainer)

{

writeln("Hi, " + theContainer.name + " is displayed.");

}

 

function OnLoad(theContainer)

{

theContainer.onShow = OnShow;

}

In this example, the OnShow function is used to handle the onShow event applied to theContainer.