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     [SHARING] Portal Page Tooltips.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SHARING] Portal Page Tooltips.
 Login/Join
 
Platinum Member
posted
Hi All,

I just want to share the code for displaying tool-tips when user is selecting Particular portal tabs. May be it is not valuable for someone.

//Begin function window_onload
function window_onload() {


UpdateData();
setupTabTooltipsEvents();
// TODO: Add your event handler code here
//add onInitialUpdate() function to make changes before initial run of the reports
}
//End function window_onload

/**
* Creates an event handler to show tab tooltip when certain BIP portal tabs are hover.
*
*/
function setupTabTooltipsEvents(){
// Setup the normal mouseover handler
$(".bi-tool-bar-button", window.parent.document).has(".bip-navigation-button").mouseover(function(){

if($(this).text() == "Page 1")
{
$(this).prop('title', 'Please \n Select Page1');
}
else if($(this).text() == "Page 2")
{
$(this).prop('title', 'Please \n Select Page2');
}
else
{
$(this).prop('title', 'Please \n Select Page3');
}
});
}


////////////////////////////////////////////////////////////////

Thanks,
Neelima

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


WebFocus 8104,8204
Excel/PDF/HTML/HTMLTABLE/XML/ALPHA/GIF file/GRAPH/Active technologies
 
Posts: 186 | Location: INDIA | Registered: July 11, 2013Report This Post
Master
posted Hide Post
Thank you Neelima.

The tooltip upon hovering over the BIP page titles works AOK for me.

I included this code in a focexec that runs from a panel on the page that runs when the page is rendered.

Is that where you put your code?

I am guessing that I would include this code similarly on all my pages, because I don't necessarily know what page my user will start with.




Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
 
Posts: 822 | Registered: April 23, 2003Report This Post
Virtuoso
posted Hide Post
Thanks Neelima!

Good points David. Where exactly did you stick your Js Neelima? Will work with David's solution for now though. Thanks David for sharing what you did too.


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Platinum Member
posted Hide Post
Yes David, there is a need to include this JS code in all pages as we don't know through which page, user will start.

I have used this code in my HTML Global filters file.
You have suggested a good point. I could included this code in focexec files also.

Thanks

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


WebFocus 8104,8204
Excel/PDF/HTML/HTMLTABLE/XML/ALPHA/GIF file/GRAPH/Active technologies
 
Posts: 186 | Location: INDIA | Registered: July 11, 2013Report This Post
Virtuoso
posted Hide Post
Thanks for the update Neelima!


8.2.02M (production), 8.2.02M (test), Windows 10, all outputs.
 
Posts: 1113 | Location: USA | Registered: January 27, 2015Report This Post
Platinum Member
posted Hide Post
Smiler


WebFocus 8104,8204
Excel/PDF/HTML/HTMLTABLE/XML/ALPHA/GIF file/GRAPH/Active technologies
 
Posts: 186 | Location: INDIA | Registered: July 11, 2013Report This Post
Expert
posted Hide Post
Nice,

I may recommend this be implemented here.

Not sure about how it will work for iPads though


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Platinum Member
posted Hide Post
I Supposed That will also work in iPads.


WebFocus 8104,8204
Excel/PDF/HTML/HTMLTABLE/XML/ALPHA/GIF file/GRAPH/Active technologies
 
Posts: 186 | Location: INDIA | Registered: July 11, 2013Report 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     [SHARING] Portal Page Tooltips.

Copyright © 1996-2020 Information Builders