Advanced Tooltips Support Product Page

This topic is locked
Solved

Empty Tool tip message flashes on top left of browser and then disappears.

Reported 03 Jul 2011 18:34:18
4
have this problem
03 Jul 2011 18:34:18 peter hart posted:
I've updated a site with the latest tooltips, but now when the page is "refreshed" in IE 8 or Chrome (probably all browsers) a message flashes up "Empty Tooltip"
please see tinyurl.com/6g6aujq

its usually when the page is refreshed, but sometimes the first time it loads also.
I found another thread with the same problem and changed all the tooltip types from auto to image but still the message pops up.

Help! - this was and has been working for ages...

Replies

Replied 04 Jul 2011 09:27:07
04 Jul 2011 09:27:07 Miroslav Zografski replied:
Hello Peter,

Your code seems a bit distorted.
the scripts for the tool tip are before the head tag, you have 2 empty script tags in the head tag...
See to make your code similar to following :



  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<!-- InstanceBegin template="/Templates/mainv2.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- #BeginEditable "doctitle" -->
<title>Tail-Crate the fold flat, wheel free trailer</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="Tail-crate is the fold flat, wheel free trailer" />
<meta name="keywords" content="trailer,topbox,wheel free,Trailers,fold flat,Luggage,Scott Devereux,roof box,top box,waste transport,towing,car trailer, tail crate,tail-crate" />
<meta name="copyright" content="www.tail-crate.com" />
<meta name="author" content="www.tail-crate.com" />
<meta name="revisit-after" content="2 Weeks" />
<meta name="Robot" content="ALL" />
<meta name="rating" content="General" />
<link href="Styles/dmxpopup.css" rel="stylesheet" type="text/css" />
<link href="Styles/OS_Look/OS_Look.css" rel="stylesheet" type="text/css" />
<link href="Styles/iPod/iPod.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="ScriptLibrary/dmxTooltips.js"></script>
<script src="ScriptLibrary/advLayerPopup.js" type="text/javascript"></script>
<script type="text/javascript">
<script type="text/javascript">
<!--
function applyDMXTooltip(trigger) {//v1.5
	if (arguments.length < 3 || !arguments[2]) return true; // ignore empty tooltips
  window.stylesFolderName = 'Styles';
	var arg = {};
	var options = ['contentType', 'dataProvider','showEffect','easing','showAt',
  'showDirection', 'showDuration','showDelay','closeEvent','styleTheme',
	'showCloseBtn','onshow','onhide','mouseOffsetX','mouseOffsetY','x','y','w','h'];
  for (var i = 0; i < options.length && i < arguments.length-1; i++) {
		arg[options[i]] = arguments[i + 1];
	}
	showTooltip(trigger, arg);
}
//-->
</script>
<script type="text/javascript">
<!--
function hideDmxTooltip(d, s) {
	var delay = d || 1;
	var scope = s || window;
  var t = scope.tooltip;
	if(!t) return;
	window.setTimeout(function(){
		try {
			if (t.animated) {
				window.setTimeout(function() {
					hideDmxTooltip(delay, scope);
				}, 100);
				return;
			}
			t.style.visibility = 'hidden';
			t.target = null;
			t.animated = false;
		} catch(ex) {}
	}, delay);
}
//-->
</script>
<script type="text/javascript">
<!--
function dmxAdvLayerPopup(sTitle,sURL,sPopupName,sContent,sClass,nPositionLeft,nPositionRight,nWidth,nHeight,nAutoCloseTime,bDragable,bResizable,bOverlay,nOverlayOpacity,sIncomingEffect,sIncomingEffectEasing,nIncomingEffectDuration,bFadeIn,sOutgoingEffect,sOutgoingEffectEasing,nOutgoingEffectDuration,bFadeOut,sSlideEffect,nEffectTime,nSlideTime,bClosable,bWireframe,bgContentColor) { // v1.05
  var aURL, aSlides = sURL.split('|');
  if (aSlides && aSlides.length > 1) {
    aURL = [];
    for (var si=0;si<aSlides.length;si++) {
      var cf=aSlides[si],nW='',nH='',nS='';
      if (cf.substr(cf.length-1,1)==']') {
        var bd=cf.lastIndexOf('[');
        if(bd>0){
          var di=cf.substring(bd+1,cf.length-1);
          var da=di.split('x');
          nW=da[0];nH=da[1];
          if (da.length==3) nS=da[2];
          cf=cf.substring(0,bd)
        }   
      }      
      aURL[si] = new Object();
      aURL[si].src = cf;
      aURL[si].nWidth = (nW!=''?nW:nWidth);
      aURL[si].nHeight = (nH!=''?nH:nHeight);
      aURL[si].nDelay = (nS!=''?nS:nSlideTime);
    }  
  } else aURL = sURL;
  if (!cDMXPopupWindow) {
  	alert('The Advanced Layer Popup script is missing on your website!\nPlease upload the file ScriptLibrary/advLayerPopup.js to your live server.');
  } else {
    if (sClass == 'OS_Look') sClass = (navigator.userAgent.toLowerCase().indexOf('mac')!=-1?'dmxOSX':'dmxXP');  
    cDMXPopupWindow.buildWindow({sTitle: sTitle, sURL: aURL, sPopupName: sPopupName, sContent: sContent, sClass: sClass, aPosition: [nPositionLeft,nPositionRight], aSize: [nWidth,nHeight], nCloseDelay: nAutoCloseTime, bDragable: bDragable, bResizable: bResizable, bOverlay: bOverlay, nOverlayOpacity: nOverlayOpacity, sStartPosition: sIncomingEffect, sStartShowEffect: sIncomingEffectEasing, nIncomingEffectDuration: nIncomingEffectDuration, bFadeIn: bFadeIn, sEndPosition: sOutgoingEffect, sEndShowEffect: sOutgoingEffectEasing, nOutgoingEffectDuration: nOutgoingEffectDuration, bFadeOut: bFadeOut, sSlideEffect: sSlideEffect, nEffectTime: nEffectTime, nSlideTime: nSlideTime, bClosable: bClosable, bWireframe: bWireframe, sContentBgColor: bgContentColor });
  }  
  document.MM_returnValue = false;
}
//-->
</script>
<!-- #EndEditable -->
<link rel="stylesheet" type="text/css" href="/style2011.css" />
</head>


Regards,
Replied 04 Jul 2011 19:00:52
04 Jul 2011 19:00:52 peter hart replied:
thanks for the advice - I've changed to be like your example and it still produces the4 "empty tooltip" on page refresh, BTW the only time I add javascript is via your tools onto an existing bought templates which has some javascript. I notice sometimes when I run your extenstions they add in the code into the design view instead if the code view, which produces weird code... not sure if that has anything to do with this problem
but anyway the page www.tail-crate.com/index.php still produces the emptytooltip with the re-aranged code and removed empty javascript tags
I thought all I need to do was press a few buttons on the extension.
have I missed something? it was working in the previous version of tooltips..
Replied 04 Jul 2011 19:04:22
04 Jul 2011 19:04:22 peter hart replied:
ok - when the page is newly displayed the error "empty tooltip" does not appear. it only appears when the page is refreshed, indicating some variable is not being reset or it may be using existing values whne running? is this possible? some of your javscript is not initialising correctly when the page is <ctrl><f5> ?
Replied 05 Jul 2011 14:11:39
05 Jul 2011 14:11:39 peter hart replied:
any update? this is a live site and has bug I need to fix - or can I downgrade to the old version (that worked?)
Replied 27 Nov 2011 00:06:25
27 Nov 2011 00:06:25 Nikolaos Beligiannis replied:
Having the same problem. Trying to figure out what is going wrong. Any suggestions?
Thank you
Replied 31 Jan 2012 09:12:07
31 Jan 2012 09:12:07 David BK replied:
I've got the same issue too.
Replied 31 Jan 2012 10:05:20
31 Jan 2012 10:05:20 peter hart replied:
I gave up with this company - the add-ons only really work in their environments - if you have Dreamweaver with other add ons or you go back and modify an existing site, the adds ons play up. the support is always = "its something you have done" attitude - BTW - the Online Page don't buy it. its never worked and support just says - its works here, when they look at your code - its "your code looks wrong please redo it" yet the code is only ever created by the add ons so how can I do that?!
Replied 31 Jan 2012 10:50:48
31 Jan 2012 10:50:48 Teodor Kuduschiev replied:
Hello David,

Can you please provide a link to your page?

Hello Peter,

There is no way the extensions to work only on "our environment" as "our environment" is as any other "environment".

About the:
Quote"its something you have done" attitude

- the support is there to check your website/code and as long as there is a problem on your side you can't expect the support to tell you "There is no problem."
Please give us and our developers some credit for basic intelligence - you understand that at the time of the release the product has passed the tests.
About the Online Page Editor - i cannot agree with:
Quoteits never worked
. If you are having problems and one of the support guys told you that there is a problem in your code then there is a problem in your code. Please be a little more detailed in describing your problems than "It does not work" as this is not a big help for us to resolve your uissue.
Replied 31 Jan 2012 11:02:18
31 Jan 2012 11:02:18 David BK replied:
Teodor, the website I'm working on is a confidential project on behalf of a client, which is not yet ready to be publicly announced. Is it possible to send you the address privately rather than stating it on the forum?

David
Replied 31 Jan 2012 11:03:11
31 Jan 2012 11:03:11 Teodor Kuduschiev replied:
Please use
thanks
Replied 31 Jan 2012 12:29:49
31 Jan 2012 12:29:49 peter hart replied:
ok, check the start of this thread..check the lack orf replies to mine and Nicolas. I got no reply so gave up on the tooltips and used someone else's solution it was a site that needed to go live some 6 months ago

DMX add-on's generate the code, there is no user generated code, dreamweaver generates the template, I add content and insert your add-on they don't work - which is sort of ok as you can't be expected you to test every environment, but no replies to forums (see above) I can't wait ..

the next problem was www.dmxzone.com/forum/topic/51534/?newsId=18529 again about 9 months ago - it was new so probably had problems but it didn't work in my dreamweaver environment and the support didn't really give me give me confidence so again, heard nothing back from the site export. again - found another solution.

- I would be interested to see the solution to the empty tips
Replied 08 Feb 2012 15:02:50
08 Feb 2012 15:02:50 peter hart replied:
David (David BK)
did you get it sorted?
is the solution worth sharing here ?
Replied 10 Aug 2012 21:01:58
10 Aug 2012 21:01:58 Amy Cast replied:
What is the resolution to this problem? I cannot sort it out from the thread posted. Thanks!
Replied 10 Aug 2012 23:52:22
10 Aug 2012 23:52:22 peter hart replied:
there is no resolution - I gave up and stopped using the extension, support never acknowleges a problem and so never fixes it.
Replied 01 Oct 2012 15:09:17
01 Oct 2012 15:09:17 Alessandro Manente replied:
I have the same problem infew sites I had used the tooltip extension
Replied 10 Nov 2012 19:28:55
10 Nov 2012 19:28:55 Sam Bisignano replied:

Teodor,

I have the same problem with this.

I have reviewed your PDF documentation and followed the documentation like a tutorial and I also get the Empty Tooltip message at the top of the page.

Also my tool tip only displays at the top of the page. I have a very simple html page that doesn't work.

<html>

<head>
<title>Untitled Document</title>
<script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="ScriptLibrary/dmxTooltips.js"></script>
<script type="text/javascript">
<!--
function applyDMXTooltip(trigger) {//v1.5
if (arguments.length < 3 || !arguments[2]) return true; // ignore empty tooltips
window.stylesFolderName = 'Styles';
var arg = {};
var options = ['contentType', 'dataProvider','showEffect','easing','showAt',
'showDirection', 'showDuration','showDelay','closeEvent','styleTheme',
'showCloseBtn','onshow','onhide','mouseOffsetX','mouseOffsetY','x','y','w','h'];
for (var i = 0; i < options.length && i < arguments.length-1; i++) {
arg[options[i]] = arguments[i + 1];
}
showTooltip(trigger, arg);
}
//-->
</script>
</head>

<body>

<p>&nbsp;</p>
<p>Create Rich Media ToolTips, provide online help, zoom in to images, display <a href="#" onMouseOver="applyDMXTooltip(this,'','Rich Conent contains a combination of content forms.','fade','easeOutQuad','bottomright','out',600,600,'mouseout','blue',false,'','',0,0,'auto','auto','auto','auto')">rich content</a> and tips with just a few clicks.</p>
<p>&nbsp;</p>


</body>
</html>


Any comments would be much appreciated.

Thanks
Replied 18 Sep 2013 12:02:50
18 Sep 2013 12:02:50 Adel MHARI replied:
Hi All

To make you tooltips work correctly ,if you are using a LAMP server and a styles folder named "styles" .
Change "Styles" with "styles" on line #8 in ScriptLibrary/dmxTooltips.js

Best Regards
Replied 05 Dec 2013 10:18:33
05 Dec 2013 10:18:33 Teodor Kuduschiev replied:
Hello,
The issue was fixed in the latest update.
This reply was removed on 3/29/2023 8:24:13 AM.
See the changelog
This reply was removed on 3/29/2023 8:24:32 AM.
See the changelog
This reply was removed on 3/29/2023 8:24:36 AM.
See the changelog
This reply was removed on 3/29/2023 8:24:27 AM.
See the changelog
This reply was removed on 3/29/2023 8:24:21 AM.
See the changelog

Reply to this topic