Skip to content

robincwillis/CharCycle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CharCycle

JQuery plugin to create a cycling effect on selected text at some event.

Version Beta 0.0.1 Updated November 10th, 2011

###Description

This effect is inspired by the classic actionscript effect on yugop.com. Attach the plugin to the element you want to trigger the cycling, specify the target text you want to produce the effect and include a conditional statement to ensure that cycling isn’t re-triggered while the effect is in progress.

###Options

  • speed : time it takes per cycle, default is set to 5

###Project Page

CharCycle

###HTML

<div class="c"><a href="#" id="text">Lorem ipsum dolor sit amet, consectetur</a></div>

###Javascript

$('.c').mouseenter(function(){
	if($(this).hasClass('cycling')==false){
    	$(this).charcycle({'target':'#text'});
	}
});

About

jQuery plugin to cycle through characters on an event

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published