Method Link()
Syntax
:Link(cLink, [cText], [cTarget], [cColor], [lBR], [lWrite])
Parameters
|
|
cLink |
Link to jump to if selected, either relative or absolute URLs are allowed. |
|
|
cText |
Text to display as the Link Default value of the link cLink. |
|
|
cTarget |
Target Frame. ( _self | _parent | _top | _blank | or a window_name ) |
|
|
cColor |
Color in Hex RGB Format. ie #99000 |
|
|
lBR |
Logical indicating whether to append a <BR> (Web newline) to Display elements |
|
|
lWrite |
Logical indicating whether to send results directly to the User's Browser |
Return
If :lWrite, Number of characters written to Browser.
Otherwise, the results is the completed <a HREF=... > Tag.
Description
Creates a Hyperlink on the page.
|
Additional configuration with cTarget can as follows: | ||
|
|
_self |
Reuse current page or Frame. |
|
|
_parent |
The page that contains the frame the Link is in. |
|
|
_top |
Top most window of the current Browser. |
|
|
_blank |
Open a new Browser and load the Page in it. |
|
|
window_name |
Load the linked page in a Browser window named window_name if it exists. If it doesn't, open a new Browser window and open the page there. |
Note:
Calling a page with an Anchor ( <a HREF...> ), calls the new page with the GET command.
See Also:
![]() |