Skip to content

Instantly share code, notes, and snippets.

@pbhj
pbhj / jquery.marquee-20120900a.js
Created September 16, 2012 21:47 — forked from remy/gist:2484402
jquery.marquee.js
/**
* author Remy Sharp
* url http://remysharp.com/tag/marquee
* pbhj 20120900: altered $marquee.attr('loop') to $marquee.prop('loop') as suggested in a comment on original github gist
*/
(function ($) {
$.fn.marquee = function (klass) {
var newMarquee = [],
last = this.length;