D
Dr John Stockton
Page part <URL:http://www.merlyn.demon.co.uk/js-index.htm#BC> works in
IE4 but not in IE6. IE6 says "invalid argument, apparently referring to
the "var Wid" line in the javascript section below.
IIRC, also, before the code is executed, the target area created by
<div ID="BarCht" style="position:relative;
width:360; height:340; background:silver; text-align:center;">
does not appear.
function BarChart3(F, Str) { var J, L, T, A, Min, Max, Sum, Bsw, Bsh
var Wid, Hgt, St = "Chart 3\n", TopM = 20, BotM = 20 // Margins
L = (A = Str.split(",")).length
Wid = Math.round(parseInt(BarCht.style.width) / L)
Suggestions? After pressing the Chart3 button, IE4 gives something
rather like the older <URL:http://www.merlyn.demon.co.uk/barchart.gif>.
IE4 but not in IE6. IE6 says "invalid argument, apparently referring to
the "var Wid" line in the javascript section below.
IIRC, also, before the code is executed, the target area created by
<div ID="BarCht" style="position:relative;
width:360; height:340; background:silver; text-align:center;">
does not appear.
function BarChart3(F, Str) { var J, L, T, A, Min, Max, Sum, Bsw, Bsh
var Wid, Hgt, St = "Chart 3\n", TopM = 20, BotM = 20 // Margins
L = (A = Str.split(",")).length
Wid = Math.round(parseInt(BarCht.style.width) / L)
Suggestions? After pressing the Chart3 button, IE4 gives something
rather like the older <URL:http://www.merlyn.demon.co.uk/barchart.gif>.