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.
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,
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, 2014
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
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?
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