Forums / General Questions / Ajax Tooltips

Ajax Tooltips

Results 1 to 6 of 6
27 Feb 2012, 19:21
#1
snorkerz avatar

snorkerz

New Zenner

Join Date:
Jan 2012
Posts:
34
Plugin Contributions:
0

Ajax Tooltips

Having followed the thread http://www.zen-cart.com/forum/showthread.php?t=125869 which is now closed I can not get ajax tooltips to work.

I think the main problem is that on my rendered pages, the header includes:
[html]
<script type="text/javascript" src="includes/templates/andover_modern/jscript/jscript_ ajax-dynamic-content.js"></script>
<script type="text/javascript" src="includes/templates/andover_modern/jscript/jscript_ ajax-tooltip.js"></script>
<script type="text/javascript" src="includes/templates/andover_modern/jscript/jscript_ ajax.js"></script>
<script type="text/javascript" src="includes/templates/andover_modern/jscript/jscript_jquery.js"></script>
[/html]
The first 3 are added by Ajax, but should not have the space between jscript_ and the rest of the filename.

I can not understand why the header does this for the Ajax files and not the regular jscript_jquery.js

There is a sample of this here (ezpage)
http://tenancyservices.snorkerz.com/cart/index.php?main_page=page&id=7

The code is applied to "Your Higlighted Word" at the end of the descriptions

I have checked the includes/templates/andover_modern/jscript folder, and all the js files are without the gap
http://www.tenancyservices.co.uk/includes/templates/andover_modern/jscript/js_files.JPG
28 Feb 2012, 01:41
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Ajax Tooltips

It appears that the domain/URL you're trying to display in your popup is invalid.
01 Mar 2012, 09:38
#3
snorkerz avatar

snorkerz

New Zenner

Join Date:
Jan 2012
Posts:
34
Plugin Contributions:
0

Re: Ajax Tooltips

You were right DrByte, which I have corrected and for some reason that has removed the errant space - but it doesn't seem to have chaged anything in so far as the tooltip still does not apply :(

Any further ideas would be appreciated.
01 Mar 2012, 18:01
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Ajax Tooltips

I'm not understanding why you think this needs to be ajax-driven at all. Why not just javascript popups, instead of triggering background ajax processes on the server?
01 Mar 2012, 21:33
#5
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Posts:
1,558
Plugin Contributions:
1

Re: Ajax Tooltips

snorkerz:

You were right DrByte, which I have corrected and for some reason that has removed the errant space - but it doesn't seem to have chaged anything in so far as the tooltip still does not apply :(

Any further ideas would be appreciated.


The tooltip is working its just at the very very bottom left of the page, if you are using a browser with zoom set the zoom to around 40% and the mouse over the link and you should see the pop-up.
03 Mar 2012, 12:27
#6
snorkerz avatar

snorkerz

New Zenner

Join Date:
Jan 2012
Posts:
34
Plugin Contributions:
0

Re: Ajax Tooltips

Wow - found the pop-up!

Now it's just a matter of working out how to get it where visitors can see it!!!