- Posts: 4
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
- wzyefd87
-
Topic Author
- New Member
-
Less
More
IP: 112.94.113.160
13 years 4 months ago #2557
by wzyefd87
All my Jquery code will not work was created 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:
.
These codes will work if I disable Jqueryeasy plugin.
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.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.172.231
13 years 4 months ago #2558
by admin
Olivier.
Replied by admin on topic Re: All my Jquery code will not work
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.
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.
- wzyefd87
-
Topic Author
- New Member
-
Less
More
- Posts: 4
IP: 112.94.81.113
13 years 4 months ago - 13 years 4 months ago #2561
by wzyefd87
Replied by wzyefd87 on topic Re: All my Jquery code will not work
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:
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.
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>
It caused by the hikashop,but I don;t know how to fix the conflict.
Last edit: 13 years 4 months ago by admin.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.172.231
13 years 4 months ago #2562
by admin
Olivier.
Replied by admin on topic Re: All my Jquery code will not work
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&jat3type=js&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.
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&jat3type=js&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.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.172.231
13 years 4 months ago #2563
by admin
Olivier.
Replied by admin on topic Re: All my Jquery code will not work
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...
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.
- wzyefd87
-
Topic Author
- New Member
-
Less
More
- Posts: 4
IP: 112.94.114.90
13 years 4 months ago #2564
by wzyefd87
Replied by wzyefd87 on topic Re: All my Jquery code will not work
Is there other plugins for Optimize JS if I disable the Jat3 template's Optimization function?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...
