summaryrefslogtreecommitdiff
path: root/js/testimonials_script.js
diff options
context:
space:
mode:
authorpriyankabhagwat2016-07-26 17:00:21 +0530
committerpriyankabhagwat2016-07-26 17:00:21 +0530
commita497165c9d776cff3abd6a7967d9a9438545184d (patch)
tree13edc74ffce90915404ed21d735d4d4034655d08 /js/testimonials_script.js
parent0ebea9e4f41eceae89c98bb04c170608b48c70b1 (diff)
downloadFOSSEE_Stats_Deprecated-a497165c9d776cff3abd6a7967d9a9438545184d.tar.gz
FOSSEE_Stats_Deprecated-a497165c9d776cff3abd6a7967d9a9438545184d.tar.bz2
FOSSEE_Stats_Deprecated-a497165c9d776cff3abd6a7967d9a9438545184d.zip
responsive layout and various changes
Diffstat (limited to 'js/testimonials_script.js')
-rwxr-xr-xjs/testimonials_script.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/js/testimonials_script.js b/js/testimonials_script.js
new file mode 100755
index 0000000..0ab8a57
--- /dev/null
+++ b/js/testimonials_script.js
@@ -0,0 +1,25 @@
+$(document).ready(function(){
+
+
+ $('#testimonials_front li').hide().eq(0).show();
+
+ (function showNextTestimonial(){
+
+ $('#testimonials_front li:visible').delay(12000).fadeOut('slow',function(){
+ $(this).appendTo('#testimonials_front ul');
+ if($(this).next().length > 0)
+ {
+ $(this).next().fadeIn('slow',function(){
+ showNextTestimonial();
+ });
+ }
+ else
+ {
+ $(this).siblings(':first').fadeIn('slow',function(){
+ showNextTestimonial();
+ });
+ }
+ });
+ })();
+
+});