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

Positioning of toolbar #35

Open
gijsvanzon opened this issue Mar 21, 2014 · 2 comments
Open

Positioning of toolbar #35

gijsvanzon opened this issue Mar 21, 2014 · 2 comments

Comments

@gijsvanzon
Copy link

In your documentation your referring to positions: top, bottom, left or right.

jquery.toolbars.js however only supports top and left. When bottom and right are used no coordinates are return by self.getCoordinates();

@rajuarien
Copy link

included this in head

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"/></script> <script src="/js/prettify.js"></script> <script src="/js/jquery.toolbar.js"></script>

$(document).ready(function () {
$('#user-toolbar').toolbar({
content: '#user-toolbar-options',
position: 'bottom'
});
});

<div id="user-toolbar">
        <a href="#"><i class="icon-user"></i></a>
        <a href="#"><i class="icon-star"></i></a>
        <a href="#"><i class="icon-edit"></i></a>
        <a href="#"><i class="icon-delete"></i></a>
        <a href="#"><i class="icon-ban"></i></a>
</div>  

@rajuarien
Copy link

but nothing works

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

No branches or pull requests

2 participants