Applet Launcher Page

Applet Launcher Page
 
The Navigator Web Applet Launcher Page can be customized to configure how Navigator Web gets displayed in a browser.  Your Navigator Web installer includes a page called SampleExcel.php as an example.
 
1

URL parameters

 
The URL to the TouchGraph Navigator web page should look something like:
 
http://website.com/navigator/AppletLauncherPage.php?initial_id=jonh+doe&initial_type=person.
 
This URL has 2 parameters:
 
initial_id: This URL parameter allows the initial node id to be passed in from an external link.  The value of this URL parameter is used to set the value of the initial_id Applet parameter.
 
initial_type: This URL parameter allows the type of the initial node to be passed in from an external link.  The value of this URL parameter is used to set the value of the initial_type Applet parameter.
2

Title

 
The default title of "TouchGraph Navigator" can be changed to a different title that you prefer.
3

Browser Detection

 
The lines starting with <!-- contain code for detecting whether the browser is IE or a Mozilla compatible browser such as Firefox, Safari, or Chrome.
4

Applet Parameters

 
 
project_file:
  • The name of the .tgnp project file such as SampleExcel.tgnp
 
data_file: (Optioanl)
  • The name data file such as SampleExcel.xls that should be loaded.
  • If this parameter is not specified, the file name from the .tgnp file will be used.
 
target: (Optional)
  • Clicking on an external URL link in the Navigator Applet will open a the contents in the target window/tab/frame. 
  • If this parameter is not specified, the value will be "_blank" which will open a new window/tab.
 
show_setting_controls: (Optional)
  • If this is set to false the setting menu will not be visible to users. 
  • If this parameter is not specified, the default value is true.
 
initial_id: (Optional)
  • The initial id of the node to be selected and centered in the graph after the visualization is initialized and the data file is loaded. 
  • If this parameter is not specified the node that was selected when the .tgnp file was saved will be used.
 
initial_type: (Optional)
  • The initial type of the node to be selected and centered in the graph.  This is used to disambiguate two nodes of different types that may have the same id.
  • If this parameter is not specified, the first node of any type matching the initial_id will be used as the initial node.
  • If the initial_id is not specified, this parameter will have no effect.
 
launch_url_file: (Optional)
  • A file containing the launch menu options for opening an external web page associated with the selected node/nodes.
 
5

File export parameter

 
applet_file_export: (Optional)
  • The path to the file_export.php script which allows the user to save data/images exported from the Navigator Web applet.
  • To activate file export, the permissions of the export directory must be set to 777 to allow exported data and images to be written there.
  • If this parameter is not specified, exporting data and images from the applet will be disabled.
6

Get Java Link

 
Users who don't have java installed will see this image link to http://java.com/getjava to get the java plugin.