An easy to implement marquee JQuery plugin with pause on hover support. I know its easy because even I can use it.

Overview

Simple-Marquee

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');
Comments
  • Marquees' speed increases with amount of text

    Marquees' speed increases with amount of text

    Hello,

    I'm not sure if it's supposed to be like that, but the speed increases if there's more text in the element. I honestly can't figure out how to keep the speed always, no matter how many characters.

    I hope you can help.

    Greetings, Michelle

    opened by GraefinKoks 1
  • Text Overlapping Issue

    Text Overlapping Issue

    This worked pretty awesome but then randomly noticed text overlapping issue. Not sure how it the scenario is but somehow it appeared multiple times. Can we fix it please.

    Simple Alert Text Overlapping issue

    opened by ch-adnan 1
  • Firefox layout issue

    Firefox layout issue

    Hi there,

    I'm having an issue using the simple-marquee plugin on Firefox. It seems to be effecting the div beneath it. This issue is only happening on Firefox, it's working well on Chrome and Safari.

    You can see what's going on here: https://www.deannoble.com.au

    Let me know if you need any more information.

    Thanks!!

    opened by dnbl 1
  • In case of content is very low - it overlaps

    In case of content is very low - it overlaps

    Hi I am facing one issue i.e. in case of marquee content is very low its overlapping on each other since its creating 3 instances of one <div class="marquee-1">, <div class="marquee-2">, <div class="marquee-3"> 1,2,3 contents are overlapping.

    opened by ghost 1
  • Autostart has a long delay.

    Autostart has a long delay.

    Hello,

    I am using your script for a news ticker. The problem I am facing is with the start up of scrolling. It seems to be taking forever to start when you would expect it to start when the page loads. Is there something I am missing or I need to do in order to make is start sooner?

    Thank you, Yiota

    opened by yiotaz 2
Owner
null
Pure JavaScript library that add .is-hover class instead of css :hover for mobile and desktop.

MultiDeviceHover Pure JavaScript library that add .is-hover class instead of css :hover for mobile and desktop. Usage Install Using npm, install multi

Ryuta Sakai 1 Oct 5, 2021
Can see everything, beware of its omniscience, kneel before its greatness.

Can see everything, beware of its omniscience, kneel before its greatness. Summary Presentation Installation Removing Credits Presentation Main goal T

Duc Justin 3 Sep 30, 2022
Solidity starter combining foundry and hardhat because both are great and I can't live without either...

Combination Pizza Hut & Taco Bell Foundry && HardHat starter template. Motivation I like them both. With this set-up we get: Unit tests written in sol

Cache Monet 32 Aug 23, 2022
made a game of life because i can't stop myself from writing code?

?? Life I was reading something today that mentioned Conway's Game of Life. I remember making a rudimentary version for my terminal with Python when I

Jason Florentino 2 Nov 21, 2022
A modern replacement for jQuery.marquee

vanilla-marquee An es5 vanilla-js implementation of jQuery.marquee Installation npm i vanilla-marquee Usage import marquee from 'vanilla-marquee' ne

null 26 Dec 27, 2022
✨⏱️ A light and pause-able stopwatch node module

✨ ⏱️ magic-stopwatch npm install magic-stopwatch - yarn add magic-stopwatch A light and pause-able stopwatch module. Quickstart import { Stopwatch } f

Snazzah 8 Dec 28, 2022
It's a repository to studies. Its idea is to learn about Nx and its plugins.

StudyingNx This project was generated using Nx. ?? Smart, Fast and Extensible Build System Adding capabilities to your workspace Nx supports many plug

Open-ish 4 May 13, 2022
Strcmp-node - A cli string comparison tool, because apparently one doesn't exist.

strcmp-node I couldn't find a string comparison command, so i made my own. its probably the ugliest thing since godzilla with makeup on, but it works.

Gingka/Ginger Pepper 1 Jan 1, 2022
This is a boilerplate for creating your own languages for various use cases. You can even create your own programming language from scratch!

Bootstrap compiler This is a bootstrap compiler that can be used to compile to compiler written in the target language. You can write a compiler in th

Kaan 3 Nov 14, 2022
Make the content slide prettily across the screen with variable sizes of scrolling items, in any of four directions, pausing while the mouse is over the marquee, and all with vanilla JavaScript.

TEG Marquee Make the content slide prettily across the screen with variable sizes of scrolling items, in any of four directions, pausing while the mou

Paul B. Joiner 0 Dec 30, 2021
Marquee is a VS Code extension designed to naturally integrate with your development flow, so that you will no longer lose track of your thoughts while you're coding

Marquee Stay organized with minimal context switching, all inside your Visual Studio Code. Marquee is a VS Code extension designed to naturally integr

stateful 60 Dec 13, 2022
Flexible, powerful and modern library for creating the running horizontal blocks effect, also known as ticker or the «marquee effect».

Cuberto Reeller Flexible, powerful and modern library for creating the running horizontal blocks effect, also known as ticker or the «marquee effect».

Cuberto 41 Jan 4, 2023
Easy way to know how many visitors are viewing your Github, Website

Visit Counter Easy way to know how many visitors are viewing your Github, Website Reference for Image query Usage Default Example page It can be your

DevXprite 7 Dec 24, 2022
Query for CSS brower support data, combined from caniuse and MDN, including version support started and global support percentages.

css-browser-support Query for CSS browser support data, combined from caniuse and MDN, including version support started and global support percentage

Stephanie Eckles 65 Nov 2, 2022
With these scripts, you can do it even without knowing html

About the Project: Have you ever wanted to create quick and easy to generate draggable frames in html? With these scripts, you can do it even without

GDLev 4 Apr 29, 2022
A CRUD made with NodeJS. It's a book directory where you can see the books, add new ones, update them, or even delete .

BOOK-DIRECTORY-NODEJS A CRUD made with NodeJS. It's a book directory where you can see the books, add new ones, update them, or even delete . What I u

null 6 May 18, 2022