Home › Forums › JavaScript › Responsive table with top and side items
- This topic is empty.
-
AuthorPosts
-
August 7, 2014 at 12:16 am #178073
libralion
ParticipantHi everybody,
I have a large table on my website with items at the top and on the left side.
I read the various scripts on this site for responsive tables, but none of them seem to include what I need. Can somebody point me in the right direction?
I can’t write scripts or anything, but I know how to use them.
This is the page with the large table on it: http://www.patriciakaas.nl/english/albums-extended.htm
I also have a table with nothing on top. Just two cells really. How can I make this table responsive too? Here is the link: http://www.patriciakaas.nl/english/enfoires.htmJohanna
August 7, 2014 at 1:26 am #178076libralion
ParticipantThanks Atelierbram! I think that will work. I will try it out. :)
I didn’t know in which forum to post this, so that is why I posted it here.
You have a solution for the second problem too maybe?
I also have a table with nothing on top. Just two cells really. How can I make this table responsive too? Here is the link: http://www.patriciakaas.nl/english/enfoires.htmJohanna
August 7, 2014 at 2:13 am #178086libralion
ParticipantGreat! Will try that one too!
You are the best!Johanna :)
August 7, 2014 at 2:17 am #178087libralion
ParticipantTried the first one, but get this: http://www.patriciakaas.nl/test.htm
What am I missing?Johanna
August 7, 2014 at 3:20 am #178117libralion
ParticipantYes that does it. But you are right. I don’t know if I want this.
I also have problems with the other script.
I don’t get the years below each other like in your example.
Did I miss a setting or so?
http://www.patriciakaas.nl/test2.htmJohanna
August 7, 2014 at 4:58 am #178133libralion
ParticipantI see. I found that and then it works.
Thanks a lot for your help.
Now I only have to find a better way to display that table.Johanna
August 7, 2014 at 6:08 am #178139libralion
ParticipantOh I see. Yes that could be something.
I will try and make that work tomorrow. Enough code for today. :)
Thanks a lot for all your help. Really appreciated!Johanna
August 7, 2014 at 9:54 pm #178225libralion
ParticipantHi Bram,
I added your code and attached the mobile css and js, but still I don’t get the right results.
What am I missing?
http://www.patriciakaas.nl/test.htm
Besides when I add the mobile css and js it messes up my entire page layout.
This is without the mobile css and js: http://www.patriciakaas.nl/test2.htmJohanna
August 7, 2014 at 10:31 pm #178228libralion
ParticipantYes that does it! But there are errors.
See for instance Frankrijk: Mademoiselle chante
And the layout is still messed up.Johanna
August 7, 2014 at 10:51 pm #178231libralion
ParticipantI copied the code from the css and used that. I also changed the hide to hide-shift in the html, but now the data from the countries is all gone and the layout is still messed up.
http://www.patriciakaas.nl/test.htmJohanna
August 7, 2014 at 11:17 pm #178234libralion
ParticipantYes that did it. The data is back now.
The only thing is, that under “mademoiselle”, “le mot de passe” and “Kabaret” the data isn’t displayed well. I can’t figure out why that is. It is the same for all countries for those 3.
And I removed all the general styles in the style-table.css , but still the layout is messed up.
I use the incognito modus in the browser. That way the cookies etc. won’t be stored.
http://www.patriciakaas.nl/test.htmJohanna
August 7, 2014 at 11:25 pm #178238libralion
ParticipantYes I found it also. I just removed it from the custom.css, because I don’t need it on this page.
Now the only thing remaining is the layout that is messed up.
http://www.patriciakaas.nl/test.htmJohanna
August 7, 2014 at 11:34 pm #178240libralion
ParticipantAnd I also notice, that it doesn’t display well on a smartphone etc.
You only get the list of albums and can’t view the results.
In a larger screen, like from the nexus it doesn’t look good.
http://www.responsinator.com/?url=http%3A%2F%2Fwww.patriciakaas.nl%2Ftest.htm
The purpose of all of this was to get a responsive table for all screens.Johanna
August 7, 2014 at 11:58 pm #178246libralion
ParticipantYes that brought back the layout. The only thing is that the menu is now inside the table, lol.
http://www.patriciakaas.nl/test.htmJohanna
August 8, 2014 at 12:50 am #178249libralion
ParticipantYou are good! That did it!
It works now like it should. Thank you very much!
Any suggestions for the display on smartphones? I think anything above 640 width is now working good.
http://www.responsinator.com/?url=www.patriciakaas.nl%2Ftest.htmJohanna
-
AuthorPosts
- The forum ‘JavaScript’ is closed to new topics and replies.