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
CSS::Adaptor(3pm)					User Contributed Perl Documentation					 CSS::Adaptor(3pm)

NAME
CSS::Adaptor - Arbitrarily map CSS data for use in another context. SYNOPSIS
use CSS; # create a CSS object with an adaptor my $css = new CSS({ 'adaptor' => 'CSS::Adaptor', }); # load some CSS data $css->read_file( "my_file.css" ); # change the adaptor $css->set_adaptor( "CSS::Adaptor::Pretty" ); # output CSS object using the current adaptor print $css->output(); DESCRIPTION
This class is used by CSS to translate a CSS object to a string. This allows CSS data to be easily mapped into other formats. This documentation is for people who want to write their own CSS::Adaptor module. For usage information, see the documentation for CSS. METHODS
CONSTRUCTOR "new()" Called without options. FUNCTIONS "output_rule( $rule )" returns a string containing a formatted CSS::Style object, passed as an object ref "output_selectors( $selectors )" returns a string containing a formatted list of CSS::Selector objects, passed as an array ref "output_properties( $properties )" returns a string containing a formatted list of CSS::Property objects, passed as an array ref "output_values( $values )" returns a string containing a formatted list of CSS::Value objects, passed as an array ref AUTHORS
Copyright (C) 2001-2002, Allen Day <allenday@ucla.edu> Copyright (C) 2003-2004, Cal Henderson <cal@iamcal.com> SEE ALSO
CSS perl v5.14.2 2008-04-23 CSS::Adaptor(3pm)
All times are GMT -4. The time now is 05:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy