PDA

View Full Version : Pop-it menu using '\' in <A HREF> tag



emozley
01-15-2005, 05:53 PM
Hi,

Does anyone know how to make the Pop-it menu allow the use of \ in the A HREF tag?

In my <HEAD> section I have:

linkset[0]='<div class="menuitems"><a href="file://PC008\c$\Documents and Settings\emozley\desktop">User Desktop</a></div>'

but when I hover over the link in the menu it says in the status bar it is going to link to:

file://pc008c$documents and settingsemozleydesktop

Any help much appreciated

Ed Mozley

emozley
01-17-2005, 03:49 PM
The secret is to replace \ with &#92; in the A HREF tag

no idea why this works but it does!

emozley
01-17-2005, 06:09 PM
what I mean to say was replace the \ with & # 9 2 ; without the spaces which is the ASCII code for a \