Advanced Tooltips Support Product Page

Answered

Tooltips stopped working.....

Asked 23 Jun 2014 15:00:14
1
has this question
23 Jun 2014 15:00:14 jefferis peterson posted:
I checked that the files are uploaded: www.pavers-retainingwalls.com/topsoil.php
Firefox gives these errors:
ReferenceError: jQuery is not defined dmxTooltips.js:40
Use of Mutation Events is deprecated. Use MutationObserver instead. script.js:20
ReferenceError: showTooltip is not defined topsoil.php:38
//line 38 is } showTooltip(trigger, arg);}

Replies

Replied 23 Jun 2014 15:20:50
23 Jun 2014 15:20:50 jefferis peterson replied:
Hmmm... I opened the page in DW and clicked on the behaviors in the panel. Opened and closed the panel without changing anything, and DW re-uploaded files and the page is now working. Not sure why that failed after it had been working before...
Do see these errors though in FF:
SyntaxError: Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead jquery-latest.pack.js:1
Error: www.pavers-retainingwalls.com/ScriptLibrary/jquery-latest.pack.js is being assigned a //# sourceMappingURL, but already has one
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help xhr.spec.whatwg.org/ jquery-latest.pack.js:6
Use of Mutation Events is deprecated. Use MutationObserver instead. script.js:20
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery-latest.pack.js:5
Replied 23 Jun 2014 17:40:30
23 Jun 2014 17:40:30 jefferis peterson replied:
UPDATE::: !! !!!
The issue returns every time I do a template update and re-upload the files.
There should be no changes in the header or content area that would affect this because the script link is in the editable area on this page!

I notice that when I update the script (see video) this line about jquery is removed from the editable header and the page works again.
<script type="text/javascript" src="/ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="/ScriptLibrary/dmxTooltips.js"></script>


screencast.com/t/X9FN0HBZ
Replied 01 Jul 2014 08:32:15
01 Jul 2014 08:32:15 Teodor Kuduschiev replied:
Hello,
I don't see anything strange on the link you provided. It is all as it should be - the jquery include is outside of the editable region and the tooltip include is after it in the editable region.
Replied 01 Jul 2014 15:40:41
01 Jul 2014 15:40:41 jefferis peterson replied:
Each time I have had to open a page, reapply the tool tip and then re load it after I have done a template global update. You are seeing the fixed version.

Reply to this topic