Skip to content

Instantly share code, notes, and snippets.

View desbest's full-sized avatar

desbest desbest

View GitHub Profile
@desbest
desbest / breadcrumbs.css
Created May 17, 2015 18:42
Dynamic drive block breadcrumbs
/***********
Breadcrumbs
http://css-tricks.com/triangle-breadcrumbs/
*/
.breadcrumb {
list-style: none;
overflow: hidden;
font-size: 0.8em;
}
.breadcrumb li {
@desbest
desbest / autopagination.js
Last active May 6, 2018 15:24
Auto Pagination
////////javascript libraries used
//// jquery
//// scrollPagination
//// aeImageResize
//// masonry
var offset = 0;
$('#stuffhere').scrollPagination({
'contentPage': 'themes/[var.theme]/ajaxcontrols.php?page=products&offset='+offset, // the page where you are searching for results
'contentData': {}, // you can pass the children().size() to know where is the pagination