- 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!
Script still not working after installing Plugin
- sene
-
Topic Author
- New Member
-
Less
More
IP: 222.155.44.222
14 years 2 weeks ago #1156
by sene
Script still not working after installing Plugin was created by sene
Hi, I've tried everything I can to get this JQuery tooltip effect to work on my Joomla 2.5 website for this page
opra.infatech.net.nz/about-us
. But I can't seem to get it to work in Joomla - it works fine as an html page see here
opra.infatech.net.nz/map-test.html
Can you please look at the source code and see if they can help me please.
Can you please look at the source code and see if they can help me please.
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
14 years 2 weeks ago #1159
by admin
Olivier.
Replied by admin on topic Re: Script still not working after installing Plugin
Hello,
you have a mistake in the code:
should be replaced by
Should be all!
you have a mistake in the code:
Code:
jQuery(document).ready(function(){
Code:
jQuery(document).ready(function($){
Olivier.
- sene
-
Topic Author
- New Member
-
Less
More
- Posts: 4
IP: 222.155.44.222
14 years 2 weeks ago #1165
by sene
Replied by sene on topic Re: Script still not working after installing Plugin
Thank you for replying but I tried that it and the page won't load. Any other ideas?
Below the map I've added a wrapper which shows the tooltips but they get cut because they are framed, so would really like to get it sorted in the Joomla article. Thanks
Below the map I've added a wrapper which shows the tooltips but they get cut because they are framed, so would really like to get it sorted in the Joomla article. Thanks
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
14 years 2 weeks ago #1166
by admin
Olivier.
Replied by admin on topic Re: Script still not working after installing Plugin
I am really surprised the page would not load just by adding the '$' that is missing. What error do you get when doing so?
You have no way around it: your javascript can not work because the '$' represents MooTools and not jQuery in your page.
So either you use
or
Anything else and it won't work for sure.
You have no way around it: your javascript can not work because the '$' represents MooTools and not jQuery in your page.
So either you use
Code:
jQuery(document).ready(function($){
$('#wrapper')...
Code:
jQuery(document).ready(function(){
jQuery('#wrapper')...
Olivier.
- sene
-
Topic Author
- New Member
-
Less
More
- Posts: 4
IP: 222.155.44.222
14 years 2 weeks ago #1167
by sene
Replied by sene on topic Re: Script still not working after installing Plugin
No it's still not working. The first one doesn't load the page and just shows an email address in firefox the load icon just keeps spinning around. The second code loads the page but not the tooltips!
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.229.131.129
14 years 2 weeks ago #1168
by admin
Olivier.
Replied by admin on topic Re: Script still not working after installing Plugin
I still maintain what you have to do to make it work.
The change I ask you is not what affects your page. There is an error somewhere else, probably linked to the fact that there is
in your page.
When you make the changes I suggested, your code is interpreted as it should but the browser interprets the '<' and such as html, not as script.
You have to clean up your code, I cannot tell if this is coming from your template, an extension or your own code...
The change I ask you is not what affects your page. There is an error somewhere else, probably linked to the fact that there is
Code:
<!-- custom php here -->
207.229.131.129OPRA
<script>
jQuery(document).ready(function(){
When you make the changes I suggested, your code is interpreted as it should but the browser interprets the '<' and such as html, not as script.
You have to clean up your code, I cannot tell if this is coming from your template, an extension or your own code...
Olivier.
