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] HTML Tree Control: How to disable tooltip?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] HTML Tree Control: How to disable tooltip?
 Login/Join
 
Expert
posted
Is anyone else annoyed by the constant "Expand_collapse tree control." tool-tip that pops up every time one moves the cursor over a Tree Control item (including areas where no action is possible)?

This message has been edited. Last edited by: Francis Mariani,


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
Using jQuery, I've managed to solve this to my satisfaction.

// Remove "alt" attribute from HTML Image tags, even after the DOM is loaded
$(document).on('hover', 'img', function(){ $('img').filter('[alt]').removeAttr('alt'); });
There is a slight lag when expanding a tree branch with many values, but I'll wait for the user to complain before investigating further.

Documentation: jQuery API - .on()


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
Guru
posted Hide Post
I guess I have never noticed the tool tip until you pointed it out. I think I might try and incorporate your resoltion into my HTML.

As far as the lag, good luck on that. I would want to know. This "lag" is what I am referring to in WF 8 on initial load when you have many values at all levels. Once loaded, expanding the tree is lighting fast.

Just to get it functional in WF 8 I had to cut my tree down to 5 records for testing functionality.


WebFOCUS 8.1.05
 
Posts: 496 | Registered: January 04, 2008Report This Post
Expert
posted Hide Post
Matt,

The lag might not be because of the jQuery function - it must be because of what you described in the other post: the collapsed branches are not retrieved until the parent is expanded. I never encountered the lag because I hadn't opened these parents before.

You never noticed the tooltip? I find it really annoying - you only need to know what the toggle box is once in your lifetime - not every time you hover over it. I traced the tool tip text to file ..\ibi_html\javaassist\intl\EN\composertrans.js. There's a line of code:
composertrans.put("expand_collaps", "Expand_collapse tree control.");

I modified it to
composertrans.put("expand_collaps", "");
which still renders a tooltip popup, albeit an empty one. I didn't try to remove the line completely.


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] HTML Tree Control: How to disable tooltip?

Copyright © 1996-2020 Information Builders