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     [CLOSED] POPUPDESC Styling

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] POPUPDESC Styling
 Login/Join
 
Platinum Member
posted
Hello

I am playing with hover over description for field titles which are define or compute.
I can get it to work. But is there a way to remove the lines around POPUPDESC title (NEWFLD) and make it look similar to other column titles?
TABLE FILE CAR
PRINT 
WEIGHT 
HEIGHT
COMPUTE NEWFLD/D12.2 DESCRIPTION 'Popup Desc' = WEIGHT / HEIGHT;
ON TABLE SET POPUPDESC ON
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
TYPE=REPORT,
     BORDER=LIGHT,
$
TYPE=TITLE,
	 STYLE=BOLD,
$
ENDSTYLE
END  


Please suggest.

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


WebFOCUS 8206
All formats
 
Posts: 95 | Registered: September 13, 2017Report This Post
Platinum Member
posted Hide Post
Hi,
Here is my code and it seems to run fine.


  


TABLE FILE ibisamp/car
SUM HEIGHT
WEIGHT
COMPUTE NEWFLD/D12.2 DESCRIPTION 'Popup Desc' = WEIGHT / HEIGHT;

BY CAR
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET POPUPDESC ON
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
ENDSTYLE
END

-RUN




WebFOCUS 8202M
 
Posts: 167 | Location: Montreal | Registered: September 23, 2014Report This Post
Virtuoso
posted Hide Post
I don't think you can change the styling of the popup descriptions.


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Platinum Member
posted Hide Post
quote:
Originally posted by BM:
Hi,
Here is my code and it seems to run fine.


  


TABLE FILE ibisamp/car
SUM HEIGHT
WEIGHT
COMPUTE NEWFLD/D12.2 DESCRIPTION 'Popup Desc' = WEIGHT / HEIGHT;

BY CAR
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET POPUPDESC ON
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
ENDSTYLE
END

-RUN




Comes up for me. Although ur code removes the lines.
 TABLE FILE CAR
PRINT 
WEIGHT 
HEIGHT
COMPUTE NEWFLD/D12.2 DESCRIPTION 'Popup Desc' = WEIGHT / HEIGHT;
ON TABLE SET POPUPDESC ON
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=TITLE,
     BACKCOLOR=RGB(255 130 198),
     JUSTIFY=CENTER,
     BORDER-TOP=LIGHT,
     BORDER-BOTTOM=LIGHT,
     BORDER-LEFT=LIGHT,
     BORDER-RIGHT=LIGHT,
$
ENDSTYLE
END
 


WebFOCUS 8206
All formats
 
Posts: 95 | Registered: September 13, 2017Report This Post
Virtuoso
posted Hide Post
WebFOCUS_Dev

Remove the BORDER code..


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Platinum Member
posted Hide Post
quote:
Originally posted by FP Mod Chuck:
WebFOCUS_Dev

Remove the BORDER code..

Hello Chuck, I tried that before. But I need border for the whole report. I tried using border for REPORT or TITLE but same issue.


WebFOCUS 8206
All formats
 
Posts: 95 | Registered: September 13, 2017Report This Post
Platinum Member
posted Hide Post
Hi
if you will enable the description it is applying the title styling to span so you need to remove the style class attribute from span tag.

Try this code after your fex code,



 Table file car
. 
. 
. End
-HTMLFORM BEGIN
<SCRIPT>
document. getElementsByTagName("span") [0].removeAttribute ("class") ;
<SCRIPT >

-HTMLFORM END

 


I tried and it works for me


WF Production :- WF:8.0.0.4, 8.1.05 App-studio/Developer Studio(8.1.x) ,
8.2.0.1M , 8.2.0.2 (App-Studio8.2.x),
InfoAssist/+, InfoDiscovery
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10
 
Posts: 186 | Location: Infobuild India | Registered: August 28, 2015Report This Post
Platinum Member
posted Hide Post
quote:
Originally posted by Chaudhary:
Hi
if you will enable the description it is applying the title styling to span so you need to remove the style class attribute from span tag.

Try this code after your fex code,

 Table file car
. 
. 
. End
-HTMLFORM BEGIN
<SCRIPT>
document. getElementsByTagName("span") [0].removeAttribute ("class") ;
<SCRIPT >
-HTMLFORM END
 


I tried and it works for me

TABLE FILE CAR
PRINT 
WEIGHT 
HEIGHT
COMPUTE NEWFLD/D12.2 DESCRIPTION 'Popup Desc' = WEIGHT / HEIGHT;
ON TABLE SET POPUPDESC ON
ON TABLE HOLD AS H1 FORMAT HTMTABLE
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN
<HTML>
<HEAD><SCRIPT>
document.getElementsByTagName("span")[0].removeAttribute("class");
</SCRIPT></HEAD>
<BODY>
!IBI.FIL.H1;
</BODY>
</HTML> 

This removed the lines but hover text is not displaying. Am I doing something wrong?


WebFOCUS 8206
All formats
 
Posts: 95 | Registered: September 13, 2017Report This Post
Platinum Member
posted Hide Post
 
TABLE FILE CAR
PRINT 
WEIGHT 
HEIGHT
COMPUTE NEWFLD/D12.2 DESCRIPTION 'Popup Desc' = WEIGHT / HEIGHT;
ON TABLE SET POPUPDESC ON
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLE *
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN
<SCRIPT>
document.getElementsByTagName("span")[0].removeAttribute("class");
</SCRIPT>
-HTMLFORM END
 


WF Production :- WF:8.0.0.4, 8.1.05 App-studio/Developer Studio(8.1.x) ,
8.2.0.1M , 8.2.0.2 (App-Studio8.2.x),
InfoAssist/+, InfoDiscovery
Output format:-AHTML, PDF, Excel, HTML
Platform:-Windows 7, 8,10
 
Posts: 186 | Location: Infobuild India | Registered: August 28, 2015Report 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] POPUPDESC Styling

Copyright © 1996-2020 Information Builders