Focal Point
[SOLVED]Underlines to Links in Active HTML reports

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3257077486

December 02, 2016, 01:48 PM
kishore
[SOLVED]Underlines to Links in Active HTML reports
Hi,
I am having a Active Html report with MultiDrill functionality. As a default there are underlines to the hyperlinks. how can I remove them?

I tried STYLE=-UNDERLINE in Style Sheet and text-decoration: none; in the HTMLFORM.

Can some one suggest?
thanks in advance,
Kishore Adhikari
WF 8.1.05.

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


WebFOCUS 7.6, 7.7, 8.1.05
Windows, All Outputs
December 05, 2016, 08:44 AM
Thomas Raspberry
Hi Kishore,
I have multiple times removed 'underlines' from drill down by your method under WF 8.105. Are you sure that you are properly applying that style? Maybe by mistake you are using style on title of the column? The code should look like something below:

TYPE=DATA,
COLUMN=N3,
COLOR='BLACK',
STYLE=-UNDERLINE,
FOCEXEC=IBFS:/WFC/Repository/Table_Acess.fex( \
CLASS_NAME=ACCESS_NAME \
),
TARGET='_self',
$


WebFOCUS 8.201
December 06, 2016, 05:20 AM
kishore
Thanks for your response Thomas.
I Used the below code, still it is showing with the underlines.

TABLE FILE CAR
BY CAR BY COUNTRY
ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=N1, COLOR='BLUE',STYLE=-UNDERLINE,FOCEXEC=IBFS:/WFC/Repository/Table_Acess.fex( \ CLASS_NAME=ACCESS_NAME \ ), TARGET='_self',$
ENDSTYLE
END

Thanks
Kishore.


WebFOCUS 7.6, 7.7, 8.1.05
Windows, All Outputs
December 06, 2016, 07:32 AM
MartinY
With AHTML the underline stays there but with HTML it's possible to remove it.

AHTML have its own functionality and styling that cannot be changes be the "normal" features.
It calls an IBI "sub-program" to make the Active features available and some of these Active features overwrite those that we can put since they are applied after ours and this one seems to be one of them.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
December 06, 2016, 09:52 AM
Francis Mariani
A quick way to remove underlines:

-DEFAULT &PCOUNTRY = 'FOC_NONE';

TABLE FILE CAR
PRINT *
WHERE COUNTRY EQ '&PCOUNTRY'

ON TABLE PCHOLD FORMAT AHTML

ON TABLE SET STYLE *
TYPE=DATA, COLUMN=COUNTRY, FOCEXEC=IBFS:/WFC/Repository/Test/FrancisMariani/focalpoint/fp_kishore1.fex (PCOUNTRY=COUNTRY), $
ENDSTYLE
END
-RUN

-HTMLFORM BEGIN
<style>
a:link { text-decoration: none; }
</style>
-HTMLFORM END



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
December 12, 2016, 05:55 AM
kishore
Thanks Martin & Francis.

Thanks for the code Francis. It is working now.


WebFOCUS 7.6, 7.7, 8.1.05
Windows, All Outputs