Bugs item #494452, was opened at 2001-12-17 19:47 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105757&aid=494452&group_id=5757
Category: DynAPI 2 API Group: Feature Request Status: Open Resolution: None Priority: 5 Submitted By: Chris Campbell (quaelin) Assigned to: Nobody/Anonymous (nobody) Summary: className attribute ignored Initial Comment: 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;'; ... ---------------------------------------------------------------------- >Comment By: Chris Campbell (quaelin) Date: 2001-12-18 13:22 Message: 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"'; ... ---------------------------------------------------------------------- Comment By: Robert Rainwater (rainwater) Date: 2001-12-17 20:23 Message: Logged In: YES user_id=16618 This however wouldn't work in NS 4. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105757&aid=494452&group_id=5757 _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/