OK, I've looked into the page a bit more. First off, you do need to get rid of all these calls (26 of them, I think):
Code:
<script type="text/javascript" src="js/wz_jsgraphics.js"></script>
<script type="text/javascript" src="js/pie.js">
You can keep this one, the one at the top of the page:
Code:
<script type="text/javascript" src="wz_jsgraphics.js"></script>
<script type="text/javascript" src="pie.js">
Notice that it doesn't have the js/ in it. Keep it that way.
Next, find every instance of:
pieCanvas
They come in pairs, ex:
Code:
<TR>
<TD width="24%" align="left">Under 18</TD>
<TD width="12%" align="center">3</TD>
<TD width="12%" align="right">37.50%</TD>
<TD width="50%" rowspan="8"><div id="pieCanvas" style="position:relative;height:250px;width:250px;"></div>
<script type="text/javascript" src="http://home.cfl.rr.com/mcguigs/wz_jsgraphics.js"></script>
<script type="text/javascript" src="http://home.cfl.rr.com/mcguigs/pie.js">
</script>
<script type="text/javascript">
var p = new pie();
p.add("Under 18",3);
p.add("18 - 24",1);
p.add("25 - 34",0);
p.add("35 - 44",0);
p.add("45 - 54",3);
p.add("55+",1);
p.render("pieCanvas", "Pie Graph")
</script>
</TD>
</TR>
Each pair must be unique. You can leave the first pair 'as is' but the next one should look like so:
Code:
<TR>
<TD width="24%" align="left">Male</TD>
<TD width="12%" align="center">2</TD>
<TD width="12%" align="right">40.00%</TD>
<TD width="50%" rowspan="4"><div id="pieCanvas2" style="position:relative;height:250px;width:250px;"></div>
</script>
<script type="text/javascript">
var p = new pie();
p.add("Male",2);
p.add("Female",3);
p.render("pieCanvas2", "Pie Graph")
</script>
</TD>
</TR>
The next pair can be pieCanvas3, the next pair 4 and so on. Each pair must be unique for IE. There are, I think, 27 pairs in all.
Once that is taken care of, there may be some problems with the actual appearance of the pies but, at least they will all get rendered.
Bookmarks