< Back

Document Subject: Change font or text of "No documents found" in empty view
Hint Short Cut: Add this to your code & documentation to help you find this page.
http://#No_Documents_Found or http://A555F9/nn.nsf/ByAlias/No_Documents_Found

Change font or text of "No documents found" in empty view, because it comes up a bit big otherwise and your marketing department might not like it. :)




 

Put this in onload of $$NotesDefaultTemplate:

var noDocumentsFound = document.body.all.tags("H2");
var tagH2, textH2;

for (var i = 0; i < noDocumentsFound.length; i++){
tagH2 = noDocumentsFound[i];
textH2 = tagH2.innerText;
if (textH2.toLowerCase() == "no documents found"){
tagH2.innerHTML = '<FONT SIZE=2 FACE=Arial" Color =#212d72><b>No documents found</b></FONT>';
}
tagH2.style.display = "block";
}

Found this here:

http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/9d54a0309562255b85256f5e0059fa22