Focal Point
[CLOSED] 7.6.11 HTML output format images

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

August 14, 2012, 10:57 AM
Enigma006
[CLOSED] 7.6.11 HTML output format images
Hi

I am on 7.6.11.
I am trying to see how to insert output format logos beside radio buttons and let user select an output format like he does.
Just want to insert those image. Is there any direct way to do this?

Please let me know

Thanks

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


8.1.05
HTML,PDF,EXL2K, Active, All
August 14, 2012, 11:20 AM
rfbowley
Old school. Go to Microsoft's site, and right click the Excel logo, "Save Target as" and save on your computer. Repeat for PDF logo on Adobe's site, w3.com will give you HTML.

Use the graphics editor of your choice to make them all the 'right' size. Copy these to where WebFOCUS can see them (In MRE, you can use the 'Other' folder in the domain)

Make the radio button control big enough that you can insert an image where you want it. Insert the image.

Or, I think the images are automatically added in 7.7.02 when you create the radio button in the HTML Composer. I know it was available in 7.7.03 at my last client.


Robert F. Bowley Jr.
Owner
TaRa Solutions, LLC

In WebFOCUS since 2001
August 15, 2012, 10:24 AM
nd
We offer a set of static radio buttons that are chained to a parameter for format prompting.

For each item in the list, on the properties and sections page, the Display column has
<name_of_file.ext>


Here's an example that uses a file called format_excel_32.png with the text description Excel to its right.
 <format_excel_32.png>Excel


(For MRE) If you don't want to use the Other file in the domain, you can also put the image files in an application on the reporting server.

If you choose to bypass storing them in the domain, I've found it more reliable to double click in the Display field and type in the file reference using the syntax above than it is to use the Browse button.


WF: WebFocus 7.7.03
Data: Oracle, MSSQL, DB2
OS: Windows
Output: HTML/AHTML,PDF,EXL2K FORMULA, COMT
August 16, 2012, 03:18 AM
Tony A
I'll often control it by using a standard CSS file -
/********** Format controls **********/
.fmtlink {
                width: 50px;
                font-size: 11px;
}
.pdflink {
                background-image: url(../images/icons/pdficon.gif);
                background-repeat: no-repeat;
                background-position: left top;
}
.wordlink {
                background-image: url(../images/icons/wordicon.gif);
                background-repeat: no-repeat;
                background-position: left top;
}
.excellink {
                background-image: url(../images/icons/excelicon.gif);
                background-repeat: no-repeat;
                background-position: left top;
}
.weblink {
                background-image: url(../images/icons/webicon.gif);
                background-repeat: no-repeat;
                background-position: left top;
}
.pptlink {
                background-image: url(../images/icons/ppticon.gif);
                background-repeat: no-repeat;
                background-position: left top;
}

and then use those classes like so -
    <div id="navContainer">
      Select Output Format:   
      PDF <input type="radio" class="fmtlink pdflink" name="WFFMT" value="PDF" />
      HTML <input type="radio" class="fmtlink weblink" name="WFFMT" value="HTML" checked />
      EXCEL <input type="radio" class="fmtlink excellink" name="WFFMT" value="EXL2K" />
    </div>
  </div>




In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
August 16, 2012, 09:01 AM
ABT
BTW, famfamfam silk is an awesome free set of 16 x 16 png icons. I have them saved as well as Everaldo's Crystal icons in my images app path for all to use.

fffs - http://www.famfamfam.com/lab/icons/silk/
fffs preview - http://www.famfamfam.com/lab/i...eviews/index_abc.png

everaldo crystal - http://www.everaldo.com/crystal/
crystal preview - http://www.everaldo.com/crystal/?action=preview

- ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro