logo maximenuck 64Maximenu CK

Maximenu CK is a Joomla megamenu dropdown with nice effects.

logo slideshowck 64Slideshow CK

Slideshow CK, nice effect with this slideshow responsive design.

logo accordeonmenuck joomlaAccordeon Menu CK

Accordeon menu CK is a joomla accordion menu with mootools effects.

logo template creator joomlaTemplate Creator CK

Template Creator CK is a tool to create your own Joomla! templates.

Welcome, Guest
Username: Password: Remember me

TOPIC: Possible to bring the JS to the end of the site?

Possible to bring the JS to the end of the site? 10 Nov 2016 15:11 #38698

  • ThiloS
  • ThiloS's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Hi there,

first of all: Everything works just fine with your Plugin. Really nice work.

Since i always try to optimize the code for a good PageSpeed by google, i just want to ask if theoretically it would be possible to position the "mediaboxck.min.js" just at the bottom of the site near the closing body-tag.

Normally i do that for all my scripts and for the jquery.min as well.

I just don't know if this is overall possible with keeping all the functions of this cool plugin...?

So - i don't want a solution (if there already is one that - of course - would be just great) but a opinion if it could work in general that way or not.

Greets,

Thilo
The administrator has disabled public write access.

Possible to bring the JS to the end of the site? 10 Nov 2016 15:27 #38701

  • ced1870
  • ced1870's Avatar
  • OFFLINE
  • Administrateur
  • Posts: 17463
  • Thank you received: 2230
  • Karma: 388
Hi
the js script is loaded with the joomla API "addScript" and "addScriptDeclaration"
so if you can manage to move the other scripts, you can do the same for this
just load it after the jquery

by my side I don't see any reason, it should work also at the bottom of the page :)
CEd
Joomlack Webmaster and Developer
The administrator has disabled public write access.

Possible to bring the JS to the end of the site? 10 Nov 2016 15:28 #38702

  • ThiloS
  • ThiloS's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Cool thanks,

and yes you're right - there is no much benefit by doing it... is just a kind of a personal goal... ; -)
The administrator has disabled public write access.
Time to create page: 0.199 seconds
Powered by Kunena Forum

Mentions légales

Site made by Cédric KEIFLIN

Privacy policy

Copyright © 2010 - 2015

http://forum.joomlack.fr is not affiliated with or endorsed by the Joomla! Project or Open Source Matters. The Joomla!® name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.

Qui est en ligne

We have 228 guests and 6 members online