Page Layout and Resizing Issues

You may put as many graphs on a page as you like. Give each a different anchor image. Once this page is loaded, go ahead and resize the page.



Each of these graphs is anchored to a different image, and each image is set in a different table cell as follows:

<table>
<tr>
<td>
<img name=anchor1 src=white.gif width=200 height=200>
<td>
<img name=anchor2 src=sky.gif width=200 height=200>
<td>
<img name=anchor3 src=skyblue.gif width=200 height=200>
</table>

Be aware, however, that Navigator has bugs. For example, if you change a page on your computer, save the page, and then reload it and resize it, it is quite possible that you will see the previous version of the page, not the most recent! In addition, you may, for example, see the message "Alert! Did not find a convertor or decoder," and the page may stop loading. This is most likely a memory issue. On a Macintosh computer the entire graph may go blank, because Netscape will completely lose track of all its divs. The obvious solution is to do a reload, but that is not totally satisfactory.

Internet Explorer isn't much better. It can be painfully slow in redrawing a page. If you want to know why, and you are running Internet Explorer, just take a look at the definition of a document or a div.


back to the list of examples


copyright 2001 Robert M. Hanson. All rights reserved. divgraph.js is freely distributable for noncomercial purposes, provided reference is made as "divgraph.js was developed at St. Olaf College by Robert M. Hanson (http://www.stolaf.edu/people/hansonr/divgraph)." Commercial licensing is available for specific purposes.