Git Product home page Git Product logo

novacancy.js's Introduction

novacancy.js

novacancy.js is a text neon golden effect jQuery plugin.

Demo

Visit demo site

Basic Usage

Just use

$('#no').novacancy();

or detail

$('#no').novacancy({
	'reblinkProbability': 0.1,
	'blinkMin': 0.2,
	'blinkMax': 0.6,
	'loopMin': 8,
	'loopMax': 10,
	'color': '#ffffff',
	'glow': ['0 0 80px #ffffff', '0 0 30px #008000', '0 0 6px #0000ff'],
	'off': 1,
	'blink': 1,
	'classOn': 'on',
	'classOff': 'off',
	'autoOn': true
});

Parameters

  • reblinkProbability: probability of reblink(0 to 1), Number, optional, default: (1/3)
  • blinkMin: time(sec.) of minimum blink, Number, optional, default: 0.01
  • blinkMax: time(sec.) of maximum blink, Number, optional, default: 0.5
  • loopMin: time(sec.) of minimum trigger blink, Number, optional, default: 0.5
  • loopMax: time(sec.) of maximum trigger blink, Number, optional, default: 2
  • color: colors, String, optional default: 'ORANGE'. set null to disable.
  • glow: array of text-shadow colors, Array, optional, default: ['0 0 80px Orange', '0 0 30px Red', '0 0 6px Yellow']. set null to disable.
  • off: amount of off chars, Number, optional, default: 0
  • blink: amount of blink chars, Number, optional, default: 0, (0 means all chars)
  • classOn: class name of on chars, String, optional default: 'on'
  • classOff: class name of off chars, String, optional default: 'off'
  • autoOn: blink on at start, Boolean, optional, default: true

colors example:

Hexadecimal: '#ffffff'
RGB: 'rgb(255,255,255)'
RGBA: 'rgba(255,255,255,1)'
Text: 'WHITE'

Control

trigger blink on

$('#no').trigger('blinkOn');

trigger blink off

$('#no').trigger('blinkOff');

Special Thanks

novacancy.js's People

Contributors

chuckyglitch avatar

Stargazers

Michael Anthony avatar

Watchers

James Cloos avatar Michael Anthony avatar  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.