A customer has a report with some areas that need more explanation about the data or graphic. This is possible to just simple add a text item to the report with some text, but then there is a problem that it is always visible.
With this code it is possible to place the text in a popup window. If they click on the header name, defined in the script, a popup window will show. Click again on the header name to make it invisible again.
How to use:
Often a multi-select prompt takes a lot of space in a cognos report. With the use of a multi-select-popup-prompt you can save some space and still keep all the functionality.
I found a URL with a complete example:
I came across a solution to get a PDF button in the report.
Drag a HTML item into the report and put in the following script:
/* Below function passed the selected output format to the server */
<button style=”background-color:white” onclick=”gotoPDF()”>Open in PDF</button>
Another option is to create a drill link to the report it self.
I came across an article on animated drop down prompts. This article is written by Paul Mendelson, Cognos Guru on the G2 Live Blog
The page of the article is: http://performanceg2.com/2013/07/01/animated-drop-down-prompts-in-cognos/