flyouts.js 728 B

1234567891011121314151617181920212223242526272829303132
  1. // Licensed Materials - Property of IBM
  2. //
  3. // IBM Cognos Products: ps
  4. //
  5. // (C) Copyright IBM Corp. 2005, 2011
  6. //
  7. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  8. // Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
  9. // Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
  10. var fHideFlyout = null;
  11. var sActiveFlyout = "";
  12. function flyonclick(event)
  13. {
  14. if (fHideFlyout)
  15. {
  16. fHideFlyout();
  17. fHideFlyout = null;
  18. }
  19. return true;
  20. }
  21. function flyonresize()
  22. {
  23. if (fHideFlyout)
  24. {
  25. fHideFlyout();
  26. fHideFlyout = null;
  27. }
  28. return true;
  29. }
  30. document.onclick = resetOnClick;
  31. window.onresize = resetOnResize;