Re: [WebDNA] Bullet proof dynamic tables

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103785
interpreted = N
texte = Here is something to get you started 4 rows of 4 columns, the 4th row only has 1 cell
[Loop start=1&end=13]
[index]
[showif [index]\4]
[/showif] [/Loop]
And the same in a search function [Search db=matrix.db&neSKUdatarq=GetAll]
[FoundItems]
[index]
[showif [index]\4]
[/showif] [/FoundItems]
[/Search] Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 16/10/2009, at 11:30 AM, Stuart Tremain wrote: > Yes, thanks Dan, a far easier way. I will post some code shortly for > others to see/use. > > > Regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > On 16/10/2009, at 4:42 AM, Dan Strong wrote: > >> Is using CSS not a preferable option? This calendar is all CSS: >> http://www.stripwalker.com/calendar.html >> >> -Dan Strong >> http://www.DanStrong.com >> >> Terry Wilson wrote: >>> I go along with this too, and use a clear pixel so much that every >>> site I do has one in the images folder. I've never done this, but >>> you can dynamically assign the clear pixel's width, I suppose. I >>> have on occasion dynamically assigned the value of colspan when >>> the # of columns is variable. >>> Terry >>>> bullet proof way is to use a hidden pixel in a cell at top or >>>> bottom - the old transdot.gif >>>> >>>> >>>> Although most modern browsers play ball when you specify with >>>> inline styles the width >>>> >>>> ie >>>> >>>> af >>>> asdfdsa >>>> >>>> rather than >>>> >>>> af >>>> adfsadf >>>> >>>> which some browsers tend to ignore (IE mainly) >>>> >>>> >>>> TC >>>> >>>> On 15 Oct 2009, at 10:17, Stuart Tremain wrote: >>>> >>>>> After many years of dynamic tables suddenly I have a site full >>>>> of them and many very intricate. >>>>> >>>>> Does anyone have some code that builds them and forces X TD wide >>>>> when there is only X-2 cells of data etc ?? >>>>> >>>>> Regards >>>>> >>>>> Stuart Tremain >>>>> IDFK Web Developments >>>>> AUSTRALIA >>>>> webdna@idfk.com.au >>>>> >>>>> --------------------------------------------------------- >>>>> This message is sent to you because you are subscribed to >>>>> the mailing list . >>>>> To unsubscribe, E-mail to: >>>>> archives: http://mail.webdna.us/list/talk@webdna.us >>>>> old archives: http://dev.webdna.us/TalkListArchive/ >>>>> Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 >>>> >>>> --------------------------------------------------------- >>>> This message is sent to you because you are subscribed to >>>> the mailing list . >>>> To unsubscribe, E-mail to: >>>> archives: http://mail.webdna.us/list/talk@webdna.us >>>> old archives: http://dev.webdna.us/TalkListArchive/ >>>> Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> old archives: http://dev.webdna.us/TalkListArchive/ >> Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Bullet proof dynamic tables (Stuart Tremain 2009)
  2. Re: [WebDNA] Bullet proof dynamic tables (Stuart Tremain 2009)
  3. Re: [WebDNA] Bullet proof dynamic tables (Dan Strong 2009)
  4. Re: [WebDNA] Bullet proof dynamic tables (Terry Wilson 2009)
  5. Re: [WebDNA] Bullet proof dynamic tables (Toby Cox 2009)
  6. [WebDNA] Bullet proof dynamic tables (Stuart Tremain 2009)
Here is something to get you started 4 rows of 4 columns, the 4th row only has 1 cell
[Loop start=1&end=13]
[index]
[showif [index]\4]
[/showif] [/Loop]
And the same in a search function [Search db=matrix.db&neSKUdatarq=GetAll]
[founditems]
[index]
[showif [index]\4]
[/showif] [/FoundItems]
[/Search] Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 16/10/2009, at 11:30 AM, Stuart Tremain wrote: > Yes, thanks Dan, a far easier way. I will post some code shortly for > others to see/use. > > > Regards > > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au > > On 16/10/2009, at 4:42 AM, Dan Strong wrote: > >> Is using CSS not a preferable option? This calendar is all CSS: >> http://www.stripwalker.com/calendar.html >> >> -Dan Strong >> http://www.DanStrong.com >> >> Terry Wilson wrote: >>> I go along with this too, and use a clear pixel so much that every >>> site I do has one in the images folder. I've never done this, but >>> you can dynamically assign the clear pixel's width, I suppose. I >>> have on occasion dynamically assigned the value of colspan when >>> the # of columns is variable. >>> Terry >>>> bullet proof way is to use a hidden pixel in a cell at top or >>>> bottom - the old transdot.gif >>>> >>>> >>>> Although most modern browsers play ball when you specify with >>>> inline styles the width >>>> >>>> ie >>>> >>>> af >>>> asdfdsa >>>> >>>> rather than >>>> >>>> af >>>> adfsadf >>>> >>>> which some browsers tend to ignore (IE mainly) >>>> >>>> >>>> TC >>>> >>>> On 15 Oct 2009, at 10:17, Stuart Tremain wrote: >>>> >>>>> After many years of dynamic tables suddenly I have a site full >>>>> of them and many very intricate. >>>>> >>>>> Does anyone have some code that builds them and forces X TD wide >>>>> when there is only X-2 cells of data etc ?? >>>>> >>>>> Regards >>>>> >>>>> Stuart Tremain >>>>> IDFK Web Developments >>>>> AUSTRALIA >>>>> webdna@idfk.com.au >>>>> >>>>> --------------------------------------------------------- >>>>> This message is sent to you because you are subscribed to >>>>> the mailing list . >>>>> To unsubscribe, E-mail to: >>>>> archives: http://mail.webdna.us/list/talk@webdna.us >>>>> old archives: http://dev.webdna.us/TalkListArchive/ >>>>> Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 >>>> >>>> --------------------------------------------------------- >>>> This message is sent to you because you are subscribed to >>>> the mailing list . >>>> To unsubscribe, E-mail to: >>>> archives: http://mail.webdna.us/list/talk@webdna.us >>>> old archives: http://dev.webdna.us/TalkListArchive/ >>>> Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> old archives: http://dev.webdna.us/TalkListArchive/ >> Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Serving images from databases (1998) Pull Down Search (2000) flushdatabases (1997) Sorting by SKU Not Working (1998) WebCat2b15MacPlugin - showing [math] (1997) Frames and WebCat (1997) [WebDNA] mail header timezone problem (2008) catagories (1997) cart info (1998) Need some extra eyes (2003) It just Does't add up!!! (1997) Creating a back button (1999) RE: OK, here goes... (1997) [HIDEIF] inside [FOUNDITEM] (1997) WebCat2: Items xx to xx shown, etc. (1997) OS X http.conf (2002) Try not to laugh (2007) WebDNA equivalent for $REQUEST_URI (2004) RE: protect tag on NT (1997) More questions about serial number dishing (1997)