> > I know there MUST be a way to do this with a loop in javascript,
> > but I
> > just don't know how. It's probably something easy, but it would
> > really help me.
>
> Here's one alternative:
When creating the elements, you could put them in an array:
$this->Panel_bevels = []
$this->Panel_bevels[0] = new ...
$this->Panel_bevels[1] = new ...
and then iterate over the array:
for (var i = 0; i < this->Panel_bevels.length; i++)
{
$this->Panel_bevels[i]->left = 288;
$this->Panel_bevels[i]->top = 48;
}
Hugh
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel