WorldMaker Default Page
Tips for developers:
Different browsers can download Java applets very efficiently. But they use different archive formats -- so a single web page can't optimize the applet code for every single browser. Javascript on this page detects what kind of browser users have, and does several important things -- which are demonstrated above:
- It detects what browser and platform users are using, and displays that information for the user.
- It generates WARNING messages for those users who are using very old browsers or browsers that are known to have problems running full-fledged Java applets.
- Finally, it dynamically generates a link to the appropriate page (WORLD1.HTML or WORLD2.HTML), so that the user's will download applet code in the most efficient way possible.
Of course, you'll want to remove these explanatory paragraphs from the HTML of this page, and replace it with something informative for your users. You'll probably want to your own explanations of what your users are about to see, along with your own graphics, or backgrounds, or buttons. Remember that there *two* different pages that users might access to load the applets -- WORLD1.HTML and WORLD2.HTML -- so if you want to change the HTML of those pages, remember to make the changes to both WORLD1 and WORLD2.
You may even choose to eliminate the Javascript entirely, and just send all of your users to a single page. That would be simpler, but some of your users would take longer to download the applets since they wouldn't be using the optimal archive format. We've simply provided these three pages (INDEX, WORLD1 and WORLD2) for your project by default so that you have an optimized solution for *all* of your users right out of the box.
Copyright © 1997
U&I Interactive
1221 E. Dyer Road, Suite 220
Santa Ana, CA 92705