Focal Point
Image Border

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

July 19, 2007, 03:04 PM
venkat bokka
Image Border
Hi
I am drilling down a fex file by using a Image. The problem is I am getting a border to that Image, is there is any way to avoid border to the image. Any help is appreciated.

Thanks
July 19, 2007, 04:34 PM
Tom Flynn
<A> href="javascript:OnExecute(null, 'image1')">
<IMG id=image1 style="Z-INDEX: 15; LEFT: 690px; POSITION: absolute; TOP: 30px" tabIndex=16 alt="Apply Filter" src="app/appreset.bmp" border=0 name=image1 originalWidth="20" originalHeight="24" autoExecute="True" requests_list="1"></A>


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
July 19, 2007, 04:56 PM
venkat bokka
I am writing focus code not the HTML

TYPE=TABHEADING,
IMAGE='/wfrimg/PDF JPG-48x48.jpg',
FOCEXEC=TOP_50_STORES_COMP_PDF,
POSITION=(+5.5 +0.0),
SIZE=(0.21 0.21),
TARGET='_blank',
COLOR = 'WHITE',
BORDER-COLOR = 'BLUE',
BORDER=OFF,
$
July 20, 2007, 08:53 AM
mgrackin
The BORDER command in WF controls the drawing of borders around areas of the report. The border you are seeing is a result of the HTML hyperlink tag <A> around the <IMG> tag and there is no WF command to control that.

What you can do is wrap your report results with an HTML page that contains a <STYLE> section that controls the <IMG> border.

TABLE FILE CAR
HEADING
"</2"
PRINT COUNTRY
ON TABLE HOLD FORMAT HTMTABLE AS IMGHOLD
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=TABHEADING, IMAGE='/wfrimg/PDF JPG-48x48.jpg', FOCEXEC=TOP_50_STORES_COMP_PDF,$
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN
<HTML>
<STYLE>
IMG {border:0}
</STYLE>

<BODY>
!IBI.FIL.IMGHOLD;
</BODY>
</HTML>
-HTMLFORM END


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
July 20, 2007, 11:24 AM
venkat bokka
Prefect, It worked.
Thanks a lot Mickey,