I’m having problems using <BASE HREF /> with my drop down menu.
Basically the menu is setup using wayfinder correctly and the menu functions corectly. However taking the example below:
>HOME | link= "/index.php?=1"
>SERVICE | link= "/index.php?=2"
>SERVICE#1 | link= "#"
>Information | link= "/index.php?=4"
>Why | link= "/index.php?=5"
>SERVICE#2 | link= "/index.php?=6"
The problem i have is they all link to pages and are clickable. If you take a look at the resource SERVICE#1, this has a link href of ="#". The reason for this is that i have created it as a weblink and pointed it to "#" because i don’t want this as a page just a menu item that if clicked does nothing but yet stays with its children resource expanded on hover so they are clickable.
The problem i have is that in the source code it produces the correct code <a href="#"> but with <BASE HREF /> being declared in the header the link when clicked is replaced by "http:mydomain.co.uk/#". This means that the menu item SERVICE#1 once clicked, refreshes the page and contracts all the hovered children resources, rather than doing nothing and keeping the menu expanded.
SO in a nut shell i need it to ignore the base href on this one link, is there anyway i can do this, because if iremove BASE HREF the menu performs as i want??
Ideally i don;t want to have to remove base href and make sure all my paths are referenced absolute.....!