javascript parameter in url

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
NickW
Beginner
Beginner
Posts: 1
Joined: Mon May 30, 2005 3:48 pm

javascript parameter in url

Post by NickW »

I'm using the following code for one of the menu items:
aI("title=Home;url=/index.php?osCsid=;image=/catalog/img/menu/home.gif;overimage=/catalog/img/menu/home_on.gif;status=Back To Home Page;");

Between osCsid= and ; how can I insert a javascript variable (I've already set the variable's value within php tags within javascript tags earlier in the code)?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi Nick,

I think our 'resident' javascript person is out of town this week. I don't know a danged thing about that, however I did find a couple of topics which talk about javascript in the url and one in which the person is using the mscssid= in the url

I'm posting the links here, but since I don't know javascript they may be of no use to you. Fingers crossed is a good thing :)

Topic 1
Topic 2 Bobwill use that in the menu_data.js file he has posted a couple of the url parameters have that in them.
Topic 3

As I said I don't know if any of this are remotely related to what you are asking. Good Luck

Ruth
Post Reply