|
|
|
|
- Overview
- Displaying a page in an IFrame control
- Changing the target of the IFrame control in the editor
- Changing the target of IFrame control through programming
- Properties associated with IFrame controls
Handling an iFrame control through programming
WEBDEV enables you to handle an IFrame control through programming. To do so, use the variable of the IFrame control directly in the code. The variable of the IFrame control corresponds to the name of the IFrame control. The variable type is a character string. Important: An IFrame control can be programmed in server code. Displaying a page in an IFrame control Changing the target of the IFrame control in the editor The target of an iFrame control can be easily changed via a button or a link. The target can be changed only if the target of the iFrame control belongs to the current site. To do so, create a button or a link with the following characteristics: - Operation on the controls: "None".
- Action: "Display the XXX page". All you have to do is select the page to display.
- Destination: "In an IFrameXXX". All you have to do is select the name of the iFrame control.
Remark: If the target of the iFrame control does not belong to the current site, the Internet browser does not allow you to modify this target (for security reasons). Changing the target of IFrame control through programming To change the target of the IFrame control through programming, use: - PageDisplay and specify the alias of the iFrame control into which the page must be displayed (browser code).
- ChangeTarget and specify the alias of the iFrame control into which the page must be displayed (browser code) then PageDisplay in server code.
The target can be changed only if the target of the iFrame control belongs to the current site. Remark: If the target of the iFrame control does not belong to the current site, the Internet browser does not allow you to modify this target (for security reasons). Properties associated with IFrame controls The following properties are used to manage the IFrame controls by programming. | | InitialValue | Allows you to get the initial value of a control. For an IFrame control, this property corresponds to the name of the site page or to an empty string if the control is associated with a page of another site. | Type | Allows you to get the type of an object |
For a complete list of WLanguage properties that can be used with an IFrame control, see Properties associated with an IFrame control.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|