Developer forum

Forum » Templates » Only hashtag in menu

Only hashtag in menu

Peter Greve Assentorp
Reply

Hi.

 

I'm currently trying to implement some javascript in a navigation, to get an item to unfold. I've managed to get an ID on the a-tag, but when I insert a href through XSLT it append the URL which leave me with something like this:

<a href="/Forside.aspx?Purge=True#open" id="contact">Kontakt</a>

 

What I'm trying to achieve is this:

<a href="#open" id="contact">Kontakt</a>

 

How do i solve this?

 

 

 

Screen_Shot_2012-09-21_at_11.56.57.png

Replies

 
Morten Bengtson
Reply

Go to Management Center > System > Solution Settings.

Make sure that Disable href="#name" parsing is checked.

 

/Morten

 
Peter Greve Assentorp
Reply

 So simple. Thanks Morten :)

 

You must be logged in to post in the forum