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 |