Hi,
I have a drop down menu on a site which has a total of 22 links.
We currently use a site that is not advertised so that our customers can go in and look at how their site is developing before it is published with the url's they have specified.
The drop down menu is from opencube. ( It is the DHTML Quick Menu and all links within the menu are in a script. Whenever we want to publish a site we will have to edit this script to change all url's.
Is there a bit of Javascript I can include to find the first part of the url
eg. the /aboutus bit will stay the same but the bit will change. The script will have to find out what the first part of the address is automatically so all links can auto update.
I hope I have explained this prob OK if not a bit long winded.
Thanks
I have a drop down menu on a site which has a total of 22 links.
We currently use a site that is not advertised so that our customers can go in and look at how their site is developing before it is published with the url's they have specified.
The drop down menu is from opencube. ( It is the DHTML Quick Menu and all links within the menu are in a script. Whenever we want to publish a site we will have to edit this script to change all url's.
Is there a bit of Javascript I can include to find the first part of the url
eg. the /aboutus bit will stay the same but the bit will change. The script will have to find out what the first part of the address is automatically so all links can auto update.
I hope I have explained this prob OK if not a bit long winded.
Thanks