Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:42

How do I add an apostrophe in my menu tooltip?


Poster: kree777
Dated: Friday June 3 2005 - 13:16:34 BST

This probably has a really simple solution. :D
I am trying to build a menu tooltip with an apostrophe included in it.
e.g. Cat's whiskers
This is what the code looks like...

aI("text=Cat's Whiskers;url=http://www.test.co.za;target=newWindow;onfunction=showtip('Please read for full details of Cat's privacy policies');");

Some help please ;)


Poster: Andy
Dated: Friday June 3 2005 - 14:31:58 BST

It's not as easy as it perhaps should be to add apostrophes to the onfunction.

However, you can use the ISO Standard Character Code of & #039; like this:

aI("text=Cat's Whiskers;url=http://www.test.co.za;target=newWindow;onfunction=showtip('Please read for full details of Cat& #039;s privacy policies');");

PS - don't forget to remove the space between the & and #

Hope this helps
Andy


Poster: kree777
Dated: Friday June 3 2005 - 14:46:38 BST

Ah! I see :D
Works like a charm!