:: Forum >>

This may be basic, but...

I went throught the tutorial and all but im new to all the javascript and would someone please post some basic code in the forum that i could copy into my web page and just change the simple stuff like the number of cols/rows and the data file (preferable a .txt file) because i just dont seem to be able to get it right this is what i have so far... lol???

<script type="text/javascript"> <--think i messed up here mabye
var table = new Active.Text.Table;
table.setProperty("URL", "example.txt");
table.request();

var obj = new Active.Controls.Grid;
obj.setProperty("column/count", 3);
obj.setProperty("row/count", 10);
obj.setModel("data", table);

document.write(obj);
</script>
Hamy
Friday, March 18, 2005

This topic is archived.


Back to support forum

Forum search