You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(75) |
Nov
(252) |
Dec
(418) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(659) |
Feb
(1039) |
Mar
(870) |
Apr
(235) |
May
(329) |
Jun
(251) |
Jul
(123) |
Aug
(119) |
Sep
(67) |
Oct
(194) |
Nov
(535) |
Dec
(133) |
| 2002 |
Jan
(122) |
Feb
(24) |
Mar
(29) |
Apr
(28) |
May
(16) |
Jun
(20) |
Jul
(11) |
Aug
(12) |
Sep
(13) |
Oct
(14) |
Nov
(23) |
Dec
(19) |
| 2003 |
Jan
(28) |
Feb
(170) |
Mar
(288) |
Apr
(211) |
May
(126) |
Jun
(166) |
Jul
(131) |
Aug
(102) |
Sep
(211) |
Oct
(301) |
Nov
(22) |
Dec
(6) |
| 2004 |
Jan
(14) |
Feb
(16) |
Mar
(7) |
Apr
|
May
(8) |
Jun
(25) |
Jul
(21) |
Aug
(2) |
Sep
(7) |
Oct
|
Nov
(2) |
Dec
(1) |
| 2005 |
Jan
(4) |
Feb
(2) |
Mar
(14) |
Apr
(24) |
May
(3) |
Jun
(7) |
Jul
(30) |
Aug
(5) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
(1) |
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(4) |
Oct
|
Nov
|
Dec
|
|
From: Benoit M. <mar...@ma...> - 2003-04-04 23:24:12
|
See my comments bellow
On Friday, April 4, 2003, at 02:25 PM, Raymond Irving wrote:
>
> Please see below:
>
> --- Benoit Marchant <mar...@ma...> wrote:
>> I would prefer
>> I prefer the syntax super.setSize(w,h).
>>
>> What about adding
>>
>> DynAPIObject.prototype.overwrite = function(sC,n) {
>> var c = this.frame[sC];
>> var superMethod =
>> c.prototype._superPrototype[n];
>> var capitalized = n.charAt(0).toUpperCase() +
>> n.substring(1,n.length);
>> var superMethodOverridename = 'super'+
>> capitalized;
>> if(superMethod &&
>> !c.prototype[superMethodOverridename]) {
>> c.prototype[superMethodOverridename] =
>> superMethod;
>> }
>> };
>>
>> and in the class you want to overwrite:
>> p.setSize = function(width,height) {
>> this.superSetSize (widt h,height);
>> //Then do your stuff
>> }
>> dynapi.overwrite('EventObject','setSize');//which
>> basically does
>> p.superSetSize = mySuperClass.prototype.setSize
>>
>>
>> that way it's in the same fashin as the
>> setPrototype() ?
>> It's "clean" in the sense that it's important to
>> overrides only the
>> implementation defined is in your super class,
>> guaranteeing a correct
>> overriding if different subclasses overrides the
>> same method multiple
>> time. In javascript, it's easy to directly get the
>> implementation of
>> an of your ascendant, and bypass some !
>>
>
> Looks good. One question though... How would this
> work with multiple overrides?
>
> example:
>
> function MyClass1(){}
> var p= dynapi.setPrototype('MyClass1','DynLayer');
> dynapi.overwrite('MyClass1','setSize');
> p.setSize=function(w,h){
> this.superSetSize(w,h);
> // code here
> };
>
> function MyClass2(){}
> var p= dynapi.setPrototype('MyClass2','MyClass1');
> dynapi.overwrite('MyClass2','setSize');
> p.setSize=function(w,h){
> this.superSetSize(w,h);
> // will the above superSetSize be DynLayer's or
> MyClass1 setSize function?
The above will call MyClass1.prototype.setSize
> // If it's MyClass1 then how will the MyClass1 code
> access DynLayer's setSize()?
Because the overwrite method creates MyClass1.prototype.superSetSize =
DynLayer .prototype.superSetSize
>
> // code here
> };
>
> Also, how will it work with multiple extensions?
>
It doesn't ! There's the exact same problem with categories in
Objective-C. If you define the same method (even for new method that
didn't exists) on a class in 2 different source files, depending on the
loading mechanism, either the first or the last would win.
There's no way to determine an order between the multiple definitions,
and even if there were an order, at best you want to control which one
wins, but defining any combining of the different implementations looks
risky to me.
So bottom line we should decide which one wins, and stick with that.
In the implementation I did, the first one win as I check if the
superSetSize exists, and if it does, then subsequent use overwrite
would have no effects.
If we don't check, then the last call win. I guess, if you provide a
extension it would be called after and you would expect it to win.
This overwrite use is meant for overriding method in subclasses. Now if
you want to re define setSize on DynLayer with your custom
implementation, and then have all subclasses that inherit from DynLayer
and override setSize to use your new implementation, you really have to
assign DynLayer.prototype.setSize = myNewSetSize
And all should be as expected. But that usage could be described as a
"hack". The same can be done in the Objective-C run-time, but I've only
done it once. This usage should be pretty rare, and therefore you can
do it manually I think.
Make sense ?
Benoit
> example:
>
> // extension library #1
> dynapi.overwrite('DynLayer','setSize');
> DynLayer.prototype.setSize=function(w,h){
> this.superSetSize(w,h);
> // code here
> };
>
> // extension library #2 - loaded after extension #1
> dynapi.overwrite('DynLayer','setSize');
> DynLayer.prototype.setSize=function(w,h){
> this.superSetSize(w,h);
> // code here
> };
>
> When setSize id called will it execute code in the
> following order?
>
> object -> extension #2 setSize() -> extension #1
> setSize() - DynLayer's orginal setSize()
>
>>> Is the term "subclass" correct or should we term
>> it as
>>> "overwrite"?
>> We should use overwrite, it's the appropriate term
>> in OO terminology
>> when a subclass modify an inherited method.
>
> Thanks
>
> --
> Raymond Irving
>
>>
>> Benoit
>>
>>>
>>> Any comments?
>>>
>>> --
>>> Raymond Irving
>>>
>>> __________________________________________________
>>> 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.../
>>>
>>
>
>
> __________________________________________________
> 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.../
>
|
|
From: Raymond I. <xw...@ya...> - 2003-04-04 22:25:32
|
Please see below:
--- Benoit Marchant <mar...@ma...> wrote:
> I would prefer
> I prefer the syntax super.setSize(w,h).
>
> What about adding
>
> DynAPIObject.prototype.overwrite = function(sC,n) {
> var c = this.frame[sC];
> var superMethod =
> c.prototype._superPrototype[n];
> var capitalized = n.charAt(0).toUpperCase() +
> n.substring(1,n.length);
> var superMethodOverridename = 'super'+
> capitalized;
> if(superMethod &&
> !c.prototype[superMethodOverridename]) {
> c.prototype[superMethodOverridename] =
> superMethod;
> }
> };
>
> and in the class you want to overwrite:
> p.setSize = function(width,height) {
> this.superSetSize (widt h,height);
> //Then do your stuff
> }
> dynapi.overwrite('EventObject','setSize');//which
> basically does
> p.superSetSize = mySuperClass.prototype.setSize
>
>
> that way it's in the same fashin as the
> setPrototype() ?
> It's "clean" in the sense that it's important to
> overrides only the
> implementation defined is in your super class,
> guaranteeing a correct
> overriding if different subclasses overrides the
> same method multiple
> time. In javascript, it's easy to directly get the
> implementation of
> an of your ascendant, and bypass some !
>
Looks good. One question though... How would this
work with multiple overrides?
example:
function MyClass1(){}
var p= dynapi.setPrototype('MyClass1','DynLayer');
dynapi.overwrite('MyClass1','setSize');
p.setSize=function(w,h){
this.superSetSize(w,h);
// code here
};
function MyClass2(){}
var p= dynapi.setPrototype('MyClass2','MyClass1');
dynapi.overwrite('MyClass2','setSize');
p.setSize=function(w,h){
this.superSetSize(w,h);
// will the above superSetSize be DynLayer's or
MyClass1 setSize function?
// If it's MyClass1 then how will the MyClass1 code
access DynLayer's setSize()?
// code here
};
Also, how will it work with multiple extensions?
example:
// extension library #1
dynapi.overwrite('DynLayer','setSize');
DynLayer.prototype.setSize=function(w,h){
this.superSetSize(w,h);
// code here
};
// extension library #2 - loaded after extension #1
dynapi.overwrite('DynLayer','setSize');
DynLayer.prototype.setSize=function(w,h){
this.superSetSize(w,h);
// code here
};
When setSize id called will it execute code in the
following order?
object -> extension #2 setSize() -> extension #1
setSize() - DynLayer's orginal setSize()
> > Is the term "subclass" correct or should we term
> it as
> > "overwrite"?
> We should use overwrite, it's the appropriate term
> in OO terminology
> when a subclass modify an inherited method.
Thanks
--
Raymond Irving
>
> Benoit
>
> >
> > Any comments?
> >
> > --
> > Raymond Irving
> >
> > __________________________________________________
> > 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.../
> >
>
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
|
|
From: Benoit M. <mar...@ma...> - 2003-04-04 20:52:24
|
This is a very good idea. See bellow my feedback
On Friday, April 4, 2003, at 07:03 AM, Raymond Irving wrote:
> Hi,
>
>
> I've been thinking about creating an easier way to
> subclass/overwrite methods:
>
> DynObject.prototype.subclass = function(n,fn){
> if(!this._sbCls) this._sbCls=1;
> var om = '_sbMethod'+(this._sbCls++); // old method
>
> eval('fn='+(fn+'').replace(/\~subclass\(/g,'this.'+om+'('));
> this[om]=this[n];
> this[n]=fn;
> };
>
> Usage:
>
>
> MyWidget.prototype.subclass('setSize',function(w,h){
> ~subclass(w,h); // call old setSize method;
> // some code here
> });
>
> The above would subclass setSize() with the new
> function. The ~subclass() function will allow you to
> call the old/orginal setSize() function
I would prefer
I prefer the syntax super.setSize(w,h).
What about adding
DynAPIObject.prototype.overwrite = function(sC,n) {
var c = this.frame[sC];
var superMethod = c.prototype._superPrototype[n];
var capitalized = n.charAt(0).toUpperCase() +
n.substring(1,n.length);
var superMethodOverridename = 'super'+ capitalized;
if(superMethod && !c.prototype[superMethodOverridename]) {
c.prototype[superMethodOverridename] = superMethod;
}
};
and in the class you want to overwrite:
p.setSize = function(width,height) {
this.superSetSize (widt h,height);
//Then do your stuff
}
dynapi.overwrite('EventObject','setSize');//which basically does
p.superSetSize = mySuperClass.prototype.setSize
that way it's in the same fashin as the setPrototype() ?
It's "clean" in the sense that it's important to overrides only the
implementation defined is in your super class, guaranteeing a correct
overriding if different subclasses overrides the same method multiple
time. In javascript, it's easy to directly get the implementation of
an of your ascendant, and bypass some !
Benoit
>
> It's similar to:
>
> MyWidget.prototype._oldSetSize =
> DynLayer.prototype.setSize;
> MyWidget.prototype.setSize =
> function('setSize',function(w,h){
> this.oldSetSize(w,h); // call old setSize method;
> // some code here
> });
>
>
> Is the term "subclass" correct or should we term it as
> "overwrite"?
We should use overwrite, it's the appropriate term in OO terminology
when a subclass modify an inherited method.
Benoit
>
> Any comments?
>
> --
> Raymond Irving
>
> __________________________________________________
> 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.../
>
|
|
From: Raymond I. <xw...@ya...> - 2003-04-04 15:03:56
|
Hi,
I've been thinking about creating an easier way to
subclass/overwrite methods:
DynObject.prototype.subclass = function(n,fn){
if(!this._sbCls) this._sbCls=1;
var om = '_sbMethod'+(this._sbCls++); // old method
eval('fn='+(fn+'').replace(/\~subclass\(/g,'this.'+om+'('));
this[om]=this[n];
this[n]=fn;
};
Usage:
MyWidget.prototype.subclass('setSize',function(w,h){
~subclass(w,h); // call old setSize method;
// some code here
});
The above would subclass setSize() with the new
function. The ~subclass() function will allow you to
call the old/orginal setSize() function
It's similar to:
MyWidget.prototype._oldSetSize =
DynLayer.prototype.setSize;
MyWidget.prototype.setSize =
function('setSize',function(w,h){
this.oldSetSize(w,h); // call old setSize method;
// some code here
});
Is the term "subclass" correct or should we term it as
"overwrite"?
Any comments?
--
Raymond Irving
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
|
|
From: Dan W. <da...@wi...> - 2003-04-04 12:01:04
|
On Fri, 2003-04-04 at 00:29, Raymond Irving wrote: > Hi, > > The attached file contains the fix for this problem. > > I can't see why we can't do a elm.src='about:blank' > with ns4. Does ns4 have cross-domain scripting > security enabled? I believe it does, at least with some configurations, I'm not sure about the default. Even Mozilla/NN^+ restrict you from even linking to one of the about:... pages, though i think it allows about:blank. > > PS. These change are _not_ yet in cvs. > > -- > Raymond Irving > > --- Kevin <ke...@ke...> wrote: > > > > Re: Using datasource on NS4 Windows. > > > > "Raymond Irving" <xw...@ya...> wrote: > > > > > > Is this on mac or windows? > > > > > > -- > > > Raymond Irving > > > > > > --- Kevin <ke...@ke...> wrote: > > > > Hello everyone, > > > > > > > > Using the basic datasource example: > > > > dynapi.util.datasource.html > > > > i.e no soda or sync I get the following alert > > error > > > > on connecting > > > > to the datasource "Alert! did not find a > > converter > > > > or decoder." I > > > > am a bit puzzled as the message doesn't seen to > > come > > > > from the > > > > dynapi3x. It shouldn't be Java related as soda > > and > > > > sync aren't > > > > needed for the HTTP get. Any help would be > > > > appreciated. > > > > > > > > - > > > > 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.../ > > > > > > > > > __________________________________________________ > > > 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.../ > > > > > > > > > ------------------------------------------------------- > > 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 -- Dan Willemsen <da...@wi...> |
|
From: Raymond I. <xw...@ya...> - 2003-04-04 06:29:44
|
Hi, The attached file contains the fix for this problem. I can't see why we can't do a elm.src='about:blank' with ns4. Does ns4 have cross-domain scripting security enabled? PS. These change are _not_ yet in cvs. -- Raymond Irving --- Kevin <ke...@ke...> wrote: > > Re: Using datasource on NS4 Windows. > > "Raymond Irving" <xw...@ya...> wrote: > > > > Is this on mac or windows? > > > > -- > > Raymond Irving > > > > --- Kevin <ke...@ke...> wrote: > > > Hello everyone, > > > > > > Using the basic datasource example: > > > dynapi.util.datasource.html > > > i.e no soda or sync I get the following alert > error > > > on connecting > > > to the datasource "Alert! did not find a > converter > > > or decoder." I > > > am a bit puzzled as the message doesn't seen to > come > > > from the > > > dynapi3x. It shouldn't be Java related as soda > and > > > sync aren't > > > needed for the HTTP get. Any help would be > > > appreciated. > > > > > > - > > > 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.../ > > > > > > __________________________________________________ > > 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.../ > > > > ------------------------------------------------------- > 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 |
|
From: Raymond I. <xw...@ya...> - 2003-04-04 05:26:12
|
--- Doug Melvin <do...@cr...> wrote: > Before we go and implement this in the DynLayer_*.js > files.. > has anyone done a serious performance test? > I am talking about 100+layers each with multiply > nested children. > I just want to ensure that we are not shooting > ourselves in the foot is > all.. > So far DynAPI 3x is indeed faster to load, and has a > noticbly smaller > footprint.. > I don't want to mess with that or we are loosing > what to me is one the main > benifits to the > re-worked library. > > Just my 2.5 cents(cdn) worth. I agree. We should be careful with performance and library size. I don't see a performamce hit with this code as the setClass() function should offer performance gains for DynLayers that are partly created using style sheets. As for code size it might add another 100-200 bytes, but that shouldn't be much of a problem as the bin/dcompiler.html can be used to greatly reduce the size of the library files. -- Raymond Irving > ------------------------------------------------------- > 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 |
|
From: Doug M. <do...@cr...> - 2003-04-04 03:50:46
|
Before we go and implement this in the DynLayer_*.js files.. has anyone done a serious performance test? I am talking about 100+layers each with multiply nested children. I just want to ensure that we are not shooting ourselves in the foot is all.. So far DynAPI 3x is indeed faster to load, and has a noticbly smaller footprint.. I don't want to mess with that or we are loosing what to me is one the main benifits to the re-worked library. Just my 2.5 cents(cdn) worth. |
|
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...>
|
|
From: Dan W. <da...@wi...> - 2003-04-04 03:26:53
|
On Thu, 2003-04-03 at 21:01, Raymond Irving wrote:
> --- Benoit Marchant <mar...@ma...> wrote:
> > > lyr.setClass('',true) should do the trick.
> >
> > I would rather pass the layer's id. So if you pass
> > the layer's ID as
> > the style name, then you don't have to add class=""
> > in the div tag to
> > get it applied, and in that case noInlineStyle is
> > implicitely true. Now
> > if the name passed is different from the id, then
> > it would mean
> > generate a class="name".
> >
> > So in a case where you want both to not use inline
> > style and a class,
> > you would have to call it twice:
> > lyr.setClass(lyr.id); //Tell not to generate inline
> > style
> > lyr.setClass('blueBg'); //Make it generate
> > class=blueBg
> >
> > Does it make a second argument unnecessary ?
>
> Whether you call setClass() or not, the style name
> that matches the layer's id will render the layer
> according to the style values.
>
> To prevent the generation of inline styles the user
> could then do the following:
>
> lyr.setClass(null,true); // ignore inline style
> // ignoring inline styles should not be the default
> option
>
> If the user wants to use an additional styles, then
> he/she could do the follow:
>
> lyr.setClass('blue_style',true);
>
> Because the style name of the style object is the same
> as that of lyr.id we don't need to call
> setClass(lyr.id)
>
> Question:
> -------------
> Should we make setClass() a function of the
> dynlayer_base.js file? Or should we make it into an
> extension?
I vote for it in dynlayer_base.js
>
>
> --
> Raymond Irving
>
>
>
> > Benoit
> >
> > >
> > >> Now should
> > >> we on top of that be able to generate something
> > like
> > >> <DIV ID=myLayer
> > >> style="AStyle"></DIV>, probably,and of course be
> > >> able to set a class=""
> > >> As three options are valid ways of doing it, I
> > think
> > >> we should handled
> > >> them.
> > >
> > > So, you agree to setClass(name,noInlineStyle)?
> > >
> > > --
> > > Raymond Irving
> > >
> > >> Benoit
> > >>
> > >> On Thursday, April 3, 2003, at 02:57 PM, Raymond
> > >> Irving wrote:
> > >>
> > >>> Sounds ok to me, but how about the following:
> > >>>
> > >>> lyr.setClass(name,noPreStyle);
> > >>>
> > >>> When noPreStyle is set to true the api will
> > >> completely
> > >>> remove the style="..." string from <divs> and
> > will
> > >>> ignore bgcolor, width, height, left, top, etc
> > for
> > >>> <layers> and <ilayers>. The end result is that
> > >> layers
> > >>> will be created much faster.
> > >>>
> > >>> lyr.setClass('blue_style,box_style',true);
> > >>>
> > >>> This would require the user to specify all the
> > >> values
> > >>> (e.g. left,top width,etc) of the layer inside
> > the
> > >> css
> > >>> class.
> > >>>
> > >>> 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.
> > >>>
> > >>> lyr.setClass('blue_style','basic');
> > >>>
> > >>> What do you think?
> > >>>
> > >>> --
> > >>> 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
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>
> > >>
> > >
> >
> -------------------------------------------------------
> > >>>> 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/
> > >>> _______________________________________________
> >
> === message truncated ===
>
>
> __________________________________________________
> 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...>
|
|
From: Raymond I. <xw...@ya...> - 2003-04-04 03:01:29
|
--- Benoit Marchant <mar...@ma...> wrote:
> > lyr.setClass('',true) should do the trick.
>
> I would rather pass the layer's id. So if you pass
> the layer's ID as
> the style name, then you don't have to add class=""
> in the div tag to
> get it applied, and in that case noInlineStyle is
> implicitely true. Now
> if the name passed is different from the id, then
> it would mean
> generate a class="name".
>
> So in a case where you want both to not use inline
> style and a class,
> you would have to call it twice:
> lyr.setClass(lyr.id); //Tell not to generate inline
> style
> lyr.setClass('blueBg'); //Make it generate
> class=blueBg
>
> Does it make a second argument unnecessary ?
Whether you call setClass() or not, the style name
that matches the layer's id will render the layer
according to the style values.
To prevent the generation of inline styles the user
could then do the following:
lyr.setClass(null,true); // ignore inline style
// ignoring inline styles should not be the default
option
If the user wants to use an additional styles, then
he/she could do the follow:
lyr.setClass('blue_style',true);
Because the style name of the style object is the same
as that of lyr.id we don't need to call
setClass(lyr.id)
Question:
-------------
Should we make setClass() a function of the
dynlayer_base.js file? Or should we make it into an
extension?
--
Raymond Irving
> Benoit
>
> >
> >> Now should
> >> we on top of that be able to generate something
> like
> >> <DIV ID=myLayer
> >> style="AStyle"></DIV>, probably,and of course be
> >> able to set a class=""
> >> As three options are valid ways of doing it, I
> think
> >> we should handled
> >> them.
> >
> > So, you agree to setClass(name,noInlineStyle)?
> >
> > --
> > Raymond Irving
> >
> >> Benoit
> >>
> >> On Thursday, April 3, 2003, at 02:57 PM, Raymond
> >> Irving wrote:
> >>
> >>> Sounds ok to me, but how about the following:
> >>>
> >>> lyr.setClass(name,noPreStyle);
> >>>
> >>> When noPreStyle is set to true the api will
> >> completely
> >>> remove the style="..." string from <divs> and
> will
> >>> ignore bgcolor, width, height, left, top, etc
> for
> >>> <layers> and <ilayers>. The end result is that
> >> layers
> >>> will be created much faster.
> >>>
> >>> lyr.setClass('blue_style,box_style',true);
> >>>
> >>> This would require the user to specify all the
> >> values
> >>> (e.g. left,top width,etc) of the layer inside
> the
> >> css
> >>> class.
> >>>
> >>> 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.
> >>>
> >>> lyr.setClass('blue_style','basic');
> >>>
> >>> What do you think?
> >>>
> >>> --
> >>> 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
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>
> >
>
-------------------------------------------------------
> >>>> 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/
> >>> _______________________________________________
>
=== message truncated ===
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
|
|
From: Raymond I. <xw...@ya...> - 2003-04-04 02:46:37
|
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?
> 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
|
|
From: Dan W. <da...@wi...> - 2003-04-04 00:05:16
|
On Thu, 2003-04-03 at 10:26, Kevin wrote: > See comments below. > > "Benoit Marchant" <mar...@ma...> wrote: > > Hi > > > > I have a case where I have a onload on <IMG tag that call a setSize on > > a dynlayer. This avoid me to calculate the size of the image server > > side. As I'm trying to move this to use inline layers, when that <IMG > > loads, the onload does > > DynObject.all.myLayer.setSize(this.width,this.height), which means that > > the dynlayer object needs to exist to receive that call. Right now, I > > can have all the dynlayers creation code in the head. Does anyone see > > an issue with this ? > > If I understand, you are generating <IMG src="..."> tags with no width / > height attributes. If this is so, when the browser renders the page it has > to wait for the whole image to download to work out the inflow / inline > positioning of elements. If there are many images like this then I think > the user may see some local browser / PC performance problems. I haven't ever noticed any performance issues, usually the inline content just jumps around. > - > Kevin. > > > They will still be added as child of the document in the onload. > > > > Thanks, > > > > Benoit > > > > > > > > ------------------------------------------------------- > > 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.../ -- Dan Willemsen <da...@wi...> |
|
From: Benoit M. <mar...@ma...> - 2003-04-04 00:02:56
|
See bellow
On Thursday, April 3, 2003, at 03:33 PM, Raymond Irving wrote:
>
> --- Benoit Marchant <mar...@ma...> wrote:
>> Hi
>>
>> In a test I've been doing, I used not a class="",
>> but I declare a style
>> in a <style></style> for each of the layers using
>> their ID
>> like
>>
>> <style>
>> #layer1 {position:absolute; width: ....}
>> .blueBg {background-color:blue;}
>> </style>
>>
>> and <div id= layer1> Some html </div>
>>
>> As far as I understand it class is meant to control
>> the style of
>> multiple objects. So for example, if you wanted a
>> set of layers to all
>> have a blue background, you would add class=blueBg
>>
>> So both are different. I think we need a way to tell
>> dynlayers not to
>> generate an inline style, when one would exists for
>> it's ID.
>
> lyr.setClass('',true) should do the trick.
I would rather pass the layer's id. So if you pass the layer's ID as
the style name, then you don't have to add class="" in the div tag to
get it applied, and in that case noInlineStyle is implicitely true. Now
if the name passed is different from the id, then it would mean
generate a class="name".
So in a case where you want both to not use inline style and a class,
you would have to call it twice:
lyr.setClass(lyr.id); //Tell not to generate inline style
lyr.setClass('blueBg'); //Make it generate class=blueBg
Does it make a second argument unnecessary ?
Benoit
>
>> Now should
>> we on top of that be able to generate something like
>> <DIV ID=myLayer
>> style="AStyle"></DIV>, probably,and of course be
>> able to set a class=""
>> As three options are valid ways of doing it, I think
>> we should handled
>> them.
>
> So, you agree to setClass(name,noInlineStyle)?
>
> --
> Raymond Irving
>
>> Benoit
>>
>> On Thursday, April 3, 2003, at 02:57 PM, Raymond
>> Irving wrote:
>>
>>> Sounds ok to me, but how about the following:
>>>
>>> lyr.setClass(name,noPreStyle);
>>>
>>> When noPreStyle is set to true the api will
>> completely
>>> remove the style="..." string from <divs> and will
>>> ignore bgcolor, width, height, left, top, etc for
>>> <layers> and <ilayers>. The end result is that
>> layers
>>> will be created much faster.
>>>
>>> lyr.setClass('blue_style,box_style',true);
>>>
>>> This would require the user to specify all the
>> values
>>> (e.g. left,top width,etc) of the layer inside the
>> css
>>> class.
>>>
>>> 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.
>>>
>>> lyr.setClass('blue_style','basic');
>>>
>>> What do you think?
>>>
>>> --
>>> 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
> -------------------------------------------------------
>>>> 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.../
>>>
>>
>>
>>
>>
> -------------------------------------------------------
>> 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.../
>
|
|
From: Dan W. <da...@wi...> - 2003-04-04 00:02:40
|
See below
On Thu, 2003-04-03 at 17:36, Kevin wrote:
> See my comments below:
>
> "Raymond Irving" <xw...@ya...> wrote:
> > Sounds ok to me, but how about the following:
> >
> > lyr.setClass(name,noPreStyle);
> >
> > When noPreStyle is set to true the api will completely
> > remove the style="..." string from <divs> and will
> > ignore bgcolor, width, height, left, top, etc for
> > <layers> and <ilayers>. The end result is that layers
> > will be created much faster.
>
> 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?
>
> > lyr.setClass('blue_style,box_style',true);
> >
> > This would require the user to specify all the values
> > (e.g. left,top width,etc) of the layer inside the css
> > class.
>
> Can all 4+ browsers take multiple class definitions:
> <layer class="blue_style" class="box_style"></layer>
Well, first of all, the way you would define it would be
<[layer/div/etc.] class="blue_style box_style"></[layer/div/etc.]>
I'm not sure about browser support though, i just looked at a few
messages from the css mailing list i'm subscribed to(
http://www.css-discuss.org/ ), and it appears that netscape 4 totally
chokes on it, rendering neither the blue_style nor the box_style.
>
> > 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?
>
> > 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.
>
> -
> 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.../
--
Dan Willemsen <da...@wi...>
|
|
From: Kevin <ke...@ke...> - 2003-04-03 23:50:56
|
See my comments below:
"Benoit Marchant" <mar...@ma...> wrote:
> Hi
>
> In a test I've been doing, I used not a class="", but I declare a style
> in a <style></style> for each of the layers using their ID
> like
>
> <style>
> #layer1 {position:absolute; width: ....}
> .blueBg {background-color:blue;}
> </style>
>
> and <div id= layer1> Some html </div>
>
> As far as I understand it class is meant to control the style of
> multiple objects. So for example, if you wanted a set of layers to all
> have a blue background, you would add class=blueBg
Yes but the css would cascade from the object to the class definition.
So class background-color would override object background-color.
-
Kevin
> So both are different. I think we need a way to tell dynlayers not to
> generate an inline style, when one would exists for it's ID. Now should
> we on top of that be able to generate something like <DIV ID=myLayer
> style="AStyle"></DIV>, probably,and of course be able to set a class=""
> As three options are valid ways of doing it, I think we should handled
> them.
>
> Benoit
>
> On Thursday, April 3, 2003, at 02:57 PM, Raymond Irving wrote:
>
> > Sounds ok to me, but how about the following:
> >
> > lyr.setClass(name,noPreStyle);
> >
> > When noPreStyle is set to true the api will completely
> > remove the style="..." string from <divs> and will
> > ignore bgcolor, width, height, left, top, etc for
> > <layers> and <ilayers>. The end result is that layers
> > will be created much faster.
> >
> > lyr.setClass('blue_style,box_style',true);
> >
> > This would require the user to specify all the values
> > (e.g. left,top width,etc) of the layer inside the css
> > class.
> >
> > 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.
> >
> > lyr.setClass('blue_style','basic');
> >
> > What do you think?
> >
> > --
> > 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.../
|
|
From: Kevin <ke...@ke...> - 2003-04-03 23:35:35
|
See my comments below:
"Raymond Irving" <xw...@ya...> wrote:
> Sounds ok to me, but how about the following:
>
> lyr.setClass(name,noPreStyle);
>
> When noPreStyle is set to true the api will completely
> remove the style="..." string from <divs> and will
> ignore bgcolor, width, height, left, top, etc for
> <layers> and <ilayers>. The end result is that layers
> will be created much faster.
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?
> lyr.setClass('blue_style,box_style',true);
>
> This would require the user to specify all the values
> (e.g. left,top width,etc) of the layer inside the css
> class.
Can all 4+ browsers take multiple class definitions:
<layer class="blue_style" class="box_style"></layer>
> 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?
> 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.
-
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.../
|
|
From: Raymond I. <xw...@ya...> - 2003-04-03 23:33:40
|
--- Benoit Marchant <mar...@ma...> wrote:
> Hi
>
> In a test I've been doing, I used not a class="",
> but I declare a style
> in a <style></style> for each of the layers using
> their ID
> like
>
> <style>
> #layer1 {position:absolute; width: ....}
> .blueBg {background-color:blue;}
> </style>
>
> and <div id= layer1> Some html </div>
>
> As far as I understand it class is meant to control
> the style of
> multiple objects. So for example, if you wanted a
> set of layers to all
> have a blue background, you would add class=blueBg
>
> So both are different. I think we need a way to tell
> dynlayers not to
> generate an inline style, when one would exists for
> it's ID.
lyr.setClass('',true) should do the trick.
>Now should
> we on top of that be able to generate something like
> <DIV ID=myLayer
> style="AStyle"></DIV>, probably,and of course be
> able to set a class=""
> As three options are valid ways of doing it, I think
> we should handled
> them.
So, you agree to setClass(name,noInlineStyle)?
--
Raymond Irving
> Benoit
>
> On Thursday, April 3, 2003, at 02:57 PM, Raymond
> Irving wrote:
>
> > Sounds ok to me, but how about the following:
> >
> > lyr.setClass(name,noPreStyle);
> >
> > When noPreStyle is set to true the api will
> completely
> > remove the style="..." string from <divs> and will
> > ignore bgcolor, width, height, left, top, etc for
> > <layers> and <ilayers>. The end result is that
> layers
> > will be created much faster.
> >
> > lyr.setClass('blue_style,box_style',true);
> >
> > This would require the user to specify all the
> values
> > (e.g. left,top width,etc) of the layer inside the
> css
> > class.
> >
> > 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.
> >
> > lyr.setClass('blue_style','basic');
> >
> > What do you think?
> >
> > --
> > 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
> >>
> >>
> >>
> >>
> >>
> >
>
-------------------------------------------------------
> >> 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.../
> >
>
>
>
>
-------------------------------------------------------
> 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
|
|
From: Benoit M. <mar...@ma...> - 2003-04-03 23:18:48
|
Hi
In a test I've been doing, I used not a class="", but I declare a style
in a <style></style> for each of the layers using their ID
like
<style>
#layer1 {position:absolute; width: ....}
.blueBg {background-color:blue;}
</style>
and <div id= layer1> Some html </div>
As far as I understand it class is meant to control the style of
multiple objects. So for example, if you wanted a set of layers to all
have a blue background, you would add class=blueBg
So both are different. I think we need a way to tell dynlayers not to
generate an inline style, when one would exists for it's ID. Now should
we on top of that be able to generate something like <DIV ID=myLayer
style="AStyle"></DIV>, probably,and of course be able to set a class=""
As three options are valid ways of doing it, I think we should handled
them.
Benoit
On Thursday, April 3, 2003, at 02:57 PM, Raymond Irving wrote:
> Sounds ok to me, but how about the following:
>
> lyr.setClass(name,noPreStyle);
>
> When noPreStyle is set to true the api will completely
> remove the style="..." string from <divs> and will
> ignore bgcolor, width, height, left, top, etc for
> <layers> and <ilayers>. The end result is that layers
> will be created much faster.
>
> lyr.setClass('blue_style,box_style',true);
>
> This would require the user to specify all the values
> (e.g. left,top width,etc) of the layer inside the css
> class.
>
> 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.
>
> lyr.setClass('blue_style','basic');
>
> What do you think?
>
> --
> 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
>>
>>
>>
>>
>>
> -------------------------------------------------------
>> 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.../
>
|
|
From: Kevin <ke...@ke...> - 2003-04-03 23:00:39
|
Re: Using datasource on NS4 Windows. "Raymond Irving" <xw...@ya...> wrote: > > Is this on mac or windows? > > -- > Raymond Irving > > --- Kevin <ke...@ke...> wrote: > > Hello everyone, > > > > Using the basic datasource example: > > dynapi.util.datasource.html > > i.e no soda or sync I get the following alert error > > on connecting > > to the datasource "Alert! did not find a converter > > or decoder." I > > am a bit puzzled as the message doesn't seen to come > > from the > > dynapi3x. It shouldn't be Java related as soda and > > sync aren't > > needed for the HTTP get. Any help would be > > appreciated. > > > > - > > 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.../ > > > __________________________________________________ > 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.../ |
|
From: Raymond I. <xw...@ya...> - 2003-04-03 22:57:13
|
Sounds ok to me, but how about the following:
lyr.setClass(name,noPreStyle);
When noPreStyle is set to true the api will completely
remove the style="..." string from <divs> and will
ignore bgcolor, width, height, left, top, etc for
<layers> and <ilayers>. The end result is that layers
will be created much faster.
lyr.setClass('blue_style,box_style',true);
This would require the user to specify all the values
(e.g. left,top width,etc) of the layer inside the css
class.
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.
lyr.setClass('blue_style','basic');
What do you think?
--
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
>
>
>
>
>
-------------------------------------------------------
> 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
|
|
From: Raymond I. <xw...@ya...> - 2003-04-03 22:34:05
|
Is this on mac or windows? -- Raymond Irving --- Kevin <ke...@ke...> wrote: > Hello everyone, > > Using the basic datasource example: > dynapi.util.datasource.html > i.e no soda or sync I get the following alert error > on connecting > to the datasource "Alert! did not find a converter > or decoder." I > am a bit puzzled as the message doesn't seen to come > from the > dynapi3x. It shouldn't be Java related as soda and > sync aren't > needed for the HTTP get. Any help would be > appreciated. > > - > 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.../ __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |
|
From: Raymond I. <xw...@ya...> - 2003-04-03 22:33:21
|
--- Kevin <ke...@ke...> wrote: > > "Raymond Irving" <xw...@ya...> wrote: > > > Many thanks for the feedback. I've implemented the > > <ilayer> tag as suggested and it worked great. > > I saw the <ilayer> idea in dynapi2. Though I'm not > sure if it's 'inflow' code worked. > > > Please see the attached file for the updates to > > dynlayer_ns4.js > > I've found that all children get an <ilayer> tag > too. > Can we specify 'relative' as below: > > -if(this._psition!='absolute') tag='ilayer'; > +if(this._position!='relative') tag='ilayer'; This has been fixed. I upload it to cvs real soon. -- Raymond Irving > - > Kevin > > > -- > > Raymond Irving > > > > > > > ------------------------------------------------------- > 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 |
|
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.../
|
|
From: Benoit M. <mar...@ma...> - 2003-04-03 19:59:14
|
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.
> 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.../
>
|