From: Dan W. <da...@wi...> - 2003-04-04 03:28:10
|
On Thu, 2003-04-03 at 20:46, Raymond Irving wrote: > See my comments below: > > --- Kevin <ke...@ke...> wrote: > > How about true and 'cascade'. I was thinking for > > divs: > > <div id="..." class="..." > > style="....................." > or > > <div id="..." style="....................." > > class="..." > > > the second idea above would give useful css cascade. > > I can't think of any use for the first one? > > I think both examples are the same. If you include an > inline style="..." then those values will override the > class values, correct? As far as I understand the specs, yes it does override(but with the cascade) the class values > > > > Can all 4+ browsers take multiple class definitions: > > <layer class="blue_style" class="box_style"></layer> > > Well I think <divs> should support class="blue_style > box_style", but <layers> will only support > class="name" > > > > To give the user greater flexibility we could then > > > allow them to pass the value 'basic' to the > > setClass() > > > function to have the api only generate the left, > > top, > > > width and heigth values for the style object. > > > > Is this just for dynapi's meaning of inline or for > > after > > page load? > > It's for both providing that the classes are > create/loaded before page load. > > > > lyr.setClass('blue_style','basic'); > > > > > > What do you think? > > > > Great. Is this what you have been thinking of > > before, > > or adding more to the inline style="..." attribute. > > No, this was not originally my idea, but it fits in > just fine. I'll have to add more code to the > getOuterHTML() function > > -- > Raymond Irving > > > > - > > Kevin > > > > > -- > > > Raymond Irving > > > > > > > > > --- Kevin <ke...@ke...> 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 > > > > > > > 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.../ > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online, calculators, forms, and more > http://tax.yahoo.com > > > ------------------------------------------------------- > 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.../ -- Dan Willemsen <da...@wi...> |