invokeLoc FunctionSwitches to a new location. SyntaxinvokeLoc('location'.split(',')); Parameters
ReturnsThere is no return value. RemarksThe invokeLoc function can be called from within the HTML element of a location of type "HTML", or from within the SCRIPT element of a custom location type. Example 1TQS will switch to location 1,3. <CUSTOMDIV NAME="CUSTOM_FOO"> ... <SCRIPT> ... invokeLoc('1,3'.split(',')); ... </SCRIPT> </CUSTOMDIV> Example 2This sample creates a link which will switch to location 1,1. <LOC ID="1,0" TYPE="HTML"> <HTML> ... <a onclick="event.returnValue=false; invokeLoc('1,1'.split(','));" href="">...</a> ... </HTML> </LOC> |