From 6f1405350b4b8b47c042631845a99f0f4e43e86e Mon Sep 17 00:00:00 2001 From: Alexander Kavon Date: Tue, 2 Dec 2025 18:49:03 -0500 Subject: create repo, add website, rapbot files --- rapbot/lyrics.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 rapbot/lyrics.js (limited to 'rapbot/lyrics.js') diff --git a/rapbot/lyrics.js b/rapbot/lyrics.js new file mode 100755 index 0000000..bcddd53 --- /dev/null +++ b/rapbot/lyrics.js @@ -0,0 +1,19 @@ +$(document).ready(function() { + $('.lyrics_box').cycle({ + fx: 'fade', + cssFirst: { width: 800 }, + cssBefore:{ width: 800 }, + cssAfter:{ width: 800 }, + timeout: 0, + random: true, + next: ".next", + prev: ".prev", + before: function(){ + $(this).parent().find('audio.current').removeClass(); + }, + after: function(){ + $(this).children("audio").addClass('current'); + } + + }); +}); \ No newline at end of file -- cgit v1.2.3