Dashboards & Visualizations

How to create a hyperlink in main menu

aditsss
Builder

Hi Everyone,

I need to create one hyperlink in my top menu bar.

I tried with following code. But its not working.

<collection>
<li><a href="O2 Team">O2 Team</a></li>
</collection>

I just want it as a static link as of now.

Can someone guide me how to create it.

 

Labels (3)
0 Karma

bowesmana
Super Champion

You need to add a label="xxx" to your <collection> and remove the <li> from the line, e.g.

<collection label="This is the label for your collection">
  <a href="O2 Team">O2 Team</a>
</collection>  

but that will create a drop down menu with the label and your link will be in that menu.

If you just use the <a> line without <collection>, then you will have a single entry in your menu with the link to your href

 

0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!