Html_Element_Link_URL_Set()
Abstract
Creates a link from an element to an arbitrary URL.
Syntax
Html_Element_Link_URL_Set (link_ref_elem_ptr, link_dest_url_str, target_page_frame_ptr, page_reset)
| Argument | Type | Description |
|---|---|---|
link_ref_elem_ptr |
HtmlT_Element * |
the element that has the link |
link_dest_url_str |
const char * |
the URL to link to |
target_page_frame_ptr |
HtmlT_Frame * |
the frame in which the resource linked by the URL is to appear in |
page_reset |
int |
the page reset (see Details) |
Return Type
void
No return value.
Header
html.h
Details
This function is useful to use when links generated through the HTML package need to point to anchors on remote pages.
If page_reset is true, the link uses the "_top" target, which causes the linked page to appear in the browser window, replacing all other frames and pages.