123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- // Licensed Materials - Property of IBM
- //
- // IBM Cognos Products: pps
- //
- // (C) Copyright IBM Corp. 2005, 2017
- //
- // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- // This contains the custom javascript functions supplied by the customer
- // to be used for PowerPlay Studio Toolbar.
- // Use the adminTool to activate the custom actions, and insert functionality below.
- // This code is provided as a skeleton and it is up to the customer to modify to fit.
- // Browser detection code - included in ppwb.js - shown here as documentation only.
- // You may take advantage of these without the need to uncomment the code.
- //var version = parseInt(navigator.appVersion);
- //var isIE = navigator.appVersion.indexOf("MSIE")>0
- //var isNS = navigator.appName.indexOf("Netscape")>=0;
- //if( navigator.appVersion == "" )
- // isIE = true;
- //var isIE3 = isIE && version<4
- //var isIE4 = isIE && version>=4
- //var isNS3 = isNS && version<4
- //var isNS4 = isNS && version>=4
- // Custom functions 1 - 8
- function custom1() {
- alert("Custom action 1"); // please replace
- // parent.location.href="http://www.cognos.com/" // example url
- }
- function custom2() {
- alert("Custom action 2"); // please replace
- }
- function custom3() {
- alert("Custom action 3"); // please replace
- }
- function custom4() {
- alert("Custom action 4"); // please replace
- }
- function custom5() {
- alert("Custom action 5"); // please replace
- }
- function custom6() {
- alert("Custom action 6"); // please replace
- }
- function custom7() {
- alert("Custom action 7"); // please replace
- }
- function custom8() {
- alert("Custom action 8"); // please replace
- }
|