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:11

Semicolons in URLs


Poster: bobbitt
Dated: Thursday March 12 2009 - 15:55:29 GMT

Hi all,

I've hit a minor snag with the DHTML menu. Some of the URLs I want to use have a ; in them, which of course causes the menu to think a new attribute is being passed in. I found the solution and wanted to post in in case others are also struggling with this. Simply replace the ; with %3B in the URL.

So for example:

http://Domain.com/forums/index.php?action=pm;sa=send

becomes:

http://Domain.com/forums/index.php?action=pm%3Bsa=send

Hope that helps

Cheers
Mike

Re: Semicolons in URLs


Poster: Andy
Dated: Thursday March 12 2009 - 16:02:41 GMT

Hi Mike,

Thanks for your post.

There is another way, just surround the url in backquotes, like this:

aI("text=test;url=`http://Domain.com/forums/index.php?action=pm;sa=send`");

This way the menu will know not to parse the semi colon in the url

-- Andy

Re: Semicolons in URLs


Poster: bobbitt
Dated: Thursday March 12 2009 - 19:28:59 GMT

Good to know, thanks Andy!