w3HtmlAnchorBeg

Syntax   Parameters   Example

Use w3HTMLAnchorBeg to build anchors. This function creates the anchor and inserts all necessary hidden variables needed for FlashCONNECT.  

You can build anchors without using this call by using the w3Action call to find the URL origination, and then using w3Cookie and w3InputPromptNumber. However, this method is more complex and is not recommended.

Syntax

call w3HtmlAnchorBeg  (name , value , options , flags )

Parameters

name

In

The name of the anchor.

value

In

The value that will be placed in name if the user presses this anchor.

options

In

Extra HTML options that  you want to give this anchor.

flags

In

Flags that control the form. The following flag is defined:

  • w3HtmlFormSSL
    Changes the form's URL type to "https" from "http"

If more than one flag is specified, the flags are joined with a ":" character.

 

Example

call w3HtmlAnchorBeg("MyName", "MyValue", "onClick()", w3HtmlFormSSL)

generates the following HTML:

<a onClick()href="https:[URL]?w3SessionId=[w3SessionId] &w3InputPromptNumber= [w3InputPromptNumber]&MyName=MyValue"&gt;

Where

[URL], [w3SessionId], and [w3InputPromptNumber] represent the values automatically calculated by FlashCONNECT for the w3SessionId, w3InputPromptNumber, and URL to the application linking the Web server to FCService. This is usually FCCgi.exe, FCIsapi.dll, or FCServlet.