From: ramesh p. n. <ram...@ya...> - 2003-04-22 12:29:29
|
hi, setting table width="100%" on a dynlayer content doesn't seem to work in ns4. is there a workaround that can be done to achieve this best regardz, ramesh pallikara __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com |
From: Raymond I. <xw...@ya...> - 2003-04-22 12:53:41
|
--- ramesh pallikara nair <ram...@ya...> wrote: > hi, > > setting table width="100%" on a dynlayer content > doesn't seem to work in ns4. > is there a workaround that can be done to achieve > this This is a problem if layers where created without a width. Try setting the width of the layer and see if that works: var t='<table width="100%"><tr><td>NS4 :(</td></tr></table>'; var lyr = new DynLayer(t,10,10,100,100); IMO I think there should be a default width/height for dynlayers. So if the user did new DynLayer() then w,h would be set to 0,0. If the user needs the layer to be set to the size of the content then somthing like DynLayer(null,100,100,'auto','auto') Any feedback? -- Raymond Irving > > best regardz, > ramesh pallikara > > __________________________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo > http://search.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com |
From: Doug M. <do...@cr...> - 2003-04-22 14:57:29
|
You mean other than having aw/h of null before insertion? That would be cool.. Something like: this.x = x||0; this.y = y||0; this.w = w||0; this.h = h||0; ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: <dyn...@li...> Sent: Tuesday, April 22, 2003 8:53 AM Subject: Re: [Dynapi-Dev] 100% table width in ns4 dynlayer > > --- ramesh pallikara nair <ram...@ya...> > wrote: > > hi, > > > > setting table width="100%" on a dynlayer content > > doesn't seem to work in ns4. > > is there a workaround that can be done to achieve > > this > > This is a problem if layers where created without a > width. Try setting the width of the layer and see if > that works: > > var t='<table width="100%"><tr><td>NS4 > :(</td></tr></table>'; > var lyr = new DynLayer(t,10,10,100,100); > > IMO I think there should be a default width/height for > dynlayers. So if the user did new DynLayer() then w,h > would be set to 0,0. If the user needs the layer to be > set to the size of the content then somthing like > DynLayer(null,100,100,'auto','auto') > > Any feedback? > > -- > Raymond Irving > > > > > > best regardz, > > ramesh pallikara > > > > __________________________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo > > http://search.yahoo.com > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo > http://search.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.474 / Virus Database: 272 - Release Date: 4/18/03 |
From: Kevin <ke...@ke...> - 2003-04-22 19:21:06
|
"Raymond Irving" <xw...@ya...> wrote: > > --- ramesh pallikara nair <ram...@ya...> > wrote: > > hi, > > > > setting table width="100%" on a dynlayer content > > doesn't seem to work in ns4. > > is there a workaround that can be done to achieve > > this > > This is a problem if layers where created without a > width. Try setting the width of the layer and see if > that works: > > var t='<table width="100%"><tr><td>NS4 > :(</td></tr></table>'; > var lyr = new DynLayer(t,10,10,100,100); > > IMO I think there should be a default width/height for > dynlayers. So if the user did new DynLayer() then w,h > would be set to 0,0. If the user needs the layer to be > set to the size of the content then somthing like > DynLayer(null,100,100,'auto','auto') I disagree with setting w,h to 0,0. Null, null can be detected for - rather than using the valid values of 0,0. This is useful when assigning w,h values from the rendered element's css. Passing string 'auto' for w,h is fine for telling assignElement to default to the size of the content. This goes for x,y and other constructor defaults. I'm looking at using style classes and relative positioning in NS4/IE4/Moz. - Kevin > Any feedback? > > -- > Raymond Irving > > > > > > best regardz, > > ramesh pallikara > > > > __________________________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo > > http://search.yahoo.com > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > > http://www.mail-archive.com/dyn...@li.../ > > > __________________________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo > http://search.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://www.mail-archive.com/dyn...@li.../ |