Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Node tooltips on ImageMap show HTML (look fine in JavaApplet) (Read 1613 times)
jlj30
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 183
Joined: Sep 4th, 2011
Node tooltips on ImageMap show HTML (look fine in JavaApplet)
Feb 5th, 2013 at 8:44pm
Print Post  
Hi,

I have specified tooltip text on all of my diagram nodes as follows:

node.ToolTip = "<html><div width='300' style='background-color: #FFFF99; font-size: medium;'>" + toolTip + "</div></html>";

The text renders fine when rendering the diagram using the JavaApplet, but shows the HTML in ImageMap mode.

Is this a bug, restriction or is there something else that I need to do to avoid the HTML showing in the tooltip?

Thanks

Jim
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Node tooltips on ImageMap show HTML (look fine in JavaApplet)
Reply #1 - Feb 6th, 2013 at 6:54am
Print Post  
Hi,

You will have to strip the html tags when in ImageMap mode. They happen to work in applet mode only because Java has built-in support for showing html-formatted tooltips.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint