Programming Guide



sm_web_invoke_url

Invokes a URL on the Web

#include <smuweb.h>
void sm_web_invoke_url(char *url);

url
The URL to call and display in the browser.

Environment

Web

Description

sm_web_invoke_url displays the specified Web resource in the Web browser. When this function is called, Panther suspends the HTML generation for the screen and outputs the HTML to go directly to the specified resource.

Example

// Go to the Panther home page.
proc go_home

call sm_web_invoke_url("http\://www.Panther.com")
return