I would like to know if there is any way to display a message on a Web page as it loads. For example, if I'm loading a real bulky view embedded on a page, I want to display a simple message like "Loading...please wait." until the view finally loads. Then the message must disappear.
Any suggestions would be appreciated.
That's a bit tricky. If the view is an HTML view (not the applet, and it probably won't be the applet), what you're waiting for is actually all of the HTML document to download. And you can't have anything happening while you're downloading.
My first suggestion would be to modify your view to be less bulky.
Assuming that that's not good enough, maybe this approach can be of help to you, but it will probably require you to change your application quite a lot:
- Load the view in a frame.
- On the page holding the view (use a $$ViewTemplate) put an onLoad event that hides the "Loading...please wait" message.
Dig Deeper on Web Development for Lotus Notes Domino
Related Q&A from Jens Bruntt
Web Development expert Jens Bruntt offers suggestions on how to programmatically copy and hide attachments in Lotus Notes rich-text fields. Continue Reading
Learn about an add-on Domino developers can use to programmatically edit rich-text field tables from within the Lotus Notes client. Continue Reading
Web Development expert Jens Bruntt outlines three potential issues to consider when troubleshooting Lotus Notes Domino tabbed table problems. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.