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 started4 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]RegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.auOn 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:
Here is something to get you started4 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][/Search]RegardsStuart TremainIDFK Web DevelopmentsAUSTRALIAwebdna@idfk.com.auOn 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:
OT: javascript help (2003)
Summing fields (1997)
WebCat2b12--[searchstring] bug (1997)
Search for 20 finds ... Eureka! (1997)
Database field limit? (1998)
template security preferences????? (1998)
WebCat2: Items xx to xx shown, etc. (1997)
Listfiles (1998)
Newbie trouble with [url] & [foundItems] (2000)
PSC recommends what date format yr 2000??? (1997)
Mozilla/4. and Browser Info.txt (1997)
WC2.0 Memory Requirements (1997)
'does not contain' operator needed ... (1997)
Small problem (2001)
webdna preferences (2005)
Formatting (2000)
Writing [raw] to a file (2000)
Tax Moratorium Expiring (2001)
Email encryption (1998)
WCS Newbie question (1997)