Trying to use http://labs.abeautifulsite.net/jquery-dropdown/ for a simple drop down menu but for some reason, I cannot get it to work.
<a href="#" data-dropdown="#dropdown-1">dropdown</a>
<div id="dropdown-1" class="dropdown dropdown-tip">
<ul class="dropdown-menu">
<li><a href="#1">Item 1</a></li>
<li><a href="#2">Item 2</a></li>
<li><a href="#3">Item 3</a></li>
<li class="dropdown-divider"></li>
<li><a href="#4">Item 4</a></li>
<li><a href="#5">Item 5</a></li>
<li><a href="#5">Item 6</a></li>
</ul>
</div>
What am I doing wrong? It's probably something really simple but I'm just not seeing it.
Your files from github weren't getting included properly in the fiddle. I copied pasted the JS and CSS in the fiddle and it works fine. Here is the working fiddle.
enter code here
Check this Fork
:- http://jsfiddle.net/KHteX/
Just include styles in the styles box in the fiddle and you should see it coming up.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.