Skip to content

JohnCena.JS Bring the full power of John Cena to your website

License

Notifications You must be signed in to change notification settings

zdeveloper/JohnCena.JS

Repository files navigation

JohnCena.JS

JohnCena.JS Bring the full power of John Cena to your webapp

Just include the john-cena.js file and make sure you have a class="Button" in one of your tags

<script src="john-cena.js"></script>

and

<script>
$(window).load(function() {
	$('.button').cena();
});
</script>

For the Konami Code version

<script>
$(window).load(function() {
	$('.button').cena({
		'enterOn': 'konami-code'
	});
});
</script>

For the Timer version

<script>
$(window).load(function() {
	$('.button').cena({
		'enterOn': 'timer',
		'delayTime': 2000
	});
});
</script>

Enjoy!

About

JohnCena.JS Bring the full power of John Cena to your website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published