Can we pass variable's value to new page when we click menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
deepak
Beginner
Beginner
Posts: 5
Joined: Tue Apr 03, 2007 12:20 pm

Can we pass variable's value to new page when we click menu

Post by deepak »

HI,

Is it possible that when we click on any option of menu,we can pass the variables's value of the current page in to the new page which is going to open by cliking on Menu.

if possible please reply me as soon as possible.

Thanx in advance.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

If you want to pass the URL's query string, you can do this:

aI("text=Test Item;url=index.html"+_L.search+");

HTH,
Andy
deepak
Beginner
Beginner
Posts: 5
Joined: Tue Apr 03, 2007 12:20 pm

Not dispaly Menu

Post by deepak »

Sry but it didnt work. When I am trying to put according to your syntex,whole menu will disappear.

so can u tell me what's the prob ???
deepak
Beginner
Beginner
Posts: 5
Joined: Tue Apr 03, 2007 12:20 pm

Post by deepak »

i got the solution of not dispalying the menu.But there is some other problem arise. When I am trying to change the variable name from _L.search to some other name,whole menubar will disappear.

So what could be the prob? Whether i have written a wrong syntex to pass the query on it may something else.


Thanx
forjaes
Beginner
Beginner
Posts: 5
Joined: Mon Jun 04, 2007 12:24 pm

Post by forjaes »

deepak wrote:i got the solution of not dispalying the menu.But there is some other problem arise. When I am trying to change the variable name from _L.search to some other name,whole menubar will disappear.

So what could be the prob? Whether i have written a wrong syntex to pass the query on it may something else.


Thanx
Hi...

Can you tell me what was the solution??
I'm aving the same problem..

Thx.
Post Reply