_OUTPUT_SETURL_FUNCTION_ Method
Outputs the seturl JavaScript function in the toolbar
page
Syntax
CALL SEND(OBJID,'_OUTPUT_SETURL_FUNCTION_');
Details
This function
is called when either the
Rotate button or
the
Download to Spreadsheet button is pressed.
Example
The following
output is produced:
function setURL(varName) {
newURL='';
with (window.parent.frames[1]) {
newURL=eval(varName);
}
if (varName == 'downloadURL')
document.location=newURL;
else if (varName == 'rotateURL')
window.parent.frames[1].document.location=newURL;
}
function addtofav(varName){
LinkName=window.document.title;
with (window.parent.table_window) {
linkUrl=eval(varName);
}
window.external.AddFavorite(linkUrl,LinkName);
}