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.

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com