Here's a way to do it per list, if you don't want a
global change to the lists...
You can stick this function in the ows.js, directly on
the allitems.aspx page or wherever else you may find
appropriate and attach it to the Body onload. ( i.e. BODY
onload=“javascript:HideNewIcons();“ )
I just find it more convenient to modify a particular
list template where users may not want that silly icon...
OK, so it adds a fraction of a second to the page
load, but shouldn't be that bad...
function HideNewIcons()
{
var fields,i;
fields = document.getElementsByTagName('IMG');
for( i = 0; i < fields.length; i ++ )
{
var imgsrc = fields[i].getAttribute('SRC');
if(imgsrc.indexOf("new.gif") != -1)
{
fields[i].style.visibility = "hidden";
}
}
}
It's always fun to “cheat” things to work... :)
# posted by Manuel Montes @ 7:44:00 AM
