Hi Scot,
thanks for this great trick.
Here is the complet code I use:
The div tag for the alternativ message:
<div id="NoDoc" class="noDoc" >There a no documents for <Computed Value>
avalible.</div>
And an other div tag around the embeded view.
For the JavaScript I choose a different way. Because I did not know how to
search the document for the string "No documents found" I used the
document.links.lenght methode to look if the view returns any links (the view
is my navigator).
This script goes into the onLoad-event:
if (document.links.length == 0) {
NoDoc.style.visibility="visible";
NoView.style.visibility="hidden";}
Hi Scot, thanks for this great trick. Here is the complet code I use: The div tag for the alternativ message: <div id="NoDoc" class="noDoc" >There a no documents for <Computed Value> avalible.</div>
And an other div tag around the embeded view.
For the JavaScript I choose a different way. Because I did not know how to search the document for the string "No documents found" I used the document.links.lenght methode to look if the view returns any links (the view is my navigator). This script goes into the onLoad-event:
if (document.links.length == 0) { NoDoc.style.visibility="visible"; NoView.style.visibility="hidden";}
Once a again thanks for this nice little hack.