Code Monkey home page Code Monkey logo

customer-ticker's Introduction

Simple-Marquee

Open the example.htm file in your browser by double clicking on it. The ticker will start/stop when you hover and/or click on the logo area.

Copyright (C) 2016 Fabian Valle

An easy to implement marquee plugin. I know its easy because even I can use it.

Forked from: https://github.com/conradfeyt/Simple-Marquee

Re-Written by: Fabian Valle (www.fabian-valle.com) (www.obliviocompany.com)

Sample Usage:

$('.simple-marquee-container').SimpleMarquee();

#HTML:

<div class="simple-marquee-container">
	<div class="marquee-sibling">
		I am here to iritate you
	</div>
	<div class="marquee">
		<ul class="marquee-content-items">
			<li>Item 1</li>
			<li>Item 2</li>
			<li>Item 3</li>
			<li>Item 4</li>
			<li>Item 5</li>
		</ul>
	</div>
</div>

#Don't forget to include the CSS:

<link rel="stylesheet" href="css/marquee.css" />

#Quirk 1: simple-marquee-container DOM created dynamically after an AJAX call

//quirky stuff when the DOM for the
//marquee-container is created dynamically
//after an AJAX call. If the window is focused
//it will not re-trigger the 'focus' upon
//AJAX completion.
$(".marquee-1").trigger('mouseenter');
$(".marquee-1").trigger('mouseleave');

customer-ticker's People

Watchers

 avatar  avatar

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.