FireFox 1.0.3 not working (cannot show grid)
Hello All,
I took one of the very first example and try to put it in my web server for testing (see below). I put this code in a JSP file. This JSP shows up correctly in IE but does not show up in FireFox 1.0.3 (and 1.0, have not tried 1.0.2 and can't seem to find it online anymore).
Can anyone provide some insight on why it does not work on FireFox??
(Note the runtime directory is at the right place because IE has no problem showing the page) Thanks.
I am running on XP.
Grace
<html>
<head>
<title>ActiveWidgets Example</title>
<!-- ActiveWidgets stylesheet and scripts -->
<link href="/sbm/runtime/styles/xp/grid.css" rel="stylesheet" type="text/css" ></link>
<script src="/sbm/runtime/lib/grid.js"></script>
<style>
* {-moz-box-sizing: border-box;}
html { width: 100%; height: 100%; margin: 0px; padding: 0px; overflow: hidden}
body { width: 100%; height: 100%; margin: 0px; padding: 50px; overflow: hidden; font: menu}
.active-controls-grid {border: 1px solid #ccc}
</style>
<script>
window.focus();
</script>
</head>
<body>
<script>
// data source
var myData = [
["text1", 123.45],
["text2", 678.90]
];
// create grid object
var obj = new Active.Controls.Grid;
// set number of columns/rows
obj.setColumnCount(2);
obj.setRowCount(2);
// link to cell text
obj.setDataText(function(i,j){return myData[i][j]});
// write control to the page
document.write(obj);
</script>
</body>
</html>
I took one of the very first example and try to put it in my web server for testing (see below). I put this code in a JSP file. This JSP shows up correctly in IE but does not show up in FireFox 1.0.3 (and 1.0, have not tried 1.0.2 and can't seem to find it online anymore).
Can anyone provide some insight on why it does not work on FireFox??
(Note the runtime directory is at the right place because IE has no problem showing the page) Thanks.
I am running on XP.
Grace
<html>
<head>
<title>ActiveWidgets Example</title>
<!-- ActiveWidgets stylesheet and scripts -->
<link href="/sbm/runtime/styles/xp/grid.css" rel="stylesheet" type="text/css" ></link>
<script src="/sbm/runtime/lib/grid.js"></script>
<style>
* {-moz-box-sizing: border-box;}
html { width: 100%; height: 100%; margin: 0px; padding: 0px; overflow: hidden}
body { width: 100%; height: 100%; margin: 0px; padding: 50px; overflow: hidden; font: menu}
.active-controls-grid {border: 1px solid #ccc}
</style>
<script>
window.focus();
</script>
</head>
<body>
<script>
// data source
var myData = [
["text1", 123.45],
["text2", 678.90]
];
// create grid object
var obj = new Active.Controls.Grid;
// set number of columns/rows
obj.setColumnCount(2);
obj.setRowCount(2);
// link to cell text
obj.setDataText(function(i,j){return myData[i][j]});
// write control to the page
document.write(obj);
</script>
</body>
</html>
Frustrated Grace
April 19,