Skip to content

Instantly share code, notes, and snippets.

kshnurov / jquery.photoswipe.js
Created Feb 23, 2015
PhotoSwipe: init from DOM using jQuery
View jquery.photoswipe.js
(function( $ ) {
$.fn.photoswipe = function(options){
var galleries = [],
_options = options;
var init = function($this){
galleries = [];
$this.each(function(i, gallery){
id: i,
raecoo / array_dupplicate_counter.js
Created Dec 7, 2012 — forked from ralphcrisostomo/array_dupplicate_counter.js
Javascript: Count duplicates in an array
View array_dupplicate_counter.js
You have a javascript array that likely has some duplicate values and you would like a count of those values.
Try this schnippet out.
View sharp.css
s{ display: block; position: relative;}
/*sharp only for css3*/
/* Cleaner, but slightly less support: use "50%" as value */
.s-circle {
You can’t perform that action at this time.