sss
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
6 changed files
with
29 additions
and
4 deletions
| ... | @@ -25001,6 +25001,18 @@ | ... | @@ -25001,6 +25001,18 @@ |
| 25001 | }; | 25001 | }; |
| 25002 | new Swiper(this, swiper_params); | 25002 | new Swiper(this, swiper_params); |
| 25003 | }); | 25003 | }); |
| 25004 | text_change(); | ||
| 25005 | function text_change() { | ||
| 25006 | var words = ['Smile', 'Dance', 'Celebrate', 'Hike', 'Laugh', 'Play', 'Explore', 'Discover', 'Climb', 'Parent', 'Adventure', '']; | ||
| 25007 | $.each(words, function (index, value) { | ||
| 25008 | setTimeout(function () { | ||
| 25009 | $(".like-you strong").text(value); | ||
| 25010 | if (words.length - 1 == index) { | ||
| 25011 | text_change(); | ||
| 25012 | } | ||
| 25013 | }, index * 1000); | ||
| 25014 | }); | ||
| 25015 | } | ||
| 25004 | }); | 25016 | }); |
| 25005 | 25017 | ||
| 25006 | var a = document.querySelector('.blur-image'); | 25018 | var a = document.querySelector('.blur-image'); | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
| ... | @@ -56,11 +56,24 @@ jQuery(document).ready(function($) { | ... | @@ -56,11 +56,24 @@ jQuery(document).ready(function($) { |
| 56 | new Swiper(this, swiper_params); | 56 | new Swiper(this, swiper_params); |
| 57 | }); | 57 | }); |
| 58 | 58 | ||
| 59 | //text_change(); | 59 | text_change(); |
| 60 | function text_change(){ | 60 | function text_change(){ |
| 61 | var words = [ 'Dance', 'Smile','Party','Sing','']; | 61 | |
| 62 | var words = [ 'Smile', | ||
| 63 | 'Dance', | ||
| 64 | 'Celebrate', | ||
| 65 | 'Hike', | ||
| 66 | 'Laugh', | ||
| 67 | 'Play', | ||
| 68 | 'Explore', | ||
| 69 | 'Discover', | ||
| 70 | 'Climb', | ||
| 71 | 'Parent', | ||
| 72 | 'Adventure', | ||
| 73 | '']; | ||
| 74 | |||
| 62 | $.each(words, function( index, value ) { | 75 | $.each(words, function( index, value ) { |
| 63 | setTimeout( function(){ | 76 | setTimeout(function(){ |
| 64 | $(".like-you strong").text(value); | 77 | $(".like-you strong").text(value); |
| 65 | if( (words.length - 1) == index){ | 78 | if( (words.length - 1) == index){ |
| 66 | text_change(); | 79 | text_change(); | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | Author: the Understrap Contributors | 5 | Author: the Understrap Contributors |
| 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors | 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors |
| 7 | Template: understrap | 7 | Template: understrap |
| 8 | Version: 1.2.0012 | 8 | Version: 1.2.0013 |
| 9 | License: GNU General Public License v2 or later | 9 | License: GNU General Public License v2 or later |
| 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html | 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 11 | Text Domain: understrap-child | 11 | Text Domain: understrap-child | ... | ... |
-
Please register or sign in to post a comment