Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Script still not working after installing Plugin

More
12 years 2 weeks ago #1156 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.

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #1159 by admin
Hello,
you have a mistake in the code:
jQuery(document).ready(function(){
should be replaced by
jQuery(document).ready(function($){
Should be all!

Olivier.

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #1165 by sene
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

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #1166 by admin
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
jQuery(document).ready(function($){    
      $('#wrapper')...
or
jQuery(document).ready(function(){    
      jQuery('#wrapper')...
Anything else and it won't work for sure.

Olivier.

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #1167 by sene
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!

Please Log in or Create an account to join the conversation.

More
12 years 2 weeks ago #1168 by admin
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
<!-- custom php here -->
207.229.131.129OPRA
<script>
    jQuery(document).ready(function(){
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...

Olivier.

Please Log in or Create an account to join the conversation.