Lotus Notes FAQ Visit Our Sponsor!

How do you get rid of the ecblank.gif in generated HTML?


Unfortunately, there is no easy workaround for this.

For Embedded Outlines, Brad Nelson suggested using this code in your JSHeader and calling it from the onLoad event:

function fixecblank() {
  lg = document.images.length;
  for (x = 0; x < lg; x++) {
    isrc = document.images[x].src;
    i = isrc.indexOf("ecblank");
    if (i != -1) {
      if ((document.images[x].width==20) || (document.images[x].width==16)) {
        document.images[x].width=0;
      }
    }
  }
}

but it only works for browsers which support modifying the size of graphics on the fly. This includes MSIE and Mozilla, but not Netscape 4.x.

For tables, you can get rid of it by turning off fixed width tables.

For views, turning off Show Response Docs in a Hierarchy helps get rid of it. The only other way to get rid of ecblank.gif is to create the HTML for views yourself by turning on the Treat View Contents As HTML property.

Applies to Notes Versions: 4.5, 4.6, 5, 6
Last Modified: October 18, 2002