On May 28, 2015, at 5:22 AM, Erik Visser <e...@erikvisser.net> wrote:
> Chad Lundgren schreef op 27-05-15 om 05:47: >> >> I like CSS Tricks's method of dealing with this issue: >> >> https://css-tricks.com/responsive-data-tables/ >> > > Looked into that and other presented soultions. But i can't figure out how i > can put that to work with the time table i'am using. > > The original table and some smaller versions i made: > http://beta.erikvisser.net/yoga_lesrooster5.php > > Anyone any ideas? > > Alternatively i could show / hide different versions of the table based on > the screen width (media queries). > > That should work i guess. Although it might not be the most clever solution. > And disadvantage is that i have the data multiple times on the webpage. > > Erik Hi Erik, I would set it up with a backend tech like PHP (or your backend tech of taste) that echoes out the data and places it inside either the list layout or the table layout on creation. You just have to get the screen size to pass to the php function before build. Could do the same with ASP or CF too. Best, Karl DeSaulniers Design Drumm http://designdrumm.com ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/