diff options
| author | Alexander Kavon <me+git@alexkavon.com> | 2025-12-02 18:49:03 -0500 |
|---|---|---|
| committer | Alexander Kavon <me+git@alexkavon.com> | 2025-12-02 18:49:03 -0500 |
| commit | 6f1405350b4b8b47c042631845a99f0f4e43e86e (patch) | |
| tree | 1eb340d2e4dc71ea46a46ff2500ceb46830bd477 /rapbot | |
create repo, add website, rapbot files
Diffstat (limited to 'rapbot')
| -rwxr-xr-x | rapbot/beats/2pac.mp3 | bin | 0 -> 413395 bytes | |||
| -rwxr-xr-x | rapbot/beats/bananasgwen.mp3 | bin | 0 -> 334954 bytes | |||
| -rwxr-xr-x | rapbot/beats/come_dancing.wav | bin | 0 -> 162010 bytes | |||
| -rwxr-xr-x | rapbot/beats/deepcover1.mp3 | bin | 0 -> 415016 bytes | |||
| -rwxr-xr-x | rapbot/beats/deepcover2.mp3 | bin | 0 -> 403128 bytes | |||
| -rwxr-xr-x | rapbot/beats/doinwhatpose1.mp3 | bin | 0 -> 404700 bytes | |||
| -rwxr-xr-x | rapbot/beats/doinwhatpose2.mp3 | bin | 0 -> 403913 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/2pac.wav | bin | 0 -> 2398156 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/bananasgwen.wav | bin | 0 -> 1929106 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/deepcover1.wav | bin | 0 -> 2405942 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/deepcover2.wav | bin | 0 -> 2375152 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/doinwhatpose1.wav | bin | 0 -> 2377918 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/doinwhatpose2.wav | bin | 0 -> 2376536 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/fuckpolice.wav | bin | 0 -> 700314 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/gamelord.wav | bin | 0 -> 2354550 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/gocrazy.wav | bin | 0 -> 2355932 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/nextep1.wav | bin | 0 -> 2358698 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/nextep2.wav | bin | 0 -> 2360082 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/rainman.wav | bin | 0 -> 1933254 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/rsf2.wav | bin | 0 -> 2361456 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/smokeweed1.wav | bin | 0 -> 2362844 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/smokeweed2.wav | bin | 0 -> 2364230 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/supposedtodie.wav | bin | 0 -> 2357316 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/thingschanged.wav | bin | 0 -> 2365614 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/westside1.wav | bin | 0 -> 2366996 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/westside2.wav | bin | 0 -> 2368380 bytes | |||
| -rwxr-xr-x | rapbot/beats/ff/whywethugs.wav | bin | 0 -> 2369756 bytes | |||
| -rwxr-xr-x | rapbot/beats/fuckpolice.mp3 | bin | 0 -> 122665 bytes | |||
| -rwxr-xr-x | rapbot/beats/gamelord.mp3 | bin | 0 -> 399002 bytes | |||
| -rwxr-xr-x | rapbot/beats/gocrazy.mp3 | bin | 0 -> 399788 bytes | |||
| -rwxr-xr-x | rapbot/beats/nextep1.mp3 | bin | 0 -> 401360 bytes | |||
| -rwxr-xr-x | rapbot/beats/nextep2.mp3 | bin | 0 -> 402146 bytes | |||
| -rwxr-xr-x | rapbot/beats/rainman.mp3 | bin | 0 -> 337312 bytes | |||
| -rwxr-xr-x | rapbot/beats/rsf2.mp3 | bin | 0 -> 402932 bytes | |||
| -rwxr-xr-x | rapbot/beats/smokeweed1.mp3 | bin | 0 -> 403717 bytes | |||
| -rwxr-xr-x | rapbot/beats/smokeweed2.mp3 | bin | 0 -> 404504 bytes | |||
| -rwxr-xr-x | rapbot/beats/supposedtodie.mp3 | bin | 0 -> 400574 bytes | |||
| -rwxr-xr-x | rapbot/beats/thingschanged.mp3 | bin | 0 -> 405290 bytes | |||
| -rwxr-xr-x | rapbot/beats/westside1.mp3 | bin | 0 -> 406075 bytes | |||
| -rwxr-xr-x | rapbot/beats/westside2.mp3 | bin | 0 -> 406862 bytes | |||
| -rwxr-xr-x | rapbot/beats/whywethugs.mp3 | bin | 0 -> 407639 bytes | |||
| -rwxr-xr-x | rapbot/colorbox.css | 41 | ||||
| -rwxr-xr-x | rapbot/explicit.png | bin | 0 -> 10548 bytes | |||
| -rwxr-xr-x | rapbot/favicon.ico | bin | 0 -> 16958 bytes | |||
| -rwxr-xr-x | rapbot/images/controls.png | bin | 0 -> 570 bytes | |||
| -rwxr-xr-x | rapbot/images/loading.gif | bin | 0 -> 9427 bytes | |||
| -rwxr-xr-x | rapbot/index.html | 307 | ||||
| -rwxr-xr-x | rapbot/jquery.colorbox-min.js | 4 | ||||
| -rwxr-xr-x | rapbot/jquery.cycle.all.min.js | 21 | ||||
| -rwxr-xr-x | rapbot/lyrics.js | 19 | ||||
| -rwxr-xr-x | rapbot/mobile.js | 14 | ||||
| -rwxr-xr-x | rapbot/play.js | 27 | ||||
| -rwxr-xr-x | rapbot/robots.html | 16 | ||||
| -rwxr-xr-x | rapbot/style.css | 184 | ||||
| -rwxr-xr-x | rapbot/warning.js | 5 |
55 files changed, 638 insertions, 0 deletions
diff --git a/rapbot/beats/2pac.mp3 b/rapbot/beats/2pac.mp3 Binary files differnew file mode 100755 index 0000000..6c4bbef --- /dev/null +++ b/rapbot/beats/2pac.mp3 diff --git a/rapbot/beats/bananasgwen.mp3 b/rapbot/beats/bananasgwen.mp3 Binary files differnew file mode 100755 index 0000000..8808c07 --- /dev/null +++ b/rapbot/beats/bananasgwen.mp3 diff --git a/rapbot/beats/come_dancing.wav b/rapbot/beats/come_dancing.wav Binary files differnew file mode 100755 index 0000000..cb06ed0 --- /dev/null +++ b/rapbot/beats/come_dancing.wav diff --git a/rapbot/beats/deepcover1.mp3 b/rapbot/beats/deepcover1.mp3 Binary files differnew file mode 100755 index 0000000..98b26d6 --- /dev/null +++ b/rapbot/beats/deepcover1.mp3 diff --git a/rapbot/beats/deepcover2.mp3 b/rapbot/beats/deepcover2.mp3 Binary files differnew file mode 100755 index 0000000..3537bea --- /dev/null +++ b/rapbot/beats/deepcover2.mp3 diff --git a/rapbot/beats/doinwhatpose1.mp3 b/rapbot/beats/doinwhatpose1.mp3 Binary files differnew file mode 100755 index 0000000..871c09a --- /dev/null +++ b/rapbot/beats/doinwhatpose1.mp3 diff --git a/rapbot/beats/doinwhatpose2.mp3 b/rapbot/beats/doinwhatpose2.mp3 Binary files differnew file mode 100755 index 0000000..3882458 --- /dev/null +++ b/rapbot/beats/doinwhatpose2.mp3 diff --git a/rapbot/beats/ff/2pac.wav b/rapbot/beats/ff/2pac.wav Binary files differnew file mode 100755 index 0000000..d5e3516 --- /dev/null +++ b/rapbot/beats/ff/2pac.wav diff --git a/rapbot/beats/ff/bananasgwen.wav b/rapbot/beats/ff/bananasgwen.wav Binary files differnew file mode 100755 index 0000000..5699f75 --- /dev/null +++ b/rapbot/beats/ff/bananasgwen.wav diff --git a/rapbot/beats/ff/deepcover1.wav b/rapbot/beats/ff/deepcover1.wav Binary files differnew file mode 100755 index 0000000..a8f17c7 --- /dev/null +++ b/rapbot/beats/ff/deepcover1.wav diff --git a/rapbot/beats/ff/deepcover2.wav b/rapbot/beats/ff/deepcover2.wav Binary files differnew file mode 100755 index 0000000..8d9e8a3 --- /dev/null +++ b/rapbot/beats/ff/deepcover2.wav diff --git a/rapbot/beats/ff/doinwhatpose1.wav b/rapbot/beats/ff/doinwhatpose1.wav Binary files differnew file mode 100755 index 0000000..3778cf6 --- /dev/null +++ b/rapbot/beats/ff/doinwhatpose1.wav diff --git a/rapbot/beats/ff/doinwhatpose2.wav b/rapbot/beats/ff/doinwhatpose2.wav Binary files differnew file mode 100755 index 0000000..db5b844 --- /dev/null +++ b/rapbot/beats/ff/doinwhatpose2.wav diff --git a/rapbot/beats/ff/fuckpolice.wav b/rapbot/beats/ff/fuckpolice.wav Binary files differnew file mode 100755 index 0000000..2e47e50 --- /dev/null +++ b/rapbot/beats/ff/fuckpolice.wav diff --git a/rapbot/beats/ff/gamelord.wav b/rapbot/beats/ff/gamelord.wav Binary files differnew file mode 100755 index 0000000..c196ff3 --- /dev/null +++ b/rapbot/beats/ff/gamelord.wav diff --git a/rapbot/beats/ff/gocrazy.wav b/rapbot/beats/ff/gocrazy.wav Binary files differnew file mode 100755 index 0000000..a123cae --- /dev/null +++ b/rapbot/beats/ff/gocrazy.wav diff --git a/rapbot/beats/ff/nextep1.wav b/rapbot/beats/ff/nextep1.wav Binary files differnew file mode 100755 index 0000000..036e8fc --- /dev/null +++ b/rapbot/beats/ff/nextep1.wav diff --git a/rapbot/beats/ff/nextep2.wav b/rapbot/beats/ff/nextep2.wav Binary files differnew file mode 100755 index 0000000..341804f --- /dev/null +++ b/rapbot/beats/ff/nextep2.wav diff --git a/rapbot/beats/ff/rainman.wav b/rapbot/beats/ff/rainman.wav Binary files differnew file mode 100755 index 0000000..f4ff0d2 --- /dev/null +++ b/rapbot/beats/ff/rainman.wav diff --git a/rapbot/beats/ff/rsf2.wav b/rapbot/beats/ff/rsf2.wav Binary files differnew file mode 100755 index 0000000..ad336af --- /dev/null +++ b/rapbot/beats/ff/rsf2.wav diff --git a/rapbot/beats/ff/smokeweed1.wav b/rapbot/beats/ff/smokeweed1.wav Binary files differnew file mode 100755 index 0000000..694ab93 --- /dev/null +++ b/rapbot/beats/ff/smokeweed1.wav diff --git a/rapbot/beats/ff/smokeweed2.wav b/rapbot/beats/ff/smokeweed2.wav Binary files differnew file mode 100755 index 0000000..1c56422 --- /dev/null +++ b/rapbot/beats/ff/smokeweed2.wav diff --git a/rapbot/beats/ff/supposedtodie.wav b/rapbot/beats/ff/supposedtodie.wav Binary files differnew file mode 100755 index 0000000..5a80521 --- /dev/null +++ b/rapbot/beats/ff/supposedtodie.wav diff --git a/rapbot/beats/ff/thingschanged.wav b/rapbot/beats/ff/thingschanged.wav Binary files differnew file mode 100755 index 0000000..485f65e --- /dev/null +++ b/rapbot/beats/ff/thingschanged.wav diff --git a/rapbot/beats/ff/westside1.wav b/rapbot/beats/ff/westside1.wav Binary files differnew file mode 100755 index 0000000..03f554b --- /dev/null +++ b/rapbot/beats/ff/westside1.wav diff --git a/rapbot/beats/ff/westside2.wav b/rapbot/beats/ff/westside2.wav Binary files differnew file mode 100755 index 0000000..082d6cf --- /dev/null +++ b/rapbot/beats/ff/westside2.wav diff --git a/rapbot/beats/ff/whywethugs.wav b/rapbot/beats/ff/whywethugs.wav Binary files differnew file mode 100755 index 0000000..f937927 --- /dev/null +++ b/rapbot/beats/ff/whywethugs.wav diff --git a/rapbot/beats/fuckpolice.mp3 b/rapbot/beats/fuckpolice.mp3 Binary files differnew file mode 100755 index 0000000..04643af --- /dev/null +++ b/rapbot/beats/fuckpolice.mp3 diff --git a/rapbot/beats/gamelord.mp3 b/rapbot/beats/gamelord.mp3 Binary files differnew file mode 100755 index 0000000..bd3c7be --- /dev/null +++ b/rapbot/beats/gamelord.mp3 diff --git a/rapbot/beats/gocrazy.mp3 b/rapbot/beats/gocrazy.mp3 Binary files differnew file mode 100755 index 0000000..e7df1fc --- /dev/null +++ b/rapbot/beats/gocrazy.mp3 diff --git a/rapbot/beats/nextep1.mp3 b/rapbot/beats/nextep1.mp3 Binary files differnew file mode 100755 index 0000000..10b8163 --- /dev/null +++ b/rapbot/beats/nextep1.mp3 diff --git a/rapbot/beats/nextep2.mp3 b/rapbot/beats/nextep2.mp3 Binary files differnew file mode 100755 index 0000000..4b8b5c9 --- /dev/null +++ b/rapbot/beats/nextep2.mp3 diff --git a/rapbot/beats/rainman.mp3 b/rapbot/beats/rainman.mp3 Binary files differnew file mode 100755 index 0000000..39a9210 --- /dev/null +++ b/rapbot/beats/rainman.mp3 diff --git a/rapbot/beats/rsf2.mp3 b/rapbot/beats/rsf2.mp3 Binary files differnew file mode 100755 index 0000000..bdd3926 --- /dev/null +++ b/rapbot/beats/rsf2.mp3 diff --git a/rapbot/beats/smokeweed1.mp3 b/rapbot/beats/smokeweed1.mp3 Binary files differnew file mode 100755 index 0000000..8e10c49 --- /dev/null +++ b/rapbot/beats/smokeweed1.mp3 diff --git a/rapbot/beats/smokeweed2.mp3 b/rapbot/beats/smokeweed2.mp3 Binary files differnew file mode 100755 index 0000000..48cb89c --- /dev/null +++ b/rapbot/beats/smokeweed2.mp3 diff --git a/rapbot/beats/supposedtodie.mp3 b/rapbot/beats/supposedtodie.mp3 Binary files differnew file mode 100755 index 0000000..51c592c --- /dev/null +++ b/rapbot/beats/supposedtodie.mp3 diff --git a/rapbot/beats/thingschanged.mp3 b/rapbot/beats/thingschanged.mp3 Binary files differnew file mode 100755 index 0000000..2687b43 --- /dev/null +++ b/rapbot/beats/thingschanged.mp3 diff --git a/rapbot/beats/westside1.mp3 b/rapbot/beats/westside1.mp3 Binary files differnew file mode 100755 index 0000000..6d71a13 --- /dev/null +++ b/rapbot/beats/westside1.mp3 diff --git a/rapbot/beats/westside2.mp3 b/rapbot/beats/westside2.mp3 Binary files differnew file mode 100755 index 0000000..5080fdf --- /dev/null +++ b/rapbot/beats/westside2.mp3 diff --git a/rapbot/beats/whywethugs.mp3 b/rapbot/beats/whywethugs.mp3 Binary files differnew file mode 100755 index 0000000..f7e3af3 --- /dev/null +++ b/rapbot/beats/whywethugs.mp3 diff --git a/rapbot/colorbox.css b/rapbot/colorbox.css new file mode 100755 index 0000000..9b5c121 --- /dev/null +++ b/rapbot/colorbox.css @@ -0,0 +1,41 @@ +/*
+ ColorBox Core Style:
+ The following CSS is consistent between example themes and should not be altered.
+*/
+#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
+#cboxOverlay{position:fixed; width:100%; height:100%;}
+#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
+#cboxContent{position:relative;}
+#cboxLoadedContent{overflow:auto;}
+#cboxTitle{margin:0;}
+#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
+#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
+.cboxPhoto{float:left; margin:auto; border:0; display:block;}
+.cboxIframe{width:100%; height:100%; display:block; border:0;}
+
+/*
+ User Style:
+ Change the following styles to modify the appearance of ColorBox. They are
+ ordered & tabbed in a way that represents the nesting of the generated HTML.
+*/
+#cboxOverlay{background:#fff;}
+#colorbox{}
+ #cboxContent{margin-top:32px; overflow:visible;}
+ #cboxError{padding:50px; border:1px solid #ccc;}
+ #cboxLoadedContent{background:#000; padding:1px;}
+ #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
+ #cboxLoadingOverlay{background:#000;}
+ #cboxTitle{position:absolute; top:-22px; left:0; color:#000;}
+ #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;}
+ #cboxSlideshow, #cboxPrevious, #cboxNext, #cboxClose{text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/controls.png) no-repeat 0 0;}
+ #cboxPrevious{background-position:0px 0px; right:44px;}
+ #cboxPrevious.hover{background-position:0px -25px;}
+ #cboxNext{background-position:-25px 0px; right:22px;}
+ #cboxNext.hover{background-position:-25px -25px;}
+ #cboxClose{background-position:-50px 0px; right:0;}
+ #cboxClose.hover{background-position:-50px -25px;}
+ .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;}
+ .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;}
+ .cboxSlideshow_on #cboxSlideshow.hover{background-position:-100px -25px;}
+ .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;}
+ .cboxSlideshow_off #cboxSlideshow.hover{background-position:-75px -25px;}
diff --git a/rapbot/explicit.png b/rapbot/explicit.png Binary files differnew file mode 100755 index 0000000..acfcfeb --- /dev/null +++ b/rapbot/explicit.png diff --git a/rapbot/favicon.ico b/rapbot/favicon.ico Binary files differnew file mode 100755 index 0000000..c35ccda --- /dev/null +++ b/rapbot/favicon.ico diff --git a/rapbot/images/controls.png b/rapbot/images/controls.png Binary files differnew file mode 100755 index 0000000..8569b57 --- /dev/null +++ b/rapbot/images/controls.png diff --git a/rapbot/images/loading.gif b/rapbot/images/loading.gif Binary files differnew file mode 100755 index 0000000..19c67bb --- /dev/null +++ b/rapbot/images/loading.gif diff --git a/rapbot/index.html b/rapbot/index.html new file mode 100755 index 0000000..dadfba2 --- /dev/null +++ b/rapbot/index.html @@ -0,0 +1,307 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html dir="ltr" lang="en-US">
+
+<head>
+ <title>rap bot</title>
+ <link rel="stylesheet" type="text/css" href="style.css" />
+ <link rel="stylesheet" type="text/css" href="colorbox.css" />
+ <meta name="description" content="Rap bot is the worlds coolest rapping robot. It knows over 20 rap lyrics and can rap them to a phat beat.
+ It was designed and created by Gridbit Laboratories, LLC." />
+ <meta name="keywords" content="robot rap, rapping robot, funny rapping robot, rapbot, sweet rapping bot, robot raps to phat beats, Gridbit Labs, Gridbit Laboratories, Gridbit Laboratories LLC" />
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script>
+ <script src="jquery.cycle.all.min.js"></script>
+ <script src="jquery.colorbox-min.js"></script>
+ <script src="lyrics.js"></script>
+ <script src="play.js"></script>
+ <script src="warning.js"></script>
+ <link rel="icon" href="favicon.ico">
+ <script src="mobile.js"></script>
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-23704182-3']);
+ _gaq.push(['_setDomainName', '.gridbitlabs.com']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ </script>
+
+</head>
+<body>
+
+ <div id="header">
+ <h1>rap bot</h1>
+ </div>
+<div id="lyrics_c">
+ <div class="thecenter">
+ <div class="lyrics_box">
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>I just tickle these switches and tickle these bitches
+ that's lickin' all on my paint job like liquorish<span class="quotes">"</span></h2>
+ <h3>-Ice Cube</h3>
+ <h4>Ice Cube - Doin' What It 'Pose 2Do</h4>
+ <audio id="song_one" class="jams" >
+ <source src="beats/doinwhatpose1.mp3">
+ <source src="beats/ff/doinwhatpose1.wav">
+ Your browser is out of date and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>I know a lotta dances, they call me Jolly Ranchers
+ 'cause I shine like Rudolph, nigga fuck Prancer!<span class="quotes">"</span></h2>
+ <h3>-Ice Cube</h3>
+ <h4>Ice Cube - Doin' What It 'Pose 2Do</h4>
+ <audio id="song_two" class="jams">
+ <source src="beats/doinwhatpose2.mp3">
+ <source src="beats/ff/doinwhatpose2.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>Hit him like this and like that,
+ let 'em know that I'm lookin' for a big fat dope sack<span class="quotes">"</span></h2>
+ <h3>-Dr. Dre</h3>
+ <h4>Dr. Dre - Deep Cover</h4>
+ <audio id="song_three" class="jams">
+ <source src="beats/deepcover2.mp3">
+ <source src="beats/ff/deepcover2.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>Wrap the work like spandex with the latex,
+ then we ship it outta town, call it safe sex<span class="quotes">"</span></h2>
+ <h3>-Young Jeezy</h3>
+ <h4>Young Jeezy - Go Crazy</h4>
+ <audio id="song_four" class="jams">
+ <source src="beats/gocrazy.mp3">
+ <source src="beats/ff/gocrazy.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>It's elementary, life is but a dream,
+ you know, row row ya boat, your blood forms a stream<span class="quotes">"</span></h2>
+ <h3>-50 Cent</h3>
+ <h4>50 Cent - I'm Supposed To Die Tonight'</h4>
+ <audio id="song_five" class="jams">
+ <source src="beats/supposedtodie.mp3">
+ <source src="beats/ff/supposedtodie.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>I'm in the rear view, my guns is cockin',
+ I'll put red dots on that nigga head like rodman<span class="quotes">"</span></h2>
+ <h3>-The Game</h3>
+ <h4>The Game - Westside Story</h4>
+ <audio id="song_six" class="jams">
+ <source src="beats/westside1.mp3">
+ <source src="beats/ff/westside1.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>Keep jibberin and jabberin, I'll pull a .38 magnum
+ and get to clickin' and clackin'<span class="quotes">"</span></h2>
+ <h3>-The Game</h3>
+ <h4>The Game - Westside Story</h4>
+ <audio id="song_seven" class="jams">
+ <source src="beats/westside2.mp3">
+ <source src="beats/ff/westside2.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>Fuck tha Police<span class="quotes">"</span></h2>
+ <h3>-N.W.A.</h3>
+ <h4>N.W.A. - Fuck Tha Police</h4>
+ <audio id="song_eight" class="jams">
+ <source src="beats/fuckpolice.mp3">
+ <source src="beats/ff/fuckpolice.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>If I sell some yay or smoke some hay,
+ you bitches wanna throw me up in pelican's bay<span class="quotes">"</span></h2>
+ <h3>-Ice Cube</h3>
+ <h4>Ice Cube - Why We Thugs</h4>
+ <audio id="song_nine" class="jams">
+ <source src="beats/whywethugs.mp3">
+ <source src="beats/ff/whywethugs.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>I'll gank ya for 20 bucks then I'll thank ya,
+ police still get the middle fanger<span class="quotes">"</span></h2>
+ <h3>-Ice Cube</h3>
+ <h4>Ice Cube - Smoke Some Weed</h4>
+ <audio id="song_ten" class="jams">
+ <source src="beats/smokeweed1.mp3">
+ <source src="beats/ff/smokeweed1.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>If you a baller, nigga I'm a hall of famer
+ lion tamer, with two fo'-fifth flamers<span class="quotes">"</span></h2>
+ <h3>-Ice Cube</h3>
+ <h4>Ice Cube - Smoke Some Weed</h4>
+ <audio id="song_eleven" class="jams">
+ <source src="beats/smokeweed2.mp3">
+ <source src="beats/ff/smokeweed2.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>In South Central, Los Angeles, Grandmama smoke cannabis,
+ Granddaughter wanna dance and shit, her own momma can't stand the bitch<span class="quotes">"</span></h2>
+ <h3>-Ice Cube</h3>
+ <h4>Ice Cube - The Game Lord</h4>
+ <audio id="song_twelve" class="jams">
+ <source src="beats/gamelord.mp3">
+ <source src="beats/ff/gamelord.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>If you don't quit, yeah, if you don't stop, yeah,
+ I'm lettin' my gat pop, cause it's 1-8-7 on a undercover cop<span class="quotes">"</span></h2>
+ <h3>-Dr. Dre</h3>
+ <h4>Dr. Dre - Deep Cover</h4>
+ <audio id="song_thirteen" class="jams">
+ <source src="beats/deepcover1.mp3">
+ <source src="beats/ff/deepcover1.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>So I'ma get smart, and get defensive and shit
+ and put together a million march for some gangsta shit<span class="quotes">"</span></h2>
+ <h3>-2pac</h3>
+ <h4>2pac - 2 of Amerikaz Most Wanted</h4>
+ <audio id="song_fourteen" class="jams">
+ <source src="beats/2pac.mp3">
+ <source src="beats/ff/2pac.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>Talk slick, you get your neck slit quick,
+ cause real street niggaz ain't havin' that shit<span class="quotes">"</span></h2>
+ <h3>-Notorious B.I.G.</h3>
+ <h4>Notorious B.I.G. - Things Done Changed</h4>
+ <audio id="song_fifteen" class="jams">
+ <source src="beats/thingschanged.mp3">
+ <source src="beats/ff/thingschanged.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>The minute I wake up I gotta get high,
+ the homies, we found us a way to get by<span class="quotes">"</span></h2>
+ <h3>-Rick Ross</h3>
+ <h4>Rick Ross - Retro Super Future II</h4>
+ <audio id="song_sixteen" class="jams">
+ <source src="beats/rsf2.mp3">
+ <source src="beats/ff/rsf2.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>Bitches lookin' at me strange but you know I don't care,
+ step up in this mother fucker just a-swangin' my hair<span class="quotes">"</span></h2>
+ <h3>-Snoop Dogg</h3>
+ <h4>Dr. Dre - Next Episode</h4>
+ <audio id="song_seventeen" class="jams">
+ <source src="beats/nextep1.mp3">
+ <source src="beats/ff/nextep1.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>Bitch quit talkin', crip walk if you down with the set,
+ take a bullet with some dick and take this dope from this jet<span class="quotes">"</span></h2>
+ <h3>-Dr. Dre</h3>
+ <h4>Dr. Dre - Next Episode</h4>
+ <audio id="song_eighteen" class="jams">
+ <source src="beats/nextep2.mp3">
+ <source src="beats/ff/nextep2.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>This shit is bananas,
+ <br>B-A-N-A-N-A-S!<span class="quotes">"</span></h2>
+ <h3>-Gwen Stefani</h3>
+ <h4>Gwen Stefani - Hollaback Girl</h4>
+ <audio id="song_nineteen" class="jams">
+ <source src="beats/bananasgwen.mp3">
+ <source src="beats/ff/bananasgwen.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+ <div class="lyrics">
+ <h2><span class="quotes">"</span>Cause I ain't got no legs! Or no brain, nice to meet you.
+ Hi, my name is...I forgot my name!<span class="quotes">"</span></h2>
+ <h3>-Eminem</h3>
+ <h4>Eminem - Rain Man</h4>
+ <audio id="song_twenty" class="jams">
+ <source src="beats/rainman.mp3">
+ <source src="beats/ff/rainman.wav">
+ Your browser is out of date
+ and will cause this website to render incorrectly.</audio>
+ </div>
+
+
+
+ </div>
+</div>
+</div>
+
+
+ <div id="bottom">
+ <div class="bottom_c">
+
+ <div class="prev">Prev</div>
+
+ <button class="play" id="play">Rap!</button>
+
+ <div class="next">Next</div>
+
+ </div>
+
+ <div class="footer">
+ <span class="copy">© 2011 Gridbit Laboratories, LLC</span>
+ </div>
+
+ </div>
+
+ </div>
+</body>
+
+</html>
\ No newline at end of file diff --git a/rapbot/jquery.colorbox-min.js b/rapbot/jquery.colorbox-min.js new file mode 100755 index 0000000..3198077 --- /dev/null +++ b/rapbot/jquery.colorbox-min.js @@ -0,0 +1,4 @@ +// ColorBox v1.3.17.2 - a full featured, light-weight, customizable lightbox based on jQuery 1.3+
+// Copyright (c) 2011 Jack Moore - jack@colorpowered.com
+// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
+(function(a,b,c){function bc(b){if(!U){P=b,_(),y=a(P),Q=0,K.rel!=="nofollow"&&(y=a("."+g).filter(function(){var b=a.data(this,e).rel||this.rel;return b===K.rel}),Q=y.index(P),Q===-1&&(y=y.add(P),Q=y.length-1));if(!S){S=T=!0,r.show();if(K.returnFocus)try{P.blur(),a(P).one(l,function(){try{this.focus()}catch(a){}})}catch(c){}q.css({opacity:+K.opacity,cursor:K.overlayClose?"pointer":"auto"}).show(),K.w=Z(K.initialWidth,"x"),K.h=Z(K.initialHeight,"y"),X.position(),o&&z.bind("resize."+p+" scroll."+p,function(){q.css({width:z.width(),height:z.height(),top:z.scrollTop(),left:z.scrollLeft()})}).trigger("resize."+p),ba(h,K.onOpen),J.add(D).hide(),I.html(K.close).show()}X.load(!0)}}function bb(){var a,b=f+"Slideshow_",c="click."+f,d,e,g;K.slideshow&&y[1]?(d=function(){F.text(K.slideshowStop).unbind(c).bind(j,function(){if(Q<y.length-1||K.loop)a=setTimeout(X.next,K.slideshowSpeed)}).bind(i,function(){clearTimeout(a)}).one(c+" "+k,e),r.removeClass(b+"off").addClass(b+"on"),a=setTimeout(X.next,K.slideshowSpeed)},e=function(){clearTimeout(a),F.text(K.slideshowStart).unbind([j,i,k,c].join(" ")).one(c,d),r.removeClass(b+"on").addClass(b+"off")},K.slideshowAuto?d():e()):r.removeClass(b+"off "+b+"on")}function ba(b,c){c&&c.call(P),a.event.trigger(b)}function _(b){K=a.extend({},a.data(P,e));for(b in K)a.isFunction(K[b])&&b.substring(0,2)!=="on"&&(K[b]=K[b].call(P));K.rel=K.rel||P.rel||"nofollow",K.href=K.href||a(P).attr("href"),K.title=K.title||P.title,typeof K.href=="string"&&(K.href=a.trim(K.href))}function $(a){return K.photo||/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i.test(a)}function Z(a,b){return Math.round((/%/.test(a)?(b==="x"?z.width():z.height())/100:1)*parseInt(a,10))}function Y(c,d,e){e=b.createElement("div"),c&&(e.id=f+c),e.style.cssText=d||"";return a(e)}var d={transition:"elastic",speed:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,fastIframe:!0,photo:!1,href:!1,title:!1,rel:!1,opacity:.9,preloading:!0,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:!1,returnFocus:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:!1},e="colorbox",f="cbox",g=f+"Element",h=f+"_open",i=f+"_load",j=f+"_complete",k=f+"_cleanup",l=f+"_closed",m=f+"_purge",n=a.browser.msie&&!a.support.opacity,o=n&&a.browser.version<7,p=f+"_IE6",q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X;X=a.fn[e]=a[e]=function(b,c){var f=this;b=b||{};if(!f[0]){if(f.selector)return f;f=a("<a/>"),b.open=!0}c&&(b.onComplete=c),f.each(function(){a.data(this,e,a.extend({},a.data(this,e)||d,b)),a(this).addClass(g)}),(a.isFunction(b.open)&&b.open.call(f)||b.open)&&bc(f[0]);return f},X.init=function(){z=a(c),r=Y().attr({id:e,"class":n?f+(o?"IE6":"IE"):""}),q=Y("Overlay",o?"position:absolute":"").hide(),s=Y("Wrapper"),t=Y("Content").append(A=Y("LoadedContent","width:0; height:0; overflow:hidden"),C=Y("LoadingOverlay").add(Y("LoadingGraphic")),D=Y("Title"),E=Y("Current"),G=Y("Next"),H=Y("Previous"),F=Y("Slideshow").bind(h,bb),I=Y("Close")),s.append(Y().append(Y("TopLeft"),u=Y("TopCenter"),Y("TopRight")),Y(!1,"clear:left").append(v=Y("MiddleLeft"),t,w=Y("MiddleRight")),Y(!1,"clear:left").append(Y("BottomLeft"),x=Y("BottomCenter"),Y("BottomRight"))).children().children().css({"float":"left"}),B=Y(!1,"position:absolute; width:9999px; visibility:hidden; display:none"),a("body").prepend(q,r.append(s,B)),t.children().hover(function(){a(this).addClass("hover")},function(){a(this).removeClass("hover")}).addClass("hover"),L=u.height()+x.height()+t.outerHeight(!0)-t.height(),M=v.width()+w.width()+t.outerWidth(!0)-t.width(),N=A.outerHeight(!0),O=A.outerWidth(!0),r.css({"padding-bottom":L,"padding-right":M}).hide(),G.click(function(){X.next()}),H.click(function(){X.prev()}),I.click(function(){X.close()}),J=G.add(H).add(E).add(F),t.children().removeClass("hover"),q.click(function(){K.overlayClose&&X.close()}),a(b).bind("keydown."+f,function(a){var b=a.keyCode;S&&K.escKey&&b===27&&(a.preventDefault(),X.close()),S&&K.arrowKey&&y[1]&&(b===37?(a.preventDefault(),H.click()):b===39&&(a.preventDefault(),G.click()))})},X.remove=function(){r.add(q).remove(),a("."+g).removeData(e).removeClass(g)},X.position=function(a,c){function g(a){u[0].style.width=x[0].style.width=t[0].style.width=a.style.width,C[0].style.height=C[1].style.height=t[0].style.height=v[0].style.height=w[0].style.height=a.style.height}var d=0,e=0;z.unbind("resize."+f),r.hide(),K.fixed&&!o?r.css({position:"fixed"}):(d=z.scrollTop(),e=z.scrollLeft(),r.css({position:"absolute"})),K.right!==!1?e+=Math.max(z.width()-K.w-O-M-Z(K.right,"x"),0):K.left!==!1?e+=Z(K.left,"x"):e+=Math.round(Math.max(z.width()-K.w-O-M,0)/2),K.bottom!==!1?d+=Math.max(b.documentElement.clientHeight-K.h-N-L-Z(K.bottom,"y"),0):K.top!==!1?d+=Z(K.top,"y"):d+=Math.round(Math.max(b.documentElement.clientHeight-K.h-N-L,0)/2),r.show(),a=r.width()===K.w+O&&r.height()===K.h+N?0:a||0,s[0].style.width=s[0].style.height="9999px",r.dequeue().animate({width:K.w+O,height:K.h+N,top:d,left:e},{duration:a,complete:function(){g(this),T=!1,s[0].style.width=K.w+O+M+"px",s[0].style.height=K.h+N+L+"px",c&&c(),setTimeout(function(){z.bind("resize."+f,X.position)},1)},step:function(){g(this)}})},X.resize=function(a){if(S){a=a||{},a.width&&(K.w=Z(a.width,"x")-O-M),a.innerWidth&&(K.w=Z(a.innerWidth,"x")),A.css({width:K.w}),a.height&&(K.h=Z(a.height,"y")-N-L),a.innerHeight&&(K.h=Z(a.innerHeight,"y"));if(!a.innerHeight&&!a.height){var b=A.wrapInner("<div style='overflow:auto'></div>").children();K.h=b.height(),b.replaceWith(b.children())}A.css({height:K.h}),X.position(K.transition==="none"?0:K.speed)}},X.prep=function(b){function h(){K.h=K.h||A.height(),K.h=K.mh&&K.mh<K.h?K.mh:K.h;return K.h}function g(){K.w=K.w||A.width(),K.w=K.mw&&K.mw<K.w?K.mw:K.w;return K.w}if(!!S){var c,d=K.transition==="none"?0:K.speed;A.remove(),A=Y("LoadedContent").append(b),A.hide().appendTo(B.show()).css({width:g(),overflow:K.scrolling?"auto":"hidden"}).css({height:h()}).prependTo(t),B.hide(),a(R).css({"float":"none"}),o&&a("select").not(r.find("select")).filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(k,function(){this.style.visibility="inherit"}),c=function(){function o(){n&&r[0].style.removeAttribute("filter")}var b,c,g,h,i=y.length,k,l;!S||(l=function(){clearTimeout(W),C.hide(),ba(j,K.onComplete)},n&&R&&A.fadeIn(100),D.html(K.title).add(A).show(),i>1?(typeof K.current=="string"&&E.html(K.current.replace("{current}",Q+1).replace("{total}",i)).show(),G[K.loop||Q<i-1?"show":"hide"]().html(K.next),H[K.loop||Q?"show":"hide"]().html(K.previous),b=Q?y[Q-1]:y[i-1],g=Q<i-1?y[Q+1]:y[0],K.slideshow&&F.show(),K.preloading&&(h=a.data(g,e).href||g.href,c=a.data(b,e).href||b.href,h=a.isFunction(h)?h.call(g):h,c=a.isFunction(c)?c.call(b):c,$(h)&&(a("<img/>")[0].src=h),$(c)&&(a("<img/>")[0].src=c))):J.hide(),K.iframe?(k=a("<iframe/>").addClass(f+"Iframe")[0],K.fastIframe?l():a(k).one("load",l),k.name=f+ +(new Date),k.src=K.href,K.scrolling||(k.scrolling="no"),n&&(k.frameBorder=0,k.allowTransparency="true"),a(k).appendTo(A).one(m,function(){k.src="//about:blank"})):l(),K.transition==="fade"?r.fadeTo(d,1,o):o())},K.transition==="fade"?r.fadeTo(d,0,function(){X.position(0,c)}):X.position(d,c)}},X.load=function(b){var c,d,e=X.prep;T=!0,R=!1,P=y[Q],b||_(),ba(m),ba(i,K.onLoad),K.h=K.height?Z(K.height,"y")-N-L:K.innerHeight&&Z(K.innerHeight,"y"),K.w=K.width?Z(K.width,"x")-O-M:K.innerWidth&&Z(K.innerWidth,"x"),K.mw=K.w,K.mh=K.h,K.maxWidth&&(K.mw=Z(K.maxWidth,"x")-O-M,K.mw=K.w&&K.w<K.mw?K.w:K.mw),K.maxHeight&&(K.mh=Z(K.maxHeight,"y")-N-L,K.mh=K.h&&K.h<K.mh?K.h:K.mh),c=K.href,W=setTimeout(function(){C.show()},100),K.inline?(Y().hide().insertBefore(a(c)[0]).one(m,function(){a(this).replaceWith(A.children())}),e(a(c))):K.iframe?e(" "):K.html?e(K.html):$(c)?(a(R=new Image).addClass(f+"Photo").error(function(){K.title=!1,e(Y("Error").text("This image could not be loaded"))}).load(function(){var a;R.onload=null,K.scalePhotos&&(d=function(){R.height-=R.height*a,R.width-=R.width*a},K.mw&&R.width>K.mw&&(a=(R.width-K.mw)/R.width,d()),K.mh&&R.height>K.mh&&(a=(R.height-K.mh)/R.height,d())),K.h&&(R.style.marginTop=Math.max(K.h-R.height,0)/2+"px"),y[1]&&(Q<y.length-1||K.loop)&&(R.style.cursor="pointer",R.onclick=function(){X.next()}),n&&(R.style.msInterpolationMode="bicubic"),setTimeout(function(){e(R)},1)}),setTimeout(function(){R.src=c},1)):c&&B.load(c,K.data,function(b,c,d){e(c==="error"?Y("Error").text("Request unsuccessful: "+d.statusText):a(this).contents())})},X.next=function(){!T&&y[1]&&(Q<y.length-1||K.loop)&&(Q=Q<y.length-1?Q+1:0,X.load())},X.prev=function(){!T&&y[1]&&(Q||K.loop)&&(Q=Q?Q-1:y.length-1,X.load())},X.close=function(){S&&!U&&(U=!0,S=!1,ba(k,K.onCleanup),z.unbind("."+f+" ."+p),q.fadeTo(200,0),r.stop().fadeTo(300,0,function(){r.add(q).css({opacity:1,cursor:"auto"}).hide(),ba(m),A.remove(),setTimeout(function(){U=!1,ba(l,K.onClosed)},1)}))},X.element=function(){return a(P)},X.settings=d,V=function(a){a.button!==0&&typeof a.button!="undefined"||a.ctrlKey||a.shiftKey||a.altKey||(a.preventDefault(),bc(this))},a.fn.delegate?a(b).delegate("."+g,"click",V):a("."+g).live("click",V),a(X.init)})(jQuery,document,this);
\ No newline at end of file diff --git a/rapbot/jquery.cycle.all.min.js b/rapbot/jquery.cycle.all.min.js new file mode 100755 index 0000000..660a473 --- /dev/null +++ b/rapbot/jquery.cycle.all.min.js @@ -0,0 +1,21 @@ +/* + * jQuery Cycle Plugin (with Transition Definitions) + * Examples and documentation at: http://jquery.malsup.com/cycle/ + * Copyright (c) 2007-2010 M. Alsup + * Version: 2.99 (12-MAR-2011) + * Dual licensed under the MIT and GPL licenses. + * http://jquery.malsup.com/license.html + * Requires: jQuery v1.3.2 or later + */ +(function($){var ver="2.99";if($.support==undefined){$.support={opacity:!($.browser.msie)};}function debug(s){$.fn.cycle.debug&&log(s);}function log(){window.console&&console.log&&console.log("[cycle] "+Array.prototype.join.call(arguments," "));}$.expr[":"].paused=function(el){return el.cyclePause;};$.fn.cycle=function(options,arg2){var o={s:this.selector,c:this.context};if(this.length===0&&options!="stop"){if(!$.isReady&&o.s){log("DOM not ready, queuing slideshow");$(function(){$(o.s,o.c).cycle(options,arg2);});return this;}log("terminating; zero elements found by selector"+($.isReady?"":" (DOM not ready)"));return this;}return this.each(function(){var opts=handleArguments(this,options,arg2);if(opts===false){return;}opts.updateActivePagerLink=opts.updateActivePagerLink||$.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout);}this.cycleTimeout=this.cyclePause=0;var $cont=$(this);var $slides=opts.slideExpr?$(opts.slideExpr,this):$cont.children();var els=$slides.get();if(els.length<2){log("terminating; too few slides: "+els.length);return;}var opts2=buildOptions($cont,$slides,els,opts,o);if(opts2===false){return;}var startTime=opts2.continuous?10:getTimeout(els[opts2.currSlide],els[opts2.nextSlide],opts2,!opts2.backwards);if(startTime){startTime+=(opts2.delay||0);if(startTime<10){startTime=10;}debug("first timeout: "+startTime);this.cycleTimeout=setTimeout(function(){go(els,opts2,0,!opts.backwards);},startTime);}});};function handleArguments(cont,options,arg2){if(cont.cycleStop==undefined){cont.cycleStop=0;}if(options===undefined||options===null){options={};}if(options.constructor==String){switch(options){case"destroy":case"stop":var opts=$(cont).data("cycle.opts");if(!opts){return false;}cont.cycleStop++;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);}cont.cycleTimeout=0;$(cont).removeData("cycle.opts");if(options=="destroy"){destroy(opts);}return false;case"toggle":cont.cyclePause=(cont.cyclePause===1)?0:1;checkInstantResume(cont.cyclePause,arg2,cont);return false;case"pause":cont.cyclePause=1;return false;case"resume":cont.cyclePause=0;checkInstantResume(false,arg2,cont);return false;case"prev":case"next":var opts=$(cont).data("cycle.opts");if(!opts){log('options not found, "prev/next" ignored');return false;}$.fn.cycle[options](opts);return false;default:options={fx:options};}return options;}else{if(options.constructor==Number){var num=options;options=$(cont).data("cycle.opts");if(!options){log("options not found, can not advance slide");return false;}if(num<0||num>=options.elements.length){log("invalid slide index: "+num);return false;}options.nextSlide=num;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}if(typeof arg2=="string"){options.oneTimeFx=arg2;}go(options.elements,options,1,num>=options.currSlide);return false;}}return options;function checkInstantResume(isPaused,arg2,cont){if(!isPaused&&arg2===true){var options=$(cont).data("cycle.opts");if(!options){log("options not found, can not resume");return false;}if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}go(options.elements,options,1,!options.backwards);}}}function removeFilter(el,opts){if(!$.support.opacity&&opts.cleartype&&el.style.filter){try{el.style.removeAttribute("filter");}catch(smother){}}}function destroy(opts){if(opts.next){$(opts.next).unbind(opts.prevNextEvent);}if(opts.prev){$(opts.prev).unbind(opts.prevNextEvent);}if(opts.pager||opts.pagerAnchorBuilder){$.each(opts.pagerAnchors||[],function(){this.unbind().remove();});}opts.pagerAnchors=null;if(opts.destroy){opts.destroy(opts);}}function buildOptions($cont,$slides,els,options,o){var opts=$.extend({},$.fn.cycle.defaults,options||{},$.metadata?$cont.metadata():$.meta?$cont.data():{});if(opts.autostop){opts.countdown=opts.autostopCount||els.length;}var cont=$cont[0];$cont.data("cycle.opts",opts);opts.$cont=$cont;opts.stopCount=cont.cycleStop;opts.elements=els;opts.before=opts.before?[opts.before]:[];opts.after=opts.after?[opts.after]:[];if(!$.support.opacity&&opts.cleartype){opts.after.push(function(){removeFilter(this,opts);});}if(opts.continuous){opts.after.push(function(){go(els,opts,0,!opts.backwards);});}saveOriginalOpts(opts);if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($slides);}if($cont.css("position")=="static"){$cont.css("position","relative");}if(opts.width){$cont.width(opts.width);}if(opts.height&&opts.height!="auto"){$cont.height(opts.height);}if(opts.startingSlide){opts.startingSlide=parseInt(opts.startingSlide);}else{if(opts.backwards){opts.startingSlide=els.length-1;}}if(opts.random){opts.randomMap=[];for(var i=0;i<els.length;i++){opts.randomMap.push(i);}opts.randomMap.sort(function(a,b){return Math.random()-0.5;});opts.randomIndex=1;opts.startingSlide=opts.randomMap[1];}else{if(opts.startingSlide>=els.length){opts.startingSlide=0;}}opts.currSlide=opts.startingSlide||0;var first=opts.startingSlide;$slides.css({position:"absolute",top:0,left:0}).hide().each(function(i){var z;if(opts.backwards){z=first?i<=first?els.length+(i-first):first-i:els.length-i;}else{z=first?i>=first?els.length-(i-first):first-i:els.length-i;}$(this).css("z-index",z);});$(els[first]).css("opacity",1).show();removeFilter(els[first],opts);if(opts.fit&&opts.width){$slides.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}var reshape=opts.containerResize&&!$cont.innerHeight();if(reshape){var maxw=0,maxh=0;for(var j=0;j<els.length;j++){var $e=$(els[j]),e=$e[0],w=$e.outerWidth(),h=$e.outerHeight();if(!w){w=e.offsetWidth||e.width||$e.attr("width");}if(!h){h=e.offsetHeight||e.height||$e.attr("height");}maxw=w>maxw?w:maxw;maxh=h>maxh?h:maxh;}if(maxw>0&&maxh>0){$cont.css({width:maxw+"px",height:maxh+"px"});}}if(opts.pause){$cont.hover(function(){this.cyclePause++;},function(){this.cyclePause--;});}if(supportMultiTransitions(opts)===false){return false;}var requeue=false;options.requeueAttempts=options.requeueAttempts||0;$slides.each(function(){var $el=$(this);this.cycleH=(opts.fit&&opts.height)?opts.height:($el.height()||this.offsetHeight||this.height||$el.attr("height")||0);this.cycleW=(opts.fit&&opts.width)?opts.width:($el.width()||this.offsetWidth||this.width||$el.attr("width")||0);if($el.is("img")){var loadingIE=($.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var loadingFF=($.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var loadingOp=($.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var loadingOther=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(loadingIE||loadingFF||loadingOp||loadingOther){if(o.s&&opts.requeueOnImageNotLoaded&&++options.requeueAttempts<100){log(options.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){$(o.s,o.c).cycle(options);},opts.requeueTimeout);requeue=true;return false;}else{log("could not determine size of image: "+this.src,this.cycleW,this.cycleH);}}}return true;});if(requeue){return false;}opts.cssBefore=opts.cssBefore||{};opts.cssAfter=opts.cssAfter||{};opts.cssFirst=opts.cssFirst||{};opts.animIn=opts.animIn||{};opts.animOut=opts.animOut||{};$slides.not(":eq("+first+")").css(opts.cssBefore);$($slides[first]).css(opts.cssFirst);if(opts.timeout){opts.timeout=parseInt(opts.timeout);if(opts.speed.constructor==String){opts.speed=$.fx.speeds[opts.speed]||parseInt(opts.speed);}if(!opts.sync){opts.speed=opts.speed/2;}var buffer=opts.fx=="none"?0:opts.fx=="shuffle"?500:250;while((opts.timeout-opts.speed)<buffer){opts.timeout+=opts.speed;}}if(opts.easing){opts.easeIn=opts.easeOut=opts.easing;}if(!opts.speedIn){opts.speedIn=opts.speed;}if(!opts.speedOut){opts.speedOut=opts.speed;}opts.slideCount=els.length;opts.currSlide=opts.lastSlide=first;if(opts.random){if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.backwards){opts.nextSlide=opts.startingSlide==0?(els.length-1):opts.startingSlide-1;}else{opts.nextSlide=opts.startingSlide>=(els.length-1)?0:opts.startingSlide+1;}}if(!opts.multiFx){var init=$.fn.cycle.transitions[opts.fx];if($.isFunction(init)){init($cont,$slides,opts);}else{if(opts.fx!="custom"&&!opts.multiFx){log("unknown transition: "+opts.fx,"; slideshow terminating");return false;}}}var e0=$slides[first];if(opts.before.length){opts.before[0].apply(e0,[e0,e0,opts,true]);}if(opts.after.length){opts.after[0].apply(e0,[e0,e0,opts,true]);}if(opts.next){$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,1);});}if(opts.prev){$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,0);});}if(opts.pager||opts.pagerAnchorBuilder){buildPager(els,opts);}exposeAddSlide(opts,els);return opts;}function saveOriginalOpts(opts){opts.original={before:[],after:[]};opts.original.cssBefore=$.extend({},opts.cssBefore);opts.original.cssAfter=$.extend({},opts.cssAfter);opts.original.animIn=$.extend({},opts.animIn);opts.original.animOut=$.extend({},opts.animOut);$.each(opts.before,function(){opts.original.before.push(this);});$.each(opts.after,function(){opts.original.after.push(this);});}function supportMultiTransitions(opts){var i,tx,txs=$.fn.cycle.transitions;if(opts.fx.indexOf(",")>0){opts.multiFx=true;opts.fxs=opts.fx.replace(/\s*/g,"").split(",");for(i=0;i<opts.fxs.length;i++){var fx=opts.fxs[i];tx=txs[fx];if(!tx||!txs.hasOwnProperty(fx)||!$.isFunction(tx)){log("discarding unknown transition: ",fx);opts.fxs.splice(i,1);i--;}}if(!opts.fxs.length){log("No valid transitions named; slideshow terminating.");return false;}}else{if(opts.fx=="all"){opts.multiFx=true;opts.fxs=[];for(p in txs){tx=txs[p];if(txs.hasOwnProperty(p)&&$.isFunction(tx)){opts.fxs.push(p);}}}}if(opts.multiFx&&opts.randomizeEffects){var r1=Math.floor(Math.random()*20)+30;for(i=0;i<r1;i++){var r2=Math.floor(Math.random()*opts.fxs.length);opts.fxs.push(opts.fxs.splice(r2,1)[0]);}debug("randomized fx sequence: ",opts.fxs);}return true;}function exposeAddSlide(opts,els){opts.addSlide=function(newSlide,prepend){var $s=$(newSlide),s=$s[0];if(!opts.autostopCount){opts.countdown++;}els[prepend?"unshift":"push"](s);if(opts.els){opts.els[prepend?"unshift":"push"](s);}opts.slideCount=els.length;$s.css("position","absolute");$s[prepend?"prependTo":"appendTo"](opts.$cont);if(prepend){opts.currSlide++;opts.nextSlide++;}if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($s);}if(opts.fit&&opts.width){$s.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$s.height(opts.height);}s.cycleH=(opts.fit&&opts.height)?opts.height:$s.height();s.cycleW=(opts.fit&&opts.width)?opts.width:$s.width();$s.css(opts.cssBefore);if(opts.pager||opts.pagerAnchorBuilder){$.fn.cycle.createPagerAnchor(els.length-1,s,$(opts.pager),els,opts);}if($.isFunction(opts.onAddSlide)){opts.onAddSlide($s);}else{$s.hide();}};}$.fn.cycle.resetState=function(opts,fx){fx=fx||opts.fx;opts.before=[];opts.after=[];opts.cssBefore=$.extend({},opts.original.cssBefore);opts.cssAfter=$.extend({},opts.original.cssAfter);opts.animIn=$.extend({},opts.original.animIn);opts.animOut=$.extend({},opts.original.animOut);opts.fxFn=null;$.each(opts.original.before,function(){opts.before.push(this);});$.each(opts.original.after,function(){opts.after.push(this);});var init=$.fn.cycle.transitions[fx];if($.isFunction(init)){init(opts.$cont,$(opts.elements),opts);}};function go(els,opts,manual,fwd){if(manual&&opts.busy&&opts.manualTrump){debug("manualTrump in go(), stopping active transition");$(els).stop(true,true);opts.busy=0;}if(opts.busy){debug("transition active, ignoring new tx request");return;}var p=opts.$cont[0],curr=els[opts.currSlide],next=els[opts.nextSlide];if(p.cycleStop!=opts.stopCount||p.cycleTimeout===0&&!manual){return;}if(!manual&&!p.cyclePause&&!opts.bounce&&((opts.autostop&&(--opts.countdown<=0))||(opts.nowrap&&!opts.random&&opts.nextSlide<opts.currSlide))){if(opts.end){opts.end(opts);}return;}var changed=false;if((manual||!p.cyclePause)&&(opts.nextSlide!=opts.currSlide)){changed=true;var fx=opts.fx;curr.cycleH=curr.cycleH||$(curr).height();curr.cycleW=curr.cycleW||$(curr).width();next.cycleH=next.cycleH||$(next).height();next.cycleW=next.cycleW||$(next).width();if(opts.multiFx){if(opts.lastFx==undefined||++opts.lastFx>=opts.fxs.length){opts.lastFx=0;}fx=opts.fxs[opts.lastFx];opts.currFx=fx;}if(opts.oneTimeFx){fx=opts.oneTimeFx;opts.oneTimeFx=null;}$.fn.cycle.resetState(opts,fx);if(opts.before.length){$.each(opts.before,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});}var after=function(){opts.busy=0;$.each(opts.after,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});};debug("tx firing("+fx+"); currSlide: "+opts.currSlide+"; nextSlide: "+opts.nextSlide);opts.busy=1;if(opts.fxFn){opts.fxFn(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{if($.isFunction($.fn.cycle[opts.fx])){$.fn.cycle[opts.fx](curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{$.fn.cycle.custom(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}}}if(changed||opts.nextSlide==opts.currSlide){opts.lastSlide=opts.currSlide;if(opts.random){opts.currSlide=opts.nextSlide;if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];if(opts.nextSlide==opts.currSlide){opts.nextSlide=(opts.currSlide==opts.slideCount-1)?0:opts.currSlide+1;}}else{if(opts.backwards){var roll=(opts.nextSlide-1)<0;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=1;opts.currSlide=0;}else{opts.nextSlide=roll?(els.length-1):opts.nextSlide-1;opts.currSlide=roll?0:opts.nextSlide+1;}}else{var roll=(opts.nextSlide+1)==els.length;if(roll&&opts.bounce){opts.backwards=!opts.backwards;opts.nextSlide=els.length-2;opts.currSlide=els.length-1;}else{opts.nextSlide=roll?0:opts.nextSlide+1;opts.currSlide=roll?els.length-1:opts.nextSlide-1;}}}}if(changed&&opts.pager){opts.updateActivePagerLink(opts.pager,opts.currSlide,opts.activePagerClass);}var ms=0;if(opts.timeout&&!opts.continuous){ms=getTimeout(els[opts.currSlide],els[opts.nextSlide],opts,fwd);}else{if(opts.continuous&&p.cyclePause){ms=10;}}if(ms>0){p.cycleTimeout=setTimeout(function(){go(els,opts,0,!opts.backwards);},ms);}}$.fn.cycle.updateActivePagerLink=function(pager,currSlide,clsName){$(pager).each(function(){$(this).children().removeClass(clsName).eq(currSlide).addClass(clsName);});};function getTimeout(curr,next,opts,fwd){if(opts.timeoutFn){var t=opts.timeoutFn.call(curr,curr,next,opts,fwd);while(opts.fx!="none"&&(t-opts.speed)<250){t+=opts.speed;}debug("calculated timeout: "+t+"; speed: "+opts.speed);if(t!==false){return t;}}return opts.timeout;}$.fn.cycle.next=function(opts){advance(opts,1);};$.fn.cycle.prev=function(opts){advance(opts,0);};function advance(opts,moveForward){var val=moveForward?1:-1;var els=opts.elements;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}if(opts.random&&val<0){opts.randomIndex--;if(--opts.randomIndex==-2){opts.randomIndex=els.length-2;}else{if(opts.randomIndex==-1){opts.randomIndex=els.length-1;}}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.random){opts.nextSlide=opts.randomMap[opts.randomIndex];}else{opts.nextSlide=opts.currSlide+val;if(opts.nextSlide<0){if(opts.nowrap){return false;}opts.nextSlide=els.length-1;}else{if(opts.nextSlide>=els.length){if(opts.nowrap){return false;}opts.nextSlide=0;}}}}var cb=opts.onPrevNextEvent||opts.prevNextClick;if($.isFunction(cb)){cb(val>0,opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,moveForward);return false;}function buildPager(els,opts){var $p=$(opts.pager);$.each(els,function(i,o){$.fn.cycle.createPagerAnchor(i,o,$p,els,opts);});opts.updateActivePagerLink(opts.pager,opts.startingSlide,opts.activePagerClass);}$.fn.cycle.createPagerAnchor=function(i,el,$p,els,opts){var a;if($.isFunction(opts.pagerAnchorBuilder)){a=opts.pagerAnchorBuilder(i,el);debug("pagerAnchorBuilder("+i+", el) returned: "+a);}else{a='<a href="#">'+(i+1)+"</a>";}if(!a){return;}var $a=$(a);if($a.parents("body").length===0){var arr=[];if($p.length>1){$p.each(function(){var $clone=$a.clone(true);$(this).append($clone);arr.push($clone[0]);});$a=$(arr);}else{$a.appendTo($p);}}opts.pagerAnchors=opts.pagerAnchors||[];opts.pagerAnchors.push($a);$a.bind(opts.pagerEvent,function(e){e.preventDefault();opts.nextSlide=i;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}var cb=opts.onPagerEvent||opts.pagerClick;if($.isFunction(cb)){cb(opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,opts.currSlide<i);});if(!/^click/.test(opts.pagerEvent)&&!opts.allowPagerClickBubble){$a.bind("click.cycle",function(){return false;});}if(opts.pauseOnPagerHover){$a.hover(function(){opts.$cont[0].cyclePause++;},function(){opts.$cont[0].cyclePause--;});}};$.fn.cycle.hopsFromLast=function(opts,fwd){var hops,l=opts.lastSlide,c=opts.currSlide;if(fwd){hops=c>l?c-l:opts.slideCount-l;}else{hops=c<l?l-c:l+opts.slideCount-c;}return hops;};function clearTypeFix($slides){debug("applying clearType background-color hack");function hex(s){s=parseInt(s).toString(16);return s.length<2?"0"+s:s;}function getBg(e){for(;e&&e.nodeName.toLowerCase()!="html";e=e.parentNode){var v=$.css(e,"background-color");if(v&&v.indexOf("rgb")>=0){var rgb=v.match(/\d+/g);return"#"+hex(rgb[0])+hex(rgb[1])+hex(rgb[2]);}if(v&&v!="transparent"){return v;}}return"#ffffff";}$slides.each(function(){$(this).css("background-color",getBg(this));});}$.fn.cycle.commonReset=function(curr,next,opts,w,h,rev){$(opts.elements).not(curr).hide();if(typeof opts.cssBefore.opacity=="undefined"){opts.cssBefore.opacity=1;}opts.cssBefore.display="block";if(opts.slideResize&&w!==false&&next.cycleW>0){opts.cssBefore.width=next.cycleW;}if(opts.slideResize&&h!==false&&next.cycleH>0){opts.cssBefore.height=next.cycleH;}opts.cssAfter=opts.cssAfter||{};opts.cssAfter.display="none";$(curr).css("zIndex",opts.slideCount+(rev===true?1:0));$(next).css("zIndex",opts.slideCount+(rev===true?0:1));};$.fn.cycle.custom=function(curr,next,opts,cb,fwd,speedOverride){var $l=$(curr),$n=$(next);var speedIn=opts.speedIn,speedOut=opts.speedOut,easeIn=opts.easeIn,easeOut=opts.easeOut;$n.css(opts.cssBefore);if(speedOverride){if(typeof speedOverride=="number"){speedIn=speedOut=speedOverride;}else{speedIn=speedOut=1;}easeIn=easeOut=null;}var fn=function(){$n.animate(opts.animIn,speedIn,easeIn,function(){cb();});};$l.animate(opts.animOut,speedOut,easeOut,function(){$l.css(opts.cssAfter);if(!opts.sync){fn();}});if(opts.sync){fn();}};$.fn.cycle.transitions={fade:function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css("opacity",0);opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.opacity=0;});opts.animIn={opacity:1};opts.animOut={opacity:0};opts.cssBefore={top:0,left:0};}};$.fn.cycle.ver=function(){return ver;};$.fn.cycle.defaults={activePagerClass:"activeSlide",after:null,allowPagerClickBubble:false,animIn:null,animOut:null,autostop:0,autostopCount:0,backwards:false,before:null,cleartype:!$.support.opacity,cleartypeNoBg:false,containerResize:1,continuous:0,cssAfter:null,cssBefore:null,delay:0,easeIn:null,easeOut:null,easing:null,end:null,fastOnEvent:0,fit:0,fx:"fade",fxFn:null,height:"auto",manualTrump:true,next:null,nowrap:0,onPagerEvent:null,onPrevNextEvent:null,pager:null,pagerAnchorBuilder:null,pagerEvent:"click.cycle",pause:0,pauseOnPagerHover:0,prev:null,prevNextEvent:"click.cycle",random:0,randomizeEffects:1,requeueOnImageNotLoaded:true,requeueTimeout:250,rev:0,shuffle:null,slideExpr:null,slideResize:1,speed:1000,speedIn:null,speedOut:null,startingSlide:0,sync:1,timeout:4000,timeoutFn:null,updateActivePagerLink:null};})(jQuery); +/* + * jQuery Cycle Plugin Transition Definitions + * This script is a plugin for the jQuery Cycle Plugin + * Examples and documentation at: http://malsup.com/jquery/cycle/ + * Copyright (c) 2007-2010 M. Alsup + * Version: 2.73 + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + */ +(function($){$.fn.cycle.transitions.none=function($cont,$slides,opts){opts.fxFn=function(curr,next,opts,after){$(next).show();$(curr).hide();after();};};$.fn.cycle.transitions.fadeout=function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css({display:"block",opacity:1});opts.before.push(function(curr,next,opts,w,h,rev){$(curr).css("zIndex",opts.slideCount+(!rev===true?1:0));$(next).css("zIndex",opts.slideCount+(!rev===true?0:1));});opts.animIn.opacity=1;opts.animOut.opacity=0;opts.cssBefore.opacity=1;opts.cssBefore.display="block";opts.cssAfter.zIndex=0;};$.fn.cycle.transitions.scrollUp=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssBefore.top=h;opts.cssBefore.left=0;opts.cssFirst.top=0;opts.animIn.top=0;opts.animOut.top=-h;};$.fn.cycle.transitions.scrollDown=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssFirst.top=0;opts.cssBefore.top=-h;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.top=h;};$.fn.cycle.transitions.scrollLeft=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst.left=0;opts.cssBefore.left=w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=0-w;};$.fn.cycle.transitions.scrollRight=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst.left=0;opts.cssBefore.left=-w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=w;};$.fn.cycle.transitions.scrollHorz=function($cont,$slides,opts){$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts,fwd){if(opts.rev){fwd=!fwd;}$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.left=fwd?(next.cycleW-1):(1-next.cycleW);opts.animOut.left=fwd?-curr.cycleW:curr.cycleW;});opts.cssFirst.left=0;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.top=0;};$.fn.cycle.transitions.scrollVert=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push(function(curr,next,opts,fwd){if(opts.rev){fwd=!fwd;}$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.top=fwd?(1-next.cycleH):(next.cycleH-1);opts.animOut.top=fwd?curr.cycleH:-curr.cycleH;});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.left=0;};$.fn.cycle.transitions.slideX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.width=0;opts.animIn.width="show";opts.animOut.width=0;};$.fn.cycle.transitions.slideY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.height=0;opts.animIn.height="show";opts.animOut.height=0;};$.fn.cycle.transitions.shuffle=function($cont,$slides,opts){var i,w=$cont.css("overflow","visible").width();$slides.css({left:0,top:0});opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);});if(!opts.speedAdjusted){opts.speed=opts.speed/2;opts.speedAdjusted=true;}opts.random=0;opts.shuffle=opts.shuffle||{left:-w,top:15};opts.els=[];for(i=0;i<$slides.length;i++){opts.els.push($slides[i]);}for(i=0;i<opts.currSlide;i++){opts.els.push(opts.els.shift());}opts.fxFn=function(curr,next,opts,cb,fwd){if(opts.rev){fwd=!fwd;}var $el=fwd?$(curr):$(next);$(next).css(opts.cssBefore);var count=opts.slideCount;$el.animate(opts.shuffle,opts.speedIn,opts.easeIn,function(){var hops=$.fn.cycle.hopsFromLast(opts,fwd);for(var k=0;k<hops;k++){fwd?opts.els.push(opts.els.shift()):opts.els.unshift(opts.els.pop());}if(fwd){for(var i=0,len=opts.els.length;i<len;i++){$(opts.els[i]).css("z-index",len-i+count);}}else{var z=$(curr).css("z-index");$el.css("z-index",parseInt(z)+1+count);}$el.animate({left:0,top:0},opts.speedOut,opts.easeOut,function(){$(fwd?this:curr).hide();if(cb){cb();}});});};$.extend(opts.cssBefore,{display:"block",opacity:1,top:0,left:0});};$.fn.cycle.transitions.turnUp=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=next.cycleH;opts.animIn.height=next.cycleH;opts.animOut.width=next.cycleW;});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.cssBefore.height=0;opts.animIn.top=0;opts.animOut.height=0;};$.fn.cycle.transitions.turnDown=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssFirst.top=0;opts.cssBefore.left=0;opts.cssBefore.top=0;opts.cssBefore.height=0;opts.animOut.height=0;};$.fn.cycle.transitions.turnLeft=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=next.cycleW;opts.animIn.width=next.cycleW;});opts.cssBefore.top=0;opts.cssBefore.width=0;opts.animIn.left=0;opts.animOut.width=0;};$.fn.cycle.transitions.turnRight=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});$.extend(opts.cssBefore,{top:0,left:0,width:0});opts.animIn.left=0;opts.animOut.width=0;};$.fn.cycle.transitions.zoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false,true);opts.cssBefore.top=next.cycleH/2;opts.cssBefore.left=next.cycleW/2;$.extend(opts.animIn,{top:0,left:0,width:next.cycleW,height:next.cycleH});$.extend(opts.animOut,{width:0,height:0,top:curr.cycleH/2,left:curr.cycleW/2});});opts.cssFirst.top=0;opts.cssFirst.left=0;opts.cssBefore.width=0;opts.cssBefore.height=0;};$.fn.cycle.transitions.fadeZoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false);opts.cssBefore.left=next.cycleW/2;opts.cssBefore.top=next.cycleH/2;$.extend(opts.animIn,{top:0,left:0,width:next.cycleW,height:next.cycleH});});opts.cssBefore.width=0;opts.cssBefore.height=0;opts.animOut.opacity=0;};$.fn.cycle.transitions.blindX=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});opts.cssBefore.left=w;opts.cssBefore.top=0;opts.animIn.left=0;opts.animOut.left=w;};$.fn.cycle.transitions.blindY=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore.top=h;opts.cssBefore.left=0;opts.animIn.top=0;opts.animOut.top=h;};$.fn.cycle.transitions.blindZ=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();var w=$cont.width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore.top=h;opts.cssBefore.left=w;opts.animIn.top=0;opts.animIn.left=0;opts.animOut.top=h;opts.animOut.left=w;};$.fn.cycle.transitions.growX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=this.cycleW/2;opts.animIn.left=0;opts.animIn.width=this.cycleW;opts.animOut.left=0;});opts.cssBefore.top=0;opts.cssBefore.width=0;};$.fn.cycle.transitions.growY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=this.cycleH/2;opts.animIn.top=0;opts.animIn.height=this.cycleH;opts.animOut.top=0;});opts.cssBefore.height=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.curtainX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true,true);opts.cssBefore.left=next.cycleW/2;opts.animIn.left=0;opts.animIn.width=this.cycleW;opts.animOut.left=curr.cycleW/2;opts.animOut.width=0;});opts.cssBefore.top=0;opts.cssBefore.width=0;};$.fn.cycle.transitions.curtainY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false,true);opts.cssBefore.top=next.cycleH/2;opts.animIn.top=0;opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH/2;opts.animOut.height=0;});opts.cssBefore.height=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.cover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);if(d=="right"){opts.cssBefore.left=-w;}else{if(d=="up"){opts.cssBefore.top=h;}else{if(d=="down"){opts.cssBefore.top=-h;}else{opts.cssBefore.left=w;}}}});opts.animIn.left=0;opts.animIn.top=0;opts.cssBefore.top=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.uncover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(d=="right"){opts.animOut.left=w;}else{if(d=="up"){opts.animOut.top=-h;}else{if(d=="down"){opts.animOut.top=h;}else{opts.animOut.left=-w;}}}});opts.animIn.left=0;opts.animIn.top=0;opts.cssBefore.top=0;opts.cssBefore.left=0;};$.fn.cycle.transitions.toss=function($cont,$slides,opts){var w=$cont.css("overflow","visible").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(!opts.animOut.left&&!opts.animOut.top){$.extend(opts.animOut,{left:w*2,top:-h/2,opacity:0});}else{opts.animOut.opacity=0;}});opts.cssBefore.left=0;opts.cssBefore.top=0;opts.animIn.left=0;};$.fn.cycle.transitions.wipe=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.cssBefore=opts.cssBefore||{};var clip;if(opts.clip){if(/l2r/.test(opts.clip)){clip="rect(0px 0px "+h+"px 0px)";}else{if(/r2l/.test(opts.clip)){clip="rect(0px "+w+"px "+h+"px "+w+"px)";}else{if(/t2b/.test(opts.clip)){clip="rect(0px "+w+"px 0px 0px)";}else{if(/b2t/.test(opts.clip)){clip="rect("+h+"px "+w+"px "+h+"px 0px)";}else{if(/zoom/.test(opts.clip)){var top=parseInt(h/2);var left=parseInt(w/2);clip="rect("+top+"px "+left+"px "+top+"px "+left+"px)";}}}}}}opts.cssBefore.clip=opts.cssBefore.clip||clip||"rect(0px 0px 0px 0px)";var d=opts.cssBefore.clip.match(/(\d+)/g);var t=parseInt(d[0]),r=parseInt(d[1]),b=parseInt(d[2]),l=parseInt(d[3]);opts.before.push(function(curr,next,opts){if(curr==next){return;}var $curr=$(curr),$next=$(next);$.fn.cycle.commonReset(curr,next,opts,true,true,false);opts.cssAfter.display="block";var step=1,count=parseInt((opts.speedIn/13))-1;(function f(){var tt=t?t-parseInt(step*(t/count)):0;var ll=l?l-parseInt(step*(l/count)):0;var bb=b<h?b+parseInt(step*((h-b)/count||1)):h;var rr=r<w?r+parseInt(step*((w-r)/count||1)):w;$next.css({clip:"rect("+tt+"px "+rr+"px "+bb+"px "+ll+"px)"});(step++<=count)?setTimeout(f,13):$curr.css("display","none");})();});$.extend(opts.cssBefore,{display:"block",opacity:1,top:0,left:0});opts.animIn={left:0};opts.animOut={left:0};};})(jQuery);
\ No newline at end of file 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 diff --git a/rapbot/mobile.js b/rapbot/mobile.js new file mode 100755 index 0000000..7f9b3dc --- /dev/null +++ b/rapbot/mobile.js @@ -0,0 +1,14 @@ +/**
+ * jQuery.browser.mobile (http://detectmobilebrowser.com/)
+ *
+ * jQuery.browser.mobile will be true if the browser is a mobile device
+ *
+ **/
+(function(a){jQuery.browser.mobile=/android|avantgo|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|e\-|e\/|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(di|rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|xda(\-|2|g)|yas\-|your|zeto|zte\-/i.test(a.substr(0,4))})(navigator.userAgent||navigator.vendor||window.opera);
+
+if (jQuery.browser.mobile == true) {
+ alert("Rap Bot will not work on mobile devices. Sorry, Charlie.")
+}
+
+
+
\ No newline at end of file diff --git a/rapbot/play.js b/rapbot/play.js new file mode 100755 index 0000000..6861d31 --- /dev/null +++ b/rapbot/play.js @@ -0,0 +1,27 @@ +$(document).ready(function() { + + var allAudio = $('audio'); + + function pauseAllAudio() { + allAudio.each(function() { + var a = $(this).get(0); + a.pause(); + a.currentTime = 0; + }); + }; + + $(".play").click(function() { + var tune = $(".current").attr("id"); + var realtune = $("#"+tune)[0]; + realtune.play(); + }); + + $(".next").click(function() { + pauseAllAudio(); + }); + + $(".prev").click(function() { + pauseAllAudio(); + }); + +}); diff --git a/rapbot/robots.html b/rapbot/robots.html new file mode 100755 index 0000000..714c14d --- /dev/null +++ b/rapbot/robots.html @@ -0,0 +1,16 @@ +Robots<br>
+<br>
+-Introductions<br>
+<br>
+Possible subjects:<br>
+<br>
+-Deus Ex Human Revolution<br>
+-Wii U<br>
+-Onlive<br>
+-3DS vs PSVita<br>
+-Kinect Fun Labs<br>
+-Megaman<br>
+-Transformers 3 (terrible)<br>
+-Facebook (EVIL)<br>
+-Google Plus (good)<br>
+-Rapbot (www.rapbot.gridbitlabs.com)<br>
\ No newline at end of file diff --git a/rapbot/style.css b/rapbot/style.css new file mode 100755 index 0000000..4c2ca04 --- /dev/null +++ b/rapbot/style.css @@ -0,0 +1,184 @@ +html { + background-color: #1e1e1e; + margin: 0; + font-family: helvetica; +} +body { + margin: 0; +} +#header { + float: left; + width: 100%; + height: 30px; + margin: 10px 0 0 0; + background-color: #313131; +} +.footer { + color: #222222; + margin: 20px auto 0 auto; + text-align: center; +} +h1 { + text-align: center; + line-height: 30px; + font-size: 16px; + margin: 0; + color: #fff; + text-shadow: 0px -1px #000; + letter-spacing: 5px; +} +h2 { + text-align: center; + font-size: 50px; + color: #fff; + line-height: 65px; +} +h3 { + margin-bottom: 10px; + font-size: 25px; + color: #acacac; + font-weight: normal; +} +h4 { + margin: 0 0 20px 0; + font-size: 15px; + color: #313131; + font-weight: normal; +} +#lyrics_c { + float: left; + width: 100%; + margin: 30px auto 0 auto; + background-color: #000; +} +.thecenter { + width: 800px; + margin: 0 auto 0 auto; + position: relative; +} +.lyrics { + width: 800px; + margin: 0 auto 0 auto; + position: absolute; + top: 0; +} +#bottom { + float: left; + width: 100%; +} +.bottom_c { + width: 500px; + margin: 20px auto 0 auto; + text-align: center; + padding: 20px; + background-color: #151515; + -moz-border-radius-bottomleft: 5px; + -moz-border-radius-bottomright: 5px; + -moz-border-radius-topleft: 5px; + -moz-border-radius-topright: 5px; + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; + border: 1px solid #000000; + -webkit-box-shadow: #121212 0 0, #636363 0 1px inset; + -moz-box-shadow: #121212 0 0, #636363 0 1px inset; + -o-box-shadow: #121212 0 0, #636363 0 1px inset; + box-shadow: #121212 0 0, #636363 0 1px inset; +} +.quotes { + color: #313131; + font-size: 70px; +} +.play { + color: #ffffff; + font-size: 15px; + text-shadow: 1px 1px #000; + font-weight: bold; + background-color: #313131; + padding: 10px 20px; + margin: 0 auto 0 auto; + border: none; + cursor: pointer; + -moz-border-radius-bottomleft: 5px; + -moz-border-radius-bottomright: 5px; + -moz-border-radius-topleft: 5px; + -moz-border-radius-topright: 5px; + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; + border: 1px solid #000000; + -webkit-box-shadow: #121212 0 0, #636363 0 1px inset; + -moz-box-shadow: #121212 0 0, #636363 0 1px inset; + -o-box-shadow: #121212 0 0, #636363 0 1px inset; + box-shadow: #121212 0 0, #636363 0 1px inset; +} +.play:active { + color: #ffffff; + font-size: 15px; + text-shadow: 1px 1px #000; + font-weight: bold; + background-color: #313131; + padding: 10px 20px; + margin: 0 auto 0 auto; + border: none; + cursor: pointer; + -moz-border-radius-bottomleft: 5px; + -moz-border-radius-bottomright: 5px; + -moz-border-radius-topleft: 5px; + -moz-border-radius-topright: 5px; + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; + border: 1px solid #000000; + -webkit-box-shadow: #121212 0 0, #121212 0 1px inset; + -moz-box-shadow: #121212 0 0, #121212 0 1px inset; + -o-box-shadow: #121212 0 0, #121212 0 1px inset; + box-shadow: #121212 0 0, #121212 0 1px inset; +} +.prev { + float: left; + font-size: 30px; + font-weight: bold; + text-shadow: 0 -1px #000; + color: #313131; +} +.next { + float: right; + font-size: 30px; + font-weight: bold; + text-shadow: 0 -1px #000; + color: #313131; +} +.prev:hover { + cursor: pointer; + color: #fff; + -webkit-transition:color .5s ease-in; + -moz-transition:color .5s ease-in; + -o-transition:color .5s ease-in; + transition:color .5s ease-in; +} +.next:hover { + cursor: pointer; + color: #fff; + -webkit-transition:color .5s ease-in; + -moz-transition:color .5s ease-in; + -o-transition:color .5s ease-in; + transition:color .5s ease-in; +} + + + + + + + + + + + + + + diff --git a/rapbot/warning.js b/rapbot/warning.js new file mode 100755 index 0000000..da149e9 --- /dev/null +++ b/rapbot/warning.js @@ -0,0 +1,5 @@ +$(document).ready(function() { + + $.fn.colorbox({href:'explicit.png',open:true}); + +});
\ No newline at end of file |
