DynLayers, like other HTML entities, can have a
className attribute set by which CSS may be used to
control style information. However, the getOuterHTML
function does not return the class attribute. This
simple inclusion would allow designers to more easily
control the look of their DynLayers through actual CSS
stylesheets.
Here is an example of how the getOuterHTML function
could include this attribute:
var s='<div id="'+this.id+'" ';
if (this.className) s+='class="'+this.className+'" ';
s += 'style="';
if (this.visible==false) s+=' visibility:hidden;';
...
Logged In: YES
user_id=16618
This however wouldn't work in NS 4.
Logged In: YES
user_id=288889
No, in the NS4 section it would look like this:
var s='\n<layer id="'+this.id+'"';
if (this.className) s+=' class="'+this.className+'"';
if (this.visible==false) s+=' visibility="hide"';
...