COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: tkjenkin on 31 May 2017 01:54:02 PM

Title: adding an image to an input type button in Cognos 11
Post by: tkjenkin on 31 May 2017 01:54:02 PM
I have this logic in Cognos 10 that would show an image alongside of the text.  The text is there and is working to show and hide, however my image is no longer being displayed when I run it in Cognos 11.

This is my code.


<div id="showftrlbl" onclick="showfilters();  "  style="display:none;width:300px;" class="hplnkcur"><input type="button" style="background-color:white;border:none;padding:2px 0px 2px 0px;font: bold;  background:  url('this is there the location of my image went') no-repeat scroll 25px;" value="    View Filters " />

example of the url is this:  ('//shared drive location goes here/Cognos_Graphics/BI/Red-down-arrow15x15.png 

Appreciate any help with adding the image back.