Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
JavaScript is a dynamically-typed language commonly used for client-side scripting. Unless a tag for a framework/library is also included, a pure JavaScript answer is expected.
0
votes
How can I prevent dropdown.min.js from loading on the front end of my website?
You can use the unset command to disable a script in the front-end.
I suppose that you might try the following method that worked in Joomla 3. Add something like the following to your front-end templa …
3
votes
Accepted
Joomla 4 - Cassiopeia add JS and CSS
The old method to add stylesheets and scripts to the doc head was to use the HTMLHelper. An good explanation how to use that: https://rolandd.com/blog/joomla/adding-stylesheets-scripts-and-images
Sinc …
1
vote
Place article specific scripts in head section
You could add a script (or CSS) to the doc head using the HTML Helper
use Joomla\CMS\HTML\HTMLHelper;
HTMLHelper::_('script', 'path/to/your/js/script.js',
['version' => 'auto', 'relative' => false]
…
3
votes
Accepted
How is Mootools loaded?
In Joomla it's possible to load JavaScript libraries via different ways, via:
your template
a component
a (system) plugin
a module
When it's loaded on every page, it's usually loaded via your template …
2
votes
Accepted
How do I add async attribute for scripts?
You'd better not edit ("core hack") Joomla's core files because that's a recipe for disaster.
The async attribute is available if you use the HTMLHelper to include your CSS file. See Joomla 3.9.19 /li …