Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

How to integrate images in tooltips for MaxDiffScaling version 9.0

Hello,

I´m working with version 9.0 and I´m trying to create a tooltip showing an image by sliding with the cursor over the lines of a MaxDiffScale. My problem is that the tooltip is working for a simple text but not for an image. When I try to integrate an image instead of a text, an errror message is shown saying that the ] is not valid. But I didn´t change anything of the formula, I simply replaced the text by a picture in jpg-format.  

Do you have any solutions for my problem? Are there problems because of the format of the picture? Or is it simply not possible to show a picture by sliding with the cursor over the single lines of a MaxDiffScale?

Thanks in advance for your help!

Kind regards
Maike
asked May 11, 2016 by Maike

1 Answer

0 votes
It sounds like you might be using the GraphicsPath script within the ToolTip script.  Is this right?  If so, here's an example of the code to get it working right:

[% ToolTip("hover here!", "<img src=" & GraphicsPath() & "mypicture.png>") %]
answered May 11, 2016 by Zachary Platinum Sawtooth Software, Inc. (173,775 points)
Thank you, Zachary!

That sounds logic. Thank you for your helpful response! It should work then.
...