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
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?
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?
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?
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?
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
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
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?
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?
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
LEARN ABOUT DEBIAN
prima::scrollwidget
Prima::ScrollWidget(3) User Contributed Perl Documentation Prima::ScrollWidget(3)
NAME
Prima::ScrollWidget - scrollable generic document widget.
DESCRIPTION
"Prima::ScrollWidget" is a simple class that declares two pairs of properties, delta and limit for vertical and horizontal axes, which
define a a virtual document. limit is the document dimension, and delta is the current offset.
"Prima::ScrollWidget" is a descendant of "Prima::GroupScroller", and, as well as its ascendant, provides same user navigation by two
scrollbars. The scrollbars' "partial" and "whole" properties are maintained if the document or widget extensions change.
API
Properties
deltas X, Y
Selects horizontal and vertical document offsets.
deltaX INTEGER
Selects horizontal document offset.
deltaY INTEGER
Selects vertical document offset.
limits X, Y
Selects horizontal and vertical document extensions.
limitX INTEGER
Selects horizontal document extension.
limitY INTEGER
Selects vertical document extension.
Events
Scroll DX, DY
Called whenever the client area is to be scrolled. The default action calls "Widget::scroll" .
AUTHOR
Dmitry Karasik, <dmitry@karasik.eu.org>.
SEE ALSO
Prima, Prima::ImageViewer, Prima::IntUtils, Prima::ScrollBar, examples/e.pl.
perl v5.14.2 2009-02-24 Prima::ScrollWidget(3)