home / experts / javascript / column64 |
|
The Top Level PageNow we switch focus to our calendar example. This application consists of four different pages,
There are several new features you need to pay close attention to. First is the namespace definition at the The
One of the main advantages of HTCs is that the browser halts its page rendering until the imported file is fully loaded. Many problems arise because of the asynchronous nature of the page processing. The browser does not wait for elements to be fully displayed when it parses an HTML document. You can create an object, for example, at the top of the document and try to access its methods at the bottom of the page, but if the object is not ready yet for some reason, you will get an error message telling you that the object does not exist or that it does not support the method you are trying to access. I am sure you can trace many problems you had in the past to this phenomenon. A good indication is when you get different behavior of the page when you work locally as oppose to over the Internet (because of the loading time difference). Anyhow, the The punch (and only) line of this page is the call to the custom tag
Since Next: How to write the calendar HTC |
Produced by Yehuda Shiran and Tomer Shiran
Created: July 3, 2000
Revised: July 3, 2000
URL: http://www.webreference.com/js/column64/4.html