ppwbcustom.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // Licensed Materials - Property of IBM
  2. //
  3. // IBM Cognos Products: pps
  4. //
  5. // (C) Copyright IBM Corp. 2005, 2017
  6. //
  7. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  8. // This contains the custom javascript functions supplied by the customer
  9. // to be used for PowerPlay Studio Toolbar.
  10. // Use the adminTool to activate the custom actions, and insert functionality below.
  11. // This code is provided as a skeleton and it is up to the customer to modify to fit.
  12. // Browser detection code - included in ppwb.js - shown here as documentation only.
  13. // You may take advantage of these without the need to uncomment the code.
  14. //var version = parseInt(navigator.appVersion);
  15. //var isIE = navigator.appVersion.indexOf("MSIE")>0
  16. //var isNS = navigator.appName.indexOf("Netscape")>=0;
  17. //if( navigator.appVersion == "" )
  18. // isIE = true;
  19. //var isIE3 = isIE && version<4
  20. //var isIE4 = isIE && version>=4
  21. //var isNS3 = isNS && version<4
  22. //var isNS4 = isNS && version>=4
  23. // Custom functions 1 - 8
  24. function custom1() {
  25. alert("Custom action 1"); // please replace
  26. // parent.location.href="http://www.cognos.com/" // example url
  27. }
  28. function custom2() {
  29. alert("Custom action 2"); // please replace
  30. }
  31. function custom3() {
  32. alert("Custom action 3"); // please replace
  33. }
  34. function custom4() {
  35. alert("Custom action 4"); // please replace
  36. }
  37. function custom5() {
  38. alert("Custom action 5"); // please replace
  39. }
  40. function custom6() {
  41. alert("Custom action 6"); // please replace
  42. }
  43. function custom7() {
  44. alert("Custom action 7"); // please replace
  45. }
  46. function custom8() {
  47. alert("Custom action 8"); // please replace
  48. }