Materialize pagination
How do I make an materialize pagination?
Materialize Pagination is a jQuery plugin that provides behaviour and rendering of the [Materialize Pagination component][1].. What is a materialize pagination? How do you make a materialize pagination? This script and codes were developed by Mirjamsk on 26 January 2023, Thursday.
Materialize pagination - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Materialize pagination</title> <link rel='stylesheet prefetch' href='http://fonts.googleapis.com/icon?family=Material+Icons'>
<link rel='stylesheet prefetch' href='http://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.6/css/materialize.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <div class="row"> <div class="col s12 m5 l4"> <div class="description"> <h5>Materialize pagination plugin </h5> <a target="_blank" href="https://mirjamsk.github.io/materialize-pagination/">Official page & documentation</a> <p>Materialize Pagination is a jQuery plugin that provides behavior and rendering of the <a target="_blank" href="http://materializecss.com/pagination.html">Materialize Pagination component</a></p> </div> </div> <div class="col s12 m7 l6 pagination"> <div id="pagination-long"></div> <div id="pagination-short"></div> </div> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.2/jquery.min.js'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.6/js/materialize.min.js'></script>
<script src='http://cdn.rawgit.com/mirjamsk/materialize-pagination/master/materialize-pagination.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Materialize pagination - Script Codes CSS Codes
.container{ margin-top: 2em;
}
div.pagination{ margin-top: 1em;
}
Materialize pagination - Script Codes JS Codes
$(function() { $('#pagination-short').materializePagination({ align: 'center', lastPage: 3, firstPage: 1, useUrlParameter: false, }); $('#pagination-long').materializePagination({ align: 'center', lastPage: 10, firstPage: 1, useUrlParameter: false, onClickCallback: function(requestedPage){ console.log('Requested page from #pagination-long: '+ requestedPage); } });
});
Developer | Mirjamsk |
Username | alojzije |
Uploaded | January 26, 2023 |
Rating | 3 |
Size | 2,236 Kb |
Views | 4,048 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Search it | 3,338 Kb |
Gravity simulation | 4,699 Kb |
Horizontal slider | 2,672 Kb |
Connect html elements with SVG path | 4,232 Kb |
Horizontal slider on scroll | 2,672 Kb |
Visualize DNA using chaos game | 3,971 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
React TODO | Enieste | 3,320 Kb |
Horizontal scroll fixed element | HerrSerker | 0 Kb |
Price table | Serluk | 5,928 Kb |
APortfolio | Skybutterfly | 5,174 Kb |
Midterm dry run | Jds317 | 1,649 Kb |
A Pen by Oliver Schafeld | Schafeld | 1,720 Kb |
A Pen by Kevin | Kevinkenger | 2,642 Kb |
Kudos Please | TimPietrusky | 6,624 Kb |
Cartoon Bomb | Tcmulder | 4,929 Kb |
Hexagons | Ashmind | 4,360 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!