This is documentation for an earlier version of webMathematica.
View current User Guide (Version 3.3)

Documentation4. Developing Your Own Pages


4.2 Templates

webMathematica provides a number of templates and other utilities that can be used to incorporate more design into your webMathematica material.

4.2.1 Browse Examples

The webMathematica examples can be reached from the webMathematica home page, which you should be able to reach via http://localhost:8080/webMathematica. (You may have some other URL for accessing your server.) The home page shows examples wrapped up in a template that adds more design around the pages to give them a better visual appearance. This template makes use of HTML frames and so it would be relatively easy to modify your own work to make use of it.

4.2.2 Design Examples

As you develop your own material, you may wish to look at the design examples. These are a collection of samples that make use of colors, fonts, and images for a more professional appearance. You can access the design examples from the main index page, or with a URL such as http://localhost:8080/webMathematica/Examples/DesignTemplates/PurpleSpiral.jsp. Each example has a link to the other examples.

4.2.3 Banners and Buttons

A collection of banners and buttons are available for use in your pages, which you can find with links http://localhost:8080/webMathematica/Resources/images/banners/ and http://localhost:8080/webMathematica/Resources/images/buttons/. To use one of these images, such as the banner webm-white.gif, you can use an img tag such as the following.

<img src="/webMathematica/Resources/images/banners/webm-white.gif" />

The section on including static files has more information on how to include images.

Certain license options for webMathematica require that you use an approved banner for your site. You may use one of these banner images in order to comply with this requirement.