Sponsored Content
The Lounge What is on Your Mind? Mobile: Advanced Forum Statistics to Forum Home Page Post 303038905 by Neo on Monday 16th of September 2019 11:14:10 PM
Old 09-17-2019
Quote:
Originally Posted by Akshay Hegde
Happy to know that pagespeed helping, I understand rewriting theme would take time, also testing on cross browser and devices. I think bootstrap affix plug-in can be used to top header navigation to hide the forum title say user scrolls more than 30px or height of navigation bar.

Here is demo : Bootply snippet - Bootstrap Top Header, Affix Nav, Bottom Footer

Attachment 7847
Hi Akshay,

I think it is a matter of personal choice to toggle-hide the mobile header or not based on scroll position so will not be addressing or changing this anytime soon.

Honestly, I do not see this is a priority at this time and have a lot more important things I need to do.

Also, the link you provided did not provide any useful information that I could see. There was no code to download and so I did not find anything of interest at that link, to be totally honest (maybe because I viewed it on my desktop). Anyway, I have no idea what that site is or what that link is supposed to show me; other than it it has a big "sign up form" on the bottom... .

Since you have access to the source code and Chrome dev tools, and you know how to use them, it would have been helpful if you had of provided a piece of Javascript instead and said "could try this JS code to hide the navbar based on scroll position"...... that would have been helpful in this case Smilie

I always think this approach is better regarding formatting suggestions for site..... just provide the suggestion "in working easy to cut-and-paste into our site code".... which saves me a lot of time. I am pretty sure you can do that Smilie Right?

Please keep in mind I am not trying to be demotivating by my reply above; but if you get into the habit of posting "Neo please do this" and "Neo please do that" without providing working code, I will reply like this over and over; as there is not shortage of ideas; but what I need is people to open their web dev tools, look at the source, and provide working code (CSS, Javascript, jQuery) and not just "Neo, please do this and that" suggestions for the site.

Thanks for understanding!
This User Gave Thanks to Neo For This Post:
 

4 More Discussions You Might Find Interesting

1. 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

2. What is on Your Mind?

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). xevV3_iZ8-s For full screen use the link below and set your YT resolution to 1080p60 HD https://youtu.be/xevV3_iZ8-s Here is... (1 Reply)
Discussion started by: Neo
1 Replies

3. 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

4. What is on Your Mind?

Quick Bootstrap Reformat of Forum Staff Page

This page still needs work (complete redesign), but in the meantime, I quickly added some Bootstrap classes to "pretty it up": https://www.unix.com/staff.php https://www.unix.com/staff.php (0 Replies)
Discussion started by: Neo
0 Replies
Pod::ParseLink(3pm)					 Perl Programmers Reference Guide				       Pod::ParseLink(3pm)

NAME
Pod::ParseLink - Parse an L<> formatting code in POD text SYNOPSIS
use Pod::ParseLink; my ($text, $inferred, $name, $section, $type) = parselink ($link); DESCRIPTION
This module only provides a single function, parselink(), which takes the text of an L<> formatting code and parses it. It returns the anchor text for the link (if any was given), the anchor text possibly inferred from the name and section, the name or URL, the section if any, and the type of link. The type will be one of "url", "pod", or "man", indicating a URL, a link to a POD page, or a link to a Unix manual page. Parsing is implemented per perlpodspec. For backward compatibility, links where there is no section and name contains spaces, or links where the entirety of the link (except for the anchor text if given) is enclosed in double-quotes are interpreted as links to a section (L</section>). The inferred anchor text is implemented per perlpodspec: L<name> => L<name|name> L</section> => L<"section"|/section> L<name/section> => L<"section" in name|name/section> The name may contain embedded E<> and Z<> formatting codes, and the section, anchor text, and inferred anchor text may contain any formatting codes. Any double quotes around the section are removed as part of the parsing, as is any leading or trailing whitespace. If the text of the L<> escape is entirely enclosed in double quotes, it's interpreted as a link to a section for backward compatibility. No attempt is made to resolve formatting codes. This must be done after calling parselink() (since E<> formatting codes can be used to escape characters that would otherwise be significant to the parser and resolving them before parsing would result in an incorrect parse of a formatting code like: L<verticalE<verbar>barE<sol>slash> which should be interpreted as a link to the "vertical|bar/slash" POD page and not as a link to the "slash" section of the "bar" POD page with an anchor text of "vertical". Note that not only the anchor text will need to have formatting codes expanded, but so will the target of the link (to deal with E<> and Z<> formatting codes), and special handling of the section may be necessary depending on whether the translator wants to consider markup in sections to be significant when resolving links. See perlpodspec for more information. SEE ALSO
Pod::Parser The current version of this module is always available from its web site at <http://www.eyrie.org/~eagle/software/podlators/>. AUTHOR
Russ Allbery <rra@stanford.edu>. COPYRIGHT AND LICENSE
Copyright 2001, 2008, 2009 Russ Allbery <rra@stanford.edu>. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. perl v5.18.2 2013-11-04 Pod::ParseLink(3pm)
All times are GMT -4. The time now is 01:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy