Giter VIP home page Giter VIP logo

bs_pagination's Introduction

bs_pagination's People

Contributors

dunmaksim avatar pontikis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bs_pagination's Issues

Publish Via Bower/NPM/CDN

Please publish versions through some sort of package management so that I don't have to copy the source into my project and risk it getting being modified.

how is this implemented into my site?

I hate to be a noob but how is this script added to my site? i mean i know where to drop all the files and add the lines of code where you said but what data is it grabbing and where from? i am trying to add it to my members list page but how does your script get the data from my mqsql db and where does it output the pages? i know how to do all the connect to db stuff and retrieve all the data but how is it passed to your scripts to operate on? i think a better readme file explaining its implementation would help. thanks

option destroy not working properly

i'm not sure if it is a bug, because i don't know what destroy should do exactly. Assuming that it should remove the pagination completely it fails for my environment (FF 49.0.2. Win 7).
using the destroy option, all values are destroyed by invoking removeData(). in fact, the pagination well is still shown and even clickable (page 2 p.e.), but throwing an error "s is undefined". i'm not sure what removeData() should do, but it seems, that only the variables and objects in memory are destroyed and the source code still remains. the solution for this problem, which worked for me, was to add following lines to the bs_pagination.js:

line 435: elem.empty();  //to empty the concerning div-container
line 436: elem.removeAttr('class'); //to remove the class-attribute of the div container, otherwise an empty well would be shown

click next page not working

hi
I use bs_pagination in my project, and I got a problem:
Not trigger event when click next page "->", I changed following code in jquery.bs_pagination.js row num 203, and its working.
i change this:
if(settings.currentPage < settings.totalPages)
to
if(parseInt(settings.currentPage) < parseInt(settings.totalPages))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.