DHTML progress bar for glacial rate adding and editing, closes: Bug#1100
[freeside.git] / httemplate / elements / qlib / imagelist.js
1 /**\r
2  * QLIB 1.0 ImageList Resource\r
3  * Copyright (C) 2002 2003, Quazzle.com Serge Dolgov\r
4  * This program is free software; you can redistribute it and/or\r
5  * modify it under the terms of the GNU General Public License\r
6  * as published by the Free Software Foundation; either version 2\r
7  * of the License, or (at your option) any later version.\r
8  * http://qlib.quazzle.com\r
9  */\r
10 \r
11 function QImageList(width, height) {\r
12     var len = QImageList.arguments.length - 2;\r
13     if (len > 0) {\r
14         this.list = new Array(len);\r
15         this.length = len;\r
16         this.width = width;\r
17         this.height = height;\r
18         var im;\r
19         for (var j=0; j<len; j++) {\r
20             im = new Image(width, height);\r
21             im.src = QImageList.arguments[j + 2];\r
22             this.list[j] = im;\r
23         }\r
24     }\r
25 }