jQl an asynchronous jQuery Loader - comments jQl an asynchronous jQuery Loader 2019-07-31T12:54:44Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment562 2019-07-31T12:54:44Z <p>Hi all,</p> <p>I put the demo file online again, however it was still available on GitHub <a href="https://github.com/Cerdic/jQl/tree/master/demos" class="spip_url spip_out auto" rel="nofollow external">https://github.com/Cerdic/jQl/tree/master/demos</a></p> <p>Please note that jQl is still perfectly working with last version of jQuery and I'm using it now for years on production website without any trouble.</p> <p>It's also used in the <span class="caps">CMS</span> <span class="caps">SPIP</span> to async load the minified/concatened <span class="caps">JS</span> file <a href="https://zone.spip.net/trac/spip-zone/changeset/85361/spip-zone" class="spip_url spip_out auto" rel="nofollow external">https://zone.spip.net/trac/spip-zone/changeset/85361/spip-zone</a></p> jQl an asynchronous jQuery Loader 2018-05-02T08:19:12Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment554 2018-05-02T08:19:12Z <p>Hi<small class="fine"> </small>!</p> <p>Since the script is elder than 5 years, is it still working with latest iquery versions<small class="fine"> </small>?</p> <p>The demo is broken :-(</p> jQl an asynchronous jQuery Loader 2018-01-19T17:37:35Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment553 2018-01-19T17:37:35Z <p><span class="caps">THANK</span> <span class="caps">YOU</span> <span class="caps">SO</span> <span class="caps">MUCH</span><small class="fine"> </small>!!!!</p> jQl an asynchronous jQuery Loader 2016-03-14T21:45:53Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment521 2016-03-14T21:45:53Z <p>I tried it and it works, thank you very much. It has long been looking for a solution.</p> jQl an asynchronous jQuery Loader 2014-04-09T11:23:34Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment398 2014-04-09T11:23:34Z <p>Link not work</p> <p><a href="http://www.yterium.net/jQl/demos/jquery-loadjQ.php" class="spip_url spip_out auto" rel="nofollow external">http://www.yterium.net/jQl/demos/jquery-loadjQ.php</a></p> <p>If you can repair it... thanks</p> jQl an asynchronous jQuery Loader 2014-01-17T20:04:24Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment366 2014-01-17T20:04:24Z <p>Please allow me a kind suggestion :</p> <p>in the github repository it would be useful to place a couple of real world examples, like one page with jquery plus some jquery plugins that normally won't work if someone places the calls script at the end of the document.</p> <p>This would help newbies (like me) to get a better idea about the fucntionality and where to place the scripts.</p> <p>Thank you</p> <p>Robert</p> jQl an asynchronous jQuery Loader 2014-01-17T12:00:48Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment363 2014-01-17T12:00:48Z <p>Hello Cédric</p> <p>reading this page<br class="autobr" /> <a href="https://developers.google.com/speed/docs/insights/UseAsync" class="spip_url spip_out auto" rel="nofollow external">https://developers.google.com/speed/docs/insights/UseAsync</a></p> <p>looks like that your script do provides a great solution for the google directives, since in the scripts list, jquery is not yet present, great for you and the amount of contacts you could receive.</p> <p>Now the problem is :-))) ... reading the comments I don't understand if it works and how to manage jquery + the various plugins I do use in my website for the <em>recupero dati hard disk</em>.</p> <p>I do use «<small class="fine"> </small>standard<small class="fine"> </small>» and «<small class="fine"> </small>typical<small class="fine"> </small>» jquery plugins like <em>scroll to top</em> a jquery navigation menu (really cool, though), some modal lightbox like.</p> <p>Can you kindly provide the actual status of your script<small class="fine"> </small>?</p> <p>Does it allow the asynchronous loading of jquery<small class="fine"> </small>?<br class="autobr" /> What does it mean that the scripts must reside on the same domain<small class="fine"> </small>?</p> <p>Thank you for the clarifications</p> <p>Robert</p> jQl an asynchronous jQuery Loader 2013-10-07T08:45:22Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment333 2013-10-07T08:45:22Z <p>This is great<small class="fine"> </small>! Unfortunately I get problems due to inline calls getting run before the jquery dependant modules. As you say «<small class="fine"> </small>At the moment, inline call executions are not waiting jQuery-dependent modules, but only jQuery core.<small class="fine"> </small>»</p> <p>Are there any way to solve this<small class="fine"> </small>? Is it possible to queue these to run after the jQuery dependant modules<small class="fine"> </small>?</p> jQl an asynchronous jQuery Loader 2013-05-29T11:41:53Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment257 2013-05-29T11:41:53Z <p>I had the following question :</p> <blockquote class="spip"> <p> Hi Cédric. I'm about to try your Loader, but I need to ask you a question first. I am using Google APIs jQuery along with a local version on every page I develop. The idea being -if remote jQuery takes too long to load, say four-five seconds, I can run the local version. Can your Loader help and if so, how<small class="fine"> </small>?</p> </blockquote> <p>I thing this can be easily done using callback en setTimeout :</p> <textarea readonly="readonly" cols="40" rows="6" class="spip_cadre" dir="ltr"><script type="text/javascript"> var fallback_timer = setTimeout(function(){jQl.loadjQ('jquery.min.js');},5000); jQl.loadjQ('//any.cdn.com/jquery.min.js',function(){clearTimeout(fallback_timer);}); </script></textarea> jQl an asynchronous jQuery Loader 2012-09-09T10:05:49Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment189 2012-09-09T10:05:49Z <p>Thank you very much, I was having issue with all versions of <span class="caps">IE</span> where the jQuery was not loaded in a dynamic iframe, I used your jQL solution and it worked. Thank you very much<small class="fine"> </small>!</p> jQl an asynchronous jQuery Loader 2011-09-07T22:26:42Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment75 2011-09-07T22:26:42Z <p>Niska : Just make sure that the server the script you're loading is on is setting the <span class="caps">HTTP</span> Access-Control-Allow-Origin header appropriately.</p> jQl an asynchronous jQuery Loader 2011-06-12T12:08:12Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment58 2011-06-12T12:08:12Z <p>awesome replacement for the fragile, halfworking thing i did. thanks a bunch<small class="fine"> </small>!</p> jQl an asynchronous jQuery Loader 2011-02-22T21:57:09Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment54 2011-02-22T21:57:09Z <p>You're right : using jQl for sequentially loading jQuery and the external script is here the best solution.</p> <p>Just keep in mind that others scritps on same domain can be run just after jQuery is loaded. That can be before the external script on another domain.</p> jQl an asynchronous jQuery Loader 2011-02-22T18:03:39Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment53 2011-02-22T18:03:39Z <p>«<small class="fine"> </small>One limit to loadjQdep is that only scripts from same domain as the <span class="caps">HTML</span> page can be loaded with, as it uses <span class="caps">XHR</span> loading.<small class="fine"> </small>»</p> <p>What if I need to load a script from another domain, that is dependent on jquery. Can I use jQl to load jquery and this external script sequential, and then load other jquery dependent scripts from the same domain asynchronous<small class="fine"> </small>?</p> <p>Or is there a better solution<small class="fine"> </small>?</p> jQl an asynchronous jQuery Loader 2011-01-22T22:47:40Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment46 2011-01-22T22:47:40Z <p>Interesting... I'll give it a shot. Thank you very much.</p> jQl an asynchronous jQuery Loader 2010-12-06T12:28:37Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment26 2010-12-06T12:28:37Z <p>Je suis pour la part de l'avis de Vincent, sur l'utilité de réaliser quelques tests de chargement de pages avec et sans jQI.</p> <p>Toutefois, le projet est très intéressant et utile à beaucoup de monde.<br class="autobr" /> Si les tests sont concluants, il est clair que ce script a de l'avenir.</p> <p>Je viens à l'instant de tomber sur quelque chose de similaire, plus évolué en termes de fonctionnalités : <a href="http://www.webresourcesdepot.com/speed-up-modernize-websites-with-head-js/" class="spip_url spip_out auto" rel="nofollow external">http://www.webresourcesdepot.com/speed-up-modernize-websites-with-head-js/</a></p> <p>J'avoue avoir lu les descriptifs de jQI et Head <span class="caps">JS</span> un peu en diagonale, mais ça peut t'aider éventuellement pour peaufiner ton plugin.</p> jQl an asynchronous jQuery Loader 2010-12-03T09:53:10Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment25 2010-12-03T09:53:10Z <p>La réalisation et la technique sont intéressantes.</p> <p>Mais mettre les javascripts en bas de page ce n'est pas seulement pour que les autres requêtes ne soient pas bloquées. C'est aussi pour privilégier l'affichage graphique rapide par rapport au parsing javascript par exemple.</p> <p>Il faudrait faire des tests supplémentaires pour voir si ça n'a pas d'impact sur le start render et le rendu progressif des pages.</p> jQl an asynchronous jQuery Loader 2010-12-03T09:15:34Z https://www.yterium.net/jQl-an-asynchronous-jQuery-Loader#comment24 2010-12-03T09:15:34Z <p>Ca sert à rien ce truc</p>