Team:Aix-Marseille/Home
From 2014.igem.org
(Difference between revisions)
Line 2: | Line 2: | ||
<html> | <html> | ||
+ | <script> | ||
+ | $(document).ready(function () { | ||
+ | var title = $("#title"); | ||
+ | var i = 1; | ||
+ | |||
+ | function colorChange() { | ||
+ | if (i>0) | ||
+ | title.switchClass('text-danger', 'text-success'); | ||
+ | else | ||
+ | title.switchClass('text-success', 'text-danger'); | ||
+ | i = i*(-1); | ||
+ | } | ||
+ | setInterval(colorChange, 1500); | ||
+ | |||
+ | }); | ||
+ | </script> | ||
<style> | <style> | ||
.carousel-indicators .active { | .carousel-indicators .active { |
Revision as of 15:07, 11 October 2014