I've used the Cognos document "report_studio_workshop_-_tabbed_prompt_report.pdf" to help create a tabbed prompt page.
Switching between the tabs that have been generated can sometimes takes some time before they are displayed to the user.
An example of the code behind each of the buttons is as follows:
<button title="Show Tab 1"
onclick="document.formWarpRequest.elements['p_pTabToShow'].value='
Tab1';SetPromptControl('reprompt')" class="HB">Show Tab 1</button>
Does anyone know or could suggest a way in which I could get a message to display to the user whilst they are waiting for the new tab to open.
For those that may be interested in the Cognos Document I have placed the link below.
Thanks
http://download.boulder.ibm.com/ibmdl/pub/software/dw/dm/cognos/reporting/workshops/report_studio_workshop_-_tabbed_prompt_report.pdf (http://download.boulder.ibm.com/ibmdl/pub/software/dw/dm/cognos/reporting/workshops/report_studio_workshop_-_tabbed_prompt_report.pdf)
Below is a link to Cognos video on displaying a message when waiting. I hope this helps.
RT
http://www-01.ibm.com/support/docview.wss?rs=0&context=SS9RTN&q1=javascript+message&uid=swg21341186&loc=en_US&cs=utf-8&cc=us&lang=en (http://www-01.ibm.com/support/docview.wss?rs=0&context=SS9RTN&q1=javascript+message&uid=swg21341186&loc=en_US&cs=utf-8&cc=us&lang=en)