Focal Point
[CLOSED] Hover text on column

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

January 17, 2012, 08:50 AM
Keerthi
[CLOSED] Hover text on column
Hi,

how can i place a Hover/mouse over text on a column in HTML report which basically talks about the description of the column.

Any help is greatly appreciated.

Thanks,
Keerthi

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


WebFOCUS 7.6
Windows, All Outputs
January 17, 2012, 10:15 AM
Prarie
This is what IBI says will do it. I've never tried it.

. Make sure each field in your File descriptions has a description listed.
(Example: Make sure the DESCRIPTION attribute has a value in it in your
metadata)

2. To enable the Pop Up Descriptions on HTML reports, use SET POPUPDESC = ON
in your procedure or enable Pop Up descriptions from the Report Painter
in Developer Studio under Report Options.
January 17, 2012, 03:42 PM
Waz
quote:
SET POPUPDESC = ON


Just tried it, and it works.

SET POPUPDESC = ON

TABLE   FILE CASHFLOW
 PRINT  *
 WHERE RECORDLIMIT EQ 10
END



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!

January 18, 2012, 09:57 AM
GamP
Did you also try it with a very wide report, where you have to scroll horizontally?
Try to see the popups for the rightmost fields ...


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
January 19, 2012, 02:27 AM
ChristianP
Hi,

nice hint this hover text!! How can i influence the background color of the text??

Regards

Christian


WF Production Version: 7.7.02M
WF Test Version: 7.7.02M
Developer Studio: 7.7.02
HTML, EXL2K, FLEX, PDF,PPT
January 19, 2012, 09:02 AM
Keerthi
Thanks everyone. that worked great for HTML report. I tried the same for AHTML and failed.
How can we do this in AHTML report?


WebFOCUS 7.6
Windows, All Outputs
January 19, 2012, 03:43 PM
Waz
quote:
How can i influence the background color of the text


Looks like the colours are hardcoded.

You will have to create yout own script/function to override the IBI one.

e.g. (tested in ie6)
SET POPUPDESC = ON

TABLE   FILE CASHFLOW
 PRINT  *
 WHERE RECORDLIMIT EQ 10
END

-RUN

-HTMLFORM BEGIN
<script type="text/javascript">
<!--
function IBI_popupDesc(msg)
{
    var content="<TABLE WIDTH=200 BORDER=1 BORDERCOLOR=black CELLPADDING=2 CELLSPACING=0 "+
    "BGCOLOR=YELLOW><TD><FONT COLOR=black SIZE=2>"+msg+"</FONT></TD></TABLE>";

    if (ns6) {
        document.getElementById("IBI_popupHere").innerHTML = content;
        skn.display = ''
    }
    else if (ie4) {
        document.all("IBI_popupHere").innerHTML = content;
        skn.display = ''
    }
}
//-->
</script>
-HTMLFORM END



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!