11-08-2018
Thanks Scott,
On a number of occasions I have had trouble with the order of execution of included Javascript file.
Looking back, it seems obvious that the JS vars from vB global_start should have been before the Vue files. That also seem to explain why I could get it to work as a computed property before.
Thanks for your help sorting this out!
Much appreciated!
Now, I need to figure out why the HTML layout is different between the two conditions (guest vs. logged in user)..... That should be an easy CSS issue (update: confirmed CSS fixed).
6 More Discussions You Might Find Interesting
1. 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
2. What is on Your Mind?
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. What is on Your Mind?
Hey.
Someone find or write some jQuery code where we can select text with our mouse and then click or double click the highlighted / selected text and then it will wrap code tags around the highlighted text (in our editors).
:) (0 Replies)
Discussion started by: Neo
0 Replies
4. Web Development
Vue Router has some quirks and on of the quirks is that it is not reliable when adding external links using the vue-router library.
After struggling with many solutions, I have found that creating a simple Vue.js component like this one seems to work the best (so far):
Component Example: ... (0 Replies)
Discussion started by: Neo
0 Replies
5. Web Development
A number of people have asked me how to get started with Vue.js and my reply before today was to Google "Vue.js". That has changed and my recommendation to anyone who wants to learn the fastest growing, easiest to learn and use Vue.js web dev framework is to watch this video tutorial series:
... (0 Replies)
Discussion started by: Neo
0 Replies
6. Web Development
Sooner than later I will render forum discussions in Vue.js to complement the standard way of showing forum threads.
Today, I ran across this component, vue-code-highlight
Beautiful code syntax highlighting as Vue.js component.
https://www.unix.com/members/1-albums225-picture1199.jpg
... (1 Reply)
Discussion started by: Neo
1 Replies
LEARN ABOUT DEBIAN
css::dom::rule::media
CSS::DOM::Rule::Media(3pm) User Contributed Perl Documentation CSS::DOM::Rule::Media(3pm)
NAME
CSS::DOM::Rule::Media - CSS @media rule class for CSS::DOM
VERSION
Version 0.14
SYNOPSIS
use CSS::DOM;
my $media_rule = CSS::DOM->parse(
'@media print { body { background: none } }'
)->cssRules->[0];
# OR:
use CSS::DOM::Rule::Media;
my $media_rule = new CSS::DOM::Rule::Media $parent;
push @{$media_rule->media}, 'print';
$media_rule->insertRule('body { background: none }')
DESCRIPTION
This module implements CSS @media rules for CSS::DOM. It inherits from CSS::DOM::Rule and implements the CSSMediaRule DOM interface.
METHODS
media
Returns the MediaList associated with the @media rule (or a plain list in list context). This defaults to an empty list. You can pass a
comma-delimited string to the MediaList's "mediaText" method to set it.
cssRules
In scalar context, this returns a CSS::DOM::RuleList object (simply a blessed array reference) of CSS::DOM::Rule objects. In list
context it returns a list.
insertRule ( $css_code, $index )
Parses the rule contained in the $css_code, inserting it the @media rule's list of subrules at the given $index.
deleteRule ( $index )
Deletes the rule at the given $index.
SEE ALSO
CSS::DOM
CSS::DOM::Rule
CSS::DOM::MediaList
perl v5.10.1 2010-12-10 CSS::DOM::Rule::Media(3pm)