Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Highlight active tab

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Highlight active tab
 Login/Join
 
Member
posted
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,
Keerthi

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 21 | Registered: October 20, 2011Report This Post
Virtuoso
posted Hide Post
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.
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Expert
posted Hide Post
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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Highlight active tab

Copyright © 1996-2020 Information Builders