Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
JQuery and CSS Flex Code for Responsive Forum Home Page
So far, I have completed making the home page more responsive (except for the forum stats at the top and the WOL box at the bottom, they still use scroll bars).
For full screen use the link below and set your YT resolution to 1080p60 HD
Here is the jQuery code I wrote to make the forumhome table more responsive using CSS Flex:
Please post comments or suggestions on this here. Thanks.
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
Update:
Responsive CSS Flexbox is now working on the forum home page and the forum display pages.
Hopefully, this adds value to everyone.
If not please post back and complain and let us know!
Next, I will get this working for search results and thread views for the lists of threads and and discussions.
For those who don't like responsive and prefer the old fashioned unresponsive horizontal scrollbars, if enough people comment (I cannot imagine anyone prefers horizontal scrollbars over a responsive website) I will add a UserCP switch for uses to turn off.
However, recommend you give responsive a try and move away from 10 year old web technologies.
Better we make "responsive better" versus depending on horizontal scrollbars and 10 year old table overflow technology when we can be responsive and change the view based on the width of the screen.
For mobile users, I have just added a "first beta" Advanced Forum Statistics to the home page on mobile using CSS overflow:auto; so you can swipe if you need to see more. Google Search Console mobile usability says this page is "mobile friendly" so perhaps this will be useful for some of our... (12 Replies)
Just created (actually, only modified... it was created by ShoutOut) a new responsive 404 "not found" page with the help of ShoutOut free templates.
https://www.unix.com/status/404.html
Same for 401 and 403 errors.
Picture sans animation:
... (2 Replies)
Wrote some PHP code today to make the Who Is Online (WOL) in the forums work properly with the new home page:
Wrote this global plugin to add the location to both the user table (for members) and session table (for guests + registered users)
<?php
if (THIS_SCRIPT != 'misc' and... (0 Replies)
I have just wrote this jQuery to the WOL page, so the table of users on line will not need scrollbars and will instead transform into a responsive table:
<script>
jQuery(document).ready(function (){
jQuery("#neo-who-flex-tcat").
css({"display":"flex","flex-flow":"row wrap",
... (0 Replies)
I found that the pages that lists all the forums were too cluttered with the forum descriptions, so I added a bit of jQuery to hide the forum descriptions and to fade them in and out on mouseover:
<script>
$(document).ready(function() {
jQuery(".neo-forum-description").hide();... (2 Replies)
I added both jQuery and Bootstrap Javacript libs to all man page repository pages.
TODO: I need to add pagination to these repos because most are very large and load to slow on a single page.
For the first upgrade, I manually added one new CSS Class (repository) to the main repo tables and... (0 Replies)
Just a quick update; to speed up the forums, I have disabled the forum statistics on the home page for non registered users.
No changes for registered users. (0 Replies)