_OUTPUT_ADDTOFAV_FUNCTION_ Method

Outputs the addtofav JavaScript function on the Toolbar page

Syntax

CALL SEND(OBJID,'_OUTPUT_ADDTOFAV_FUNCTION_');

Details

When a user clicks the Bookmark button, the addtofav function saves the URL in the browser's bookmark list.

Example

The following output is produced:
function addtofav(varName){
  LinkName=window.document.title;
  with (window.parent.table_window) {
    linkUrl=eval(varName);
  }
  window.external.AddFavorite(linkUrl,LinkName);
}