Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/api
In directory usw-pr-cvs1:/tmp/cvs-serv19367
Modified Files:
dynlayer.js
Log Message:
Moved the initialising of the bgImage and HTML values to the top of the constructor..
This way you can actually specify the bgImage in the constructor call without it being
reset to null :)
Index: dynlayer.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/dynlayer.js,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** dynlayer.js 2001/02/07 18:13:58 1.23
--- dynlayer.js 2001/02/09 15:22:20 1.24
***************
*** 6,9 ****
--- 6,12 ----
*/
function DynLayer() {
+ this.html=null;
+ this.bgImage=null;
+
var a=arguments;
if (a.length==1 && a[0]!=null && typeof(a[0])=="object") this.setStyle(a[0]);
***************
*** 23,28 ****
this.isChild=false;
this.created=false;
- this.html=null;
- this.bgImage=null;
this.elm=null;
--- 26,29 ----
_______________________________________________
Dynapi-CVS mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-cvs