Sponsored Content
The Lounge What is on Your Mind? JQuery and CSS Flex Code for Responsive Forum Home Page Post 303021503 by Neo on Saturday 11th of August 2018 06:45:52 AM
Old 08-11-2018
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.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

need to know best forum site for flex code

Hi All, Please help me to know the similar forum site but for the flex code. Thanks (6 Replies)
Discussion started by: aish11
6 Replies

2. What is on Your Mind?

Forum Update: Disabled Home Page Forum Statistics for Guests (Not Registered)

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)
Discussion started by: Neo
0 Replies

3. What is on Your Mind?

Man Page Repositories - Added jQuery and Bootstrap

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)
Discussion started by: Neo
0 Replies

4. What is on Your Mind?

Forum Description Animation with jQuery

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)
Discussion started by: Neo
2 Replies

5. What is on Your Mind?

JQuery and CSS Flex Code for Responsive WOL Page

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)
Discussion started by: Neo
0 Replies

6. Web Development

PHP Changes to WOL for New Forum Home Page

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)
Discussion started by: Neo
0 Replies

7. Web Development

New Supplementary CSS for Forum Postbit

Working on moving inline style to a supplementary CSS file. This one is postbit.css: .pb-wrapper { border-style: solid; border-width: 1px; border-color: rgba(110, 117, 182, 0.99); padding: 0px 0px 0px 0px; } .pb-wrapper-b { padding: 0px; border-width: 0px 0px 1px... (0 Replies)
Discussion started by: Neo
0 Replies

8. What is on Your Mind?

New Responsive 404 Page for UNIX.com

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)
Discussion started by: Neo
2 Replies

9. What is on Your Mind?

Mobile: Advanced Forum Statistics to Forum Home Page

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)
Discussion started by: Neo
12 Replies
Scrolled(3pm)						User Contributed Perl Documentation					     Scrolled(3pm)

NAME
Tk::Scrolled - Create a widget with attached scrollbar(s) SYNOPSIS
$whatever = $parent->Scrolled(Whatever ?,-scrollbars=>where? ?,...?); DESCRIPTION
To stop a flood of ScrlWhatever widgets Perl/Tk introcuded the special constructor Scrolled. Scrolled creates a widget of the given Class Whatever with attached scrollbar(s). OPTIONS
All options beside -scrollbars explained below are passed to the Whatever widget constructor. -scrollbars Expects as argument the position where the scrollbars should be created: w, e or n, s or a combination of them. If the one or both positions are prefixed with o the scrollbar will only show up if there is a 'real' need to scroll. ADVERTISED SUBWIDGETS
See "Subwidget" in Tk::mega how to use advertised widgets. scrolled the scrolled widget widget same as scrolled above. widget is the kind of widget passed to scrolled as first argument in all lowercase. xscrollbar the Scrollbar widget used for horizontal scrolling (if it exists) yscrollbar the Scrollbar widget used for vertical scrolling (if it exists) corner a frame in the corner between the vertical and horizontal scrolbar BUGS
If a widget does not support -{x,y}scrollcommand options, Scrolled does not complain if the specified widget class does not support them. E.g., $parent->Scrolled('Button', ...) One does not get an error message or warning when one tries to configure scrollbars after the widget construction: $ascrolled->configure(-scrollbars => 'e'); SEE ALSO
Tk::Scrollbar KEYWORDS
scrolled, scrollbar perl v5.14.2 2010-05-29 Scrolled(3pm)
All times are GMT -4. The time now is 10:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy