Focal Point
[CLOSED] Changing tab color

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

August 07, 2012, 12:34 PM
Mike Pepich
[CLOSED] Changing tab color
I have a four tab HTML page. I am trying to change the tab color when it is selected.

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


WebFOCUS 7.7.03
Linux
all output (Excel, HTML, PDF)
August 08, 2012, 07:27 AM
Alex
In HTML Composer just right on the tab and select style, then background. If HTML select the tab (id=tabitemN where N is the sequence number of the tab) and either add or change the BACKGROUND-COLOR property.

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


WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
August 08, 2012, 11:10 AM
Mike Pepich
No, what I mean is that the background color starts out as Navy, when they select the tab the want the background color to change to light blue. They also want the text on the tab to change colors from white to black


WebFOCUS 7.7.03
Linux
all output (Excel, HTML, PDF)
August 08, 2012, 11:23 AM
Tom Flynn
You need to utilize HTML Text CSS Styling, Example:
  
-HTMLFORM BEGIN
<html>
<head>
</head>
<style type="text/css">
   a:link    {color: blue;}
   a:visited {color: brown;}
   a:hover   {color: red;}
</style>
<body style="margin: 0; padding: 0;" align="center">
<table border=0  width=340 height=270 cellspacing="0" cellpadding="0" >
<tr><td>
!IBI.FIL.X_RPT1;
</td></tr></table>
</body>
</html>
-HTMLFORM END



Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe