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.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Jumping to different tabs w/in same group view

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Jumping to different tabs w/in same group view
 Login/Join
 
Member
posted
Hello,

I have a group view with multiple tabs. I will have a Summary Tab where I'm providing high-level info and I'd like to use hyperlinks (or some other action) so that when the user clicks on the hyperlink from the Summary Tab, they will be taken to the other tabs within the same view. So if they click on Hyperlink A on the Summary Tab in Group View 1, they will be taken to Tab A in Group View 1.

Has anyone done this?

Thank you in advance for your insight.

Cheers,
Kim

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


WebFOCUS 7.702
Linux 64-Bit
Windows, All Outputs
 
Posts: 17 | Registered: March 25, 2011Report This Post
Expert
posted Hide Post
Take a look at this post Waz made regarding tabs:

[SOLVED] Remove Tabitem

I created a new tab and added some text. I selected the text and in the Properties window, I clicked on the Events tab and then clicked on the onclick property. This will create an empty JavaScript function call where you add the line document.getElementById('tabitem99').click() ; where tabitem99 is the ID of the tab you want to show.

This is code for a text element:
  
//Begin function text33_onclick
function text33_onclick(ctrl) {
document.getElementById('tabitem2').click() ;
}
//End function text33_onclick

This is code for a button:
//Begin function button2_onclick
function button1_onclick(ctrl) {
 document.getElementById('tabitem1').click() ;
}


It works in IE at the very least.


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
Expert
posted Hide Post
quote:
Jumping to different tabs


BUT this only works for the HTML Composer Tab Control, not for B.I. Dashboard Tabs. SORRY!


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
Expert
posted Hide Post
OK, I think I've got it:

<a href="javascript: top.frames['contentFrame'].document.getElementById('Page_0').click();">Show Tab 0</a><a
<a href="javascript: top.frames['contentFrame'].document.getElementById('Page_1').click();">Show Tab 1</a><a
<a href="javascript: top.frames['contentFrame'].document.getElementById('Page_2').click();">Show Tab 2</a><a
<a href="javascript: top.frames['contentFrame'].document.getElementById('Page_3').click();">Show Tab 3</a><a
<a href="javascript: top.frames['contentFrame'].document.getElementById('Page_4').click();">Show Tab 4</a></br>


contentFrame contains the BID tabs and also the content below each tab. Because the frame is part of a frameset, use top.frames['contentFrame'].

Off to bed.


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
Member
posted Hide Post
Thank you Francis -- you are a rock star! That totally worked and it looks great.

Thanks again & have a great weekend,
Kim

quote:
Originally posted by Francis Mariani:
OK, I think I've got it:

<a href="javascript: top.frames['contentFrame'].document.getElementById('Page_0').click();">Show Tab 0</a><a
<a href="javascript: top.frames['contentFrame'].document.getElementById('Page_1').click();">Show Tab 1</a><a
<a href="javascript: top.frames['contentFrame'].document.getElementById('Page_2').click();">Show Tab 2</a><a
<a href="javascript: top.frames['contentFrame'].document.getElementById('Page_3').click();">Show Tab 3</a><a
<a href="javascript: top.frames['contentFrame'].document.getElementById('Page_4').click();">Show Tab 4</a></br>


contentFrame contains the BID tabs and also the content below each tab. Because the frame is part of a frameset, use top.frames['contentFrame'].

Off to bed.


WebFOCUS 7.702
Linux 64-Bit
Windows, All Outputs
 
Posts: 17 | Registered: March 25, 2011Report This Post
Expert
posted Hide Post
I'm happy it worked!


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     [SOLVED] Jumping to different tabs w/in same group view

Copyright © 1996-2020 Information Builders