I'm following this: http://getbootstrap.com/2.3.2/javascript.html#dropdowns
1) It says: To keep URLs intact, use the data-target attribute instead of href="#".
and then href="/page.html"
. I assume /page.html
refers to the page you're currently on. Is that true? I'm using rails, and I have the dropdown code on a page that has a different url depending on what colleges page you're visiting. So what would I put for the href then? Would it be easier to just forget it and just use href="#"
?
2) It doesn't explain what to put inside here:
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
...
</ul>
Is it just the typical <li><a href="#"></a></li>
?