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: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:32

How to put spaces in links


Poster: outofcontrol
Dated: Wednesday April 30 2003 - 12:13:03 BST

Hi

I have troubles with own links in my PC where I've got spaces, for example, I've got an space in my directory "My Music" and for this reason it's not possible to find the archive because the directoy it's not recognized

addmenu(menu=["Music",
,,100,1,"",plain_style,,"left",effect,,,,,,,,,,,,
,"Top 40","../My Music/top40.htm target=_blank",,,
])

What must i do to solve this problem?

Thnks


Poster: John
Dated: Wednesday April 30 2003 - 20:52:44 BST

If at all possible, it's usually best not to have spaces in URLs (or directory names that are involved in URLs). However, if you're stuck with it then simply use a %20 for the space. In your case that would be...

../My%20Music/top40.htm - etc.