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

Set mouse hover to pointer, thnx. #20

Open
bryanestrito opened this issue Feb 7, 2014 · 2 comments
Open

Set mouse hover to pointer, thnx. #20

bryanestrito opened this issue Feb 7, 2014 · 2 comments

Comments

@bryanestrito
Copy link

No description provided.

@jmshal
Copy link

jmshal commented Jun 24, 2014

var options = {
    currentPage: 3,
    totalPages: 10,
    itemContainerClass: function (type, page, current) {
        return (page === current) ? "active" : "pointer-cursor";
    }
};

$('#example').bootstrapPaginator(options);

Taken directly from the documentation.
Source: http://lyonlai.github.io/bootstrap-paginator/

@birdwing
Copy link

@jacobmarshall
This does work but the documentation fails to mention that you have to add the class to the CSS yourself. (Bootstrap doesn't have a .pointer-cursor class)

@brynzky
You have to add the following to your pages CSS file

.pointer-cursor {
    cursor: pointer;
}

EDIT: I know this is an old Issue, but I figured this needed to be stated since the documentation doesn't really make a mention of it.

Also Wouldn't it make more sense that by default the non active elements have the Pointer Cursor?
That is the expected behavior after all.

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

3 participants