Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #19489

Re: design tips

From "Tony" <tony.johansson@inport.com>
Newsgroups comp.lang.javascript
Subject Re: design tips
Date 2013-04-26 14:41 +0200
Organization A noiseless patient Spider
Message-ID <kldsev$n5h$1@dont-email.me> (permalink)
References <kldmnq$p3p$1@dont-email.me> <kldqgg$c1l$1@dont-email.me>

Show all headers | View raw



"Jukka K. Korpela"  wrote in message news:kldqgg$c1l$1@dont-email.me...

2013-04-26 14:03, Tony wrote:

> I have a html table that represent 8 column with a time in each column.
> It could look like the wat below.

Looks simple enough. Nice styling has some challenges, but they are
really not a JavaScript issue, are they?

> Now to my question what html control or images is a nice and appropriate
> to use when I want to shift the time table window to the right or left ?

Pardon? Which "time table window", and why would it be shifted?

Do you mean that the time table has actually more columns and needs to
be scrolled horizontally? This sounds like a job for CSS, not
JavaScript. Assuming the table really needs to be that wide, but this
cannot be evaluated without seeing e.g. a document of the intended
purpose and use and preferably a prototype, too.

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/

I have eight column but just to simply this lets say we have only four 
columns to avoid wrapping around + the first column that show the name of 
the bridge.
This example shows that a ship named Eken has booked a bridge called 
Götaälvbron  in the following way
It will start to open at 07:30 and will be fully opened at 08:00.
At 08:00 can she ship Eken start to pass the bridge.
At 08:30 has the ship Eken passed the bridge.
At 08:30 will the bridge start to close. At 09:00 will the bridge be fully 
closed.
If we for example want to see how the bookings for a bridge is at 11:00 or 
even further away for example 14:00
Or earlier for example 06:00 or even 04:00.
I must have some suitable html control or image.
I think that a good choice is to use two small image arrow that points to 
the right and to the left.
The small image(icon) that has an arrow to the right is positioned to the 
right on the screen and
the small image(icon) that has an arrow to the left is positioned to the 
left on the screen.
What about my suggestion ?

  ------ -----------------------------------------------------------------------
Götaälvbron  |      07:00        |       08:00       |      09:00        | 
10:00
  -----------------------------------------------------------------------------
                                  |    Ö       | Eken|    C    |

//Tony 

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

design tips "Tony" <tony.johansson@inport.com> - 2013-04-26 13:03 +0200
  Re: design tips "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-04-26 15:07 +0300
    Re: design tips "Tony" <tony.johansson@inport.com> - 2013-04-26 14:41 +0200
  Re: design tips JJ <duh@nah.meh> - 2013-04-27 01:12 +0700
    Re: design tips "Tony Johansson" <johansson.andersson@telia.com> - 2013-04-27 12:07 +0200

csiph-web