Single quote within tooltips

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
galneweinhaw
Advanced
Advanced
Posts: 10
Joined: Sat Apr 01, 2006 9:32 pm

Single quote within tooltips

Post by galneweinhaw »

Heya!

Is there a way to use a single 'quote' within the tooltips?

if there is a singel quote within the string then the tip doesn't pop up.

I've tried the raw ' as well as escaped \' but they both stop the tip from popping up.

thanks!
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Not sure about this, but try a double single (huh?); i.e., ''.
John
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

Try using multiple slashes (either two or three):

"The weather'\\\s great!"
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

There is demo of this working at http://milonic.com/tooltips.php

The line with quotes in is:

Code: Select all

aI("text=Including 'Single' and "Double" Quotes inside Tooltips;tooltip=Single Quotes: \\'Inside\\' - Double Quotes "Inside";");
Hope this helps
Post Reply