how can we highlight the active tab in HTML tab report? I am using 2 i frames which form 2 different tabs in html. i would like to highlight the active tab with green backcolor.
Any help is greatly appreciated.
Thanks, KeerthiThis message has been edited. Last edited by: Kerry,
WebFOCUS 7.6 Windows, All Outputs
February 29, 2012, 12:09 PM
j.gross
Is your problem in identifying which is the active tab, or in applying styling?
You'll have to custom-code an event handler to accomplish this. Usa a global variable (or a hidden text control) to hold the ID of the currently-selected tab. All tabs' onclicks can call a common fn, passing it the respective tab's ID (or infer it from "this"). The onclick event handler would adjust (reset) the previously selected tab's appearance, record the new selection, and adjust its appearance.
February 29, 2012, 03:06 PM
Francis Mariani
I would like to know what a "HTML tab report" is.
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server