PDA

View Full Version : HV Menu and Special Characters?



dmwhipp
04-25-2007, 03:37 PM
1) Script Title: HV Menu 5.5

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...menu/index.htm

3) Describe problem: This menu is perfect for our needs and we are very pleased with it so far. However, is there a way to add special characters in the menu titles.

Example:
http://host536.ipowerweb.com/~floridac/index.html

On the first item in Leadership pop out, the name Padron should actually have an accent on the letter "o". I tried adding \ó but that didn't work.

Thanks in advance,
Deborah

jscheuer1
04-25-2007, 04:28 PM
Try:

\xf3

f3 is the hex equivalent of the character (a lower case acute o). \x tells javascript to interpret the next characters as a hex reference to a character.

I'm not certain that this will work. But, I seem to remember that it did with this menu.

Also, when trying to use ó no preceding slash should be required. It will either work 'as is' or not.

dmwhipp
04-25-2007, 04:53 PM
Thanks again John - it worked perfectly.

I've just bookmarked a site showing the hex codes of characters in case I need it for the future.

Appreciate your help!
Deborah