Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sidebar toolbar buttons/links #87

Merged
merged 1 commit into from
Sep 19, 2016
Merged

Conversation

MicahStevens
Copy link
Contributor

Updated to allow non-expanding links in sidebar. Useful if you want a direct toolbar button in the list. To use, just ditch the href='#something' and use a non hash tag, or a click event.

<div class="sidebar-tabs">
            <ul role="tablist">
                <li><a href="#menu" role="tab"><i class="fa fa-bars"></i></a></li>
                <li><a href="#edit" role="tab"><i class="fa fa-plus"></i></a></li>
<!-- onclick example -->
                <li><a role="tab" onClick="alert('bookmark!');"><i class="fa fa-bookmark"></i></a></li>
<!-- link example -->
                <li><a href="/" role="tab"><i class="fa fa-home"></i></a></li>
            </ul>
</div>

@MicahStevens MicahStevens changed the title Changed to look for the href='# as suggested by @Turbo87, this elimin… Sidebar toolbar buttons/links Sep 18, 2016
@MicahStevens
Copy link
Contributor Author

I screwed up my other commit and when I reset the head, github closed the request. But I think this fits what you were looking for, and it's way simpler.

@Turbo87
Copy link
Owner

Turbo87 commented Sep 19, 2016

awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants