From: Kevin <ke...@ke...> - 2003-04-03 20:40:59
|
See my comments below: "Benoit Marchant" <mar...@ma...> wrote: > On Thursday, April 3, 2003, at 10:42 AM, Doug Melvin wrote: > > > A point: if you include style= in an element in netscape, > > netscape has a tendance to crash. > Plus on the Mac, all the layout is screwed up, and that doesn't happens > if you declare a style #name that match the div's ID. NS4 uses <layer id="..."> or <ilayer id="..."> so there is no style="..." I was thinking of adding a class="..." would this work on NS4/Mac? and other browsers use <div id="..." class="..." style="....................." >. I think this works and cascades the style. Using a class for an element in <style>...</style> so is this ok for the browsers dynapi supports? - Kevin > > Using class= and > > Using a class object woul dbe better.. > Using the previous method doesn't require a class. Still, we could use > class as well > > I.E. inserting <Style> style object </style> in the document. > > I don't know if this can be done dynamically, but I sure a hell hope > > so. > I think it is, we should try. I believe that's what dynapi 1 was doing ! > > Benoit > > > ----- Original Message ----- > > From: "Benoit Marchant" <mar...@ma...> > > To: "Kevin" <ke...@ke...> > > Cc: "Dynapi-Dev" <Dyn...@li...> > > Sent: Thursday, April 03, 2003 1:37 PM > > Subject: Re: [Dynapi-Dev] DynLayer style sheet class. > > > > > >> I agree, we need this. The main benefit of having a style object that > >> could be used either as a class or a style from a css point of view, > >> is > >> that it provides a way to change the properties of that style object > >> at > >> anytime, which would then propagate these changes to all dynlayers > >> using it. > >> > >> Benoit > >> > >> On Thursday, April 3, 2003, at 09:38 AM, Kevin wrote: > >> > >>> Hello, > >>> > >>> I've heard Raymond may be doing something in the area of > >>> dynapi style objects? Sorry if I've got the wrong idea. > >>> > >>> Could we have a simple starting point by just passing a class > >>> name to the DynLayer constructor or e.g. lyr.setClass('note'). > >>> > >>> The string 'class="note"' would be inserted in the div/layer/ilayer > >>> tag before the big 'style="..."' string so we can pick up a > >>> prepared style sheet class from a <style>...</style> section. > >>> > >>> - > >>> Kevin > >>> > >>> > >>> > >>> > >>> ------------------------------------------------------- > >>> This SF.net email is sponsored by: ValueWeb: > >>> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > >>> No other company gives more support or power for your dedicated > >>> server > >>> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > >>> _______________________________________________ > >>> Dynapi-Dev mailing list > >>> Dyn...@li... > >>> http://www.mail-archive.com/dyn...@li.../ > >>> > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.net email is sponsored by: ValueWeb: > >> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > >> No other company gives more support or power for your dedicated server > >> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > >> _______________________________________________ > >> Dynapi-Dev mailing list > >> Dyn...@li... > >> http://www.mail-archive.com/dyn...@li.../ > >> > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your dedicated server > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://www.mail-archive.com/dyn...@li.../ > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |