Suggestion: Optimizing jquery and leaving mootools

More
10 years 10 months ago #44635 by jrodgar
First thing: Would be nice to have a option to load the jquery from a cdn, to optimize the load times, with a fallback to the local copy.


Second: Avoid mootools. As long as I know, Joomla is departing from it. Use jquery instead, you are already using it :) example: window.addEvent on com_flexicontent/views/field/view.html.php

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #44643 by ggppdk

jrodgar wrote: First thing: Would be nice to have a option to load the jquery from a cdn, to optimize the load times, with a fallback to the local copy.


Hello

we could, and i guess we will
just
in J3.x this is handled by Joomla and many use an extension like jQueryEasy to handle loading of it since multiple extensions are doing it

jrodgar wrote: Second: Avoid mootools. As long as I know, Joomla is departing from it. Use jquery instead, you are already using it :) example: window.addEvent on com_flexicontent/views/field/view.html.php


Yes,
this is a work in progress, done about 50%,
will do before J3.5 is out, or maybe much earlier


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #44695 by jrodgar
Actually I had some problems with jquery easy (I was thinking that because flexi load some jquery libraries just after that, jquery easy didn´t interact properly) but if you have manage to make themm work at the same time I could take another look :)

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.381 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline