ó etc.

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
com2
Beginner
Beginner
Posts: 6
Joined: Mon Nov 10, 2003 5:11 pm

ó etc.

Post by com2 »

Could it be that you cannot use all these foreign characters in menu text? I have the impression that the semicolon in there will be interpreted as end of text, is that right? How would you do it the right way?

And how would you use semicolons in menu text? Can you escape it with backslash?

I would like to know the same think for text in showtip.
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Character codes are okay, let us know if it appears otherwise.

Regards,
maz
User avatar
Martin
Mega User
Mega User
Posts: 113
Joined: Fri Jul 05, 2002 11:57 pm
Location: Zollikon, Switzerland

Post by Martin »

It's also important to know, that e.g. the french language uses the '-sign often. You have to escape this sign: l'amour will be l\'amour.
cheers

====================================
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
====================================
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Thanks,

Yes even in good English we have the apostrophe :D
maz
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

The system is smart enough to know that something like   is a non-breaking space and so add this as a character without breaking the text string.

However, there are times when this may fail usually because you have included an equals sign as well as a semi colon. In this instance you would need to use back quotes, like this.

Code: Select all

aI("text=`Here  is an equal sign "="`;url=#");
Note the use of "Back Quotes" rather than a normal quote mark.

Hope this helps
Andy
Last edited by Andy on Sat Jan 31, 2004 10:10 am, edited 3 times in total.
com2
Beginner
Beginner
Posts: 6
Joined: Mon Nov 10, 2003 5:11 pm

Post by com2 »

I just was trying to debug a PHP generated menu file that wouldn't show the menu. Thanks to your answers I will now look for other possible causes.
com2
Beginner
Beginner
Posts: 6
Joined: Mon Nov 10, 2003 5:11 pm

showtip and ó

Post by com2 »

Andy wrote: The system is smart enough to know that something like   is a non-breaking space and so add this as a character without breaking the text string.
Is showtip() as smart as aI() in this respect?
Post Reply