Notes Ninjas Notes Ninjas
Lotus Notes hints, tips, error messages
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://www.notesninjas.com/#No_Documents_Found or http://www.notesninjas.com/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

 

 

 Jump to:     Notes Tips
    Lotus Notes Index 
  Register for Tips
Previous Lotus Notes Tip 
    Next Lotus Notes Tip
Your company logo here?
Adam Foster
Free Cash Making Web Site
Free Revenue Earning Blog Site
 Free Revenue Earning Newsletter Site   
Free Search Pages Free Web stats
Free Contact Us page
Cheap .com domain names
 Need a website or 
   Lotus Notes
  problem solved?
Adam Foster
Beginning Java Web Services by Andre Tost, Henry Andre Bequet, Meeraj Kunnumpurath, Sean Rhody
Web services are no longer a nascent technology in the programming industry; every major software vendor is rolling out web services-related APIs and products. Today Java developers are successfully adopting web services as the latest technology in application development in order to enable...
See at: Amazon.co.uk | Amazon.com |