:: Forum >> Version 1 >>

Can anyone figure this out???

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");

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

Friday, March 18, 2005
Check out the examples directory in the files you downloaded, some basic mistakes, for instance, the column/count and row/count doesn't have to be specified. There's an exampled called Yahoo IE only (or something), check that out....
Friday, March 18, 2005

This topic is archived.

Back to support forum

Forum search