Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

All my Jquery code will not work

More
IP: 112.94.113.160 13 years 4 months ago #2557 by wzyefd87
Hi,
I have a problem after installing the jqueryeasy.
All my Jquery code will not work.
even though the simply code such as:
Code:
<script type="text/javascript"> jQuery(document).ready(function(){ alert('11111'); } </script>
.

These codes will work if I disable Jqueryeasy plugin.
More
IP: 207.229.172.231 13 years 4 months ago #2558 by admin
Hello,
that is probably a setting issue.
Have you opened your site's source code and checked if the jQuery library is properly loaded by the plugin?
A good way to understand what is going on is to show the report (from the 'other' options tab).
Please provide a valid URL of your site for further inquiries, it will help in finding what is going wrong.

Olivier.
More
IP: 112.94.81.113 13 years 4 months ago - 13 years 4 months ago #2561 by wzyefd87
Thanks for your replay.
I have upload a test site online.
Please check it on hexu.me/test
user:XXX
password:XXX.
I new a module with flexi custom module on all the pages and place it in debug.
The code:
Code:
<script type="text/javascript"> jQuery(document).ready(function(){ alert('111'); }) </script>
I have found the reason why my jquery code doesn't work.
It caused by the hikashop,but I don;t know how to fix the conflict.
Last edit: 13 years 4 months ago by admin.
More
IP: 207.229.172.231 13 years 4 months ago #2562 by admin
Thanks for the info.
Your main issue here is your template... it packages MooTools and jQuery in specific files and it does not allow any changes with the jQuery Easy plugin. This is one case where the template developers optimize their template to the point that you have no choice but use their code. For instance, jQuery is packaged in /test/index.php?jat3action=gzip&amp;jat3type=js&amp;jat3file=t3-assets%2Fjs_95bcd.js with other libraries. If the template does not allow you to disable jQuery from its options, using jQuery Easy is of no use for you, I am afraid. Make sure all extensions you are using have jQuery disabled.

Olivier.
More
IP: 207.229.172.231 13 years 4 months ago #2563 by admin
I went to your admin console.
The only way to use jQuery Easy is to actually go to your template's global options and disable Optimize JS altogether.
But then, you loose on this optimization...

Olivier.
More
IP: 112.94.114.90 13 years 4 months ago #2564 by wzyefd87

admin wrote: I went to your admin console.
The only way to use jQuery Easy is to actually go to your template's global options and disable Optimize JS altogether.
But then, you loose on this optimization...

Is there other plugins for Optimize JS if I disable the Jat3 template's Optimization function?