Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #19425
| From | "Tony" <tony.johansson@inport.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: What is the best algoritm for displaying a very special html table |
| Date | 2013-04-23 17:20 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <kl68lp$n7m$1@dont-email.me> (permalink) |
| References | <kl382v$cmo$1@dont-email.me> <kl3ek0$tk9$1@news.albasani.net> |
"Stefan Weiss" wrote in message news:kl3ek0$tk9$1@news.albasani.net... On 2013-04-22 13:51, Tony wrote: > All these bridges below must be opened when a vessel must pass that's why > we > talk about bookings. ... > I need to create a html table that is different to the normal html table. > The table consist of 9 columns [1-9] and different number of row but the > column width is the same for all columns. > The column to the left is the name of a bridge. > If we had for example three rows then the column to the left could be > Göta älv bron > Marieholmsbron > Jordfallsbron > > Now to the difficult part of the html table. > Each row describe one or more bridge booking in some way. > For example in row 1 Göta älv below I have written a booking !ö!v!c! > So each interval column of hour is of same width but the time for ö,v and > c > could be very different. > Can anybody give me some hint about what kind of algoritm is suitable to > use > when displaying the html table with it's contents ? I tried to write an explanation, but it got too complicated. Is that what you were looking for? http://foo.at/paste/2013/bridges.html Note, there is NO error handling and no boundary checking, you'll have to add that yourself. - stefan many thanks Stefan this will be useful //Tony
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
What is the best algoritm for displaying a very special html table "Tony" <tony.johansson@inport.com> - 2013-04-22 13:51 +0200
Re: What is the best algoritm for displaying a very special html table JJ <duh@nah.meh> - 2013-04-22 19:53 +0700
Re: What is the best algoritm for displaying a very special html table Stefan Weiss <krewecherl@gmail.com> - 2013-04-22 15:40 +0200
Re: What is the best algoritm for displaying a very special html table "Tony" <tony.johansson@inport.com> - 2013-04-23 17:20 +0200
csiph-web