The property css refers to the browsers style object which is only created
when the layer is added. Hence this is supposed to happen. What you are
doing is the way to do it (basically just use the oncreate event).
8an
___
Dynapi-Help mailing list
[EMAI
Attempting to set the css of an object during precreate fails in the latest
release.
I just switched and several widgets fail with "o.css is not an object"
I had to add a separate init function containing all the css statements and
call it after the widget was added to the document.
Is this suppos