Menu stripping urls problem

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
SteveW
Beginner
Beginner
Posts: 3
Joined: Sun Jul 27, 2008 9:34 am

Menu stripping urls problem

Post by SteveW »

Hi - I use your brilliant menu at my non-profit website at http://www.alienexistence.com.

I have been trying to use urls like:

/index.php?action=profile;sa=statPanel
/index.php?action=profile;sa=account

But what is happening is it strips anthing after the ; symbol so the urls above look like:

/index.php?action=profile
/index.php?action=profile

What would I need to do to preserve these types of urls with ; in the address?

Many thanks :-)
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Menu stripping urls problem

Post by Ruth »

Hi,

You need to 'escape' all the url since the menu gets confused if it has a semi-colon assuming that is the end of the particular statement.

So, for example, in the following the whole url has been wrapped in single quotes, no space though, I only put that there so you could see it better. You would do the same with your url

Code: Select all

url=' http://www.mysite.com/MyApp/myservlet;jsessionid=1E6FEC0D14D04429ED?_option=XX ';"); 
Hope this helps.

Ruth
SteveW
Beginner
Beginner
Posts: 3
Joined: Sun Jul 27, 2008 9:34 am

Re: Menu stripping urls problem

Post by SteveW »

Thankyou Ruth worked a treat. I couldn't work it out initially as i used a ' symbol (under the @) instead of ` which works fine :)

many thanks
Post Reply