Changeset 1251028
- Timestamp:
- 09/22/2015 09:26:07 AM (11 years ago)
- Location:
- animated-typing-effect/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (4 diffs)
-
assets/js/typed.fe.js (modified) (2 diffs)
-
typingeffect.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
animated-typing-effect/trunk/README.txt
r1250418 r1251028 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.en.html 9 9 10 Create an animated typing effect that allows words to be 'typed out ’on to a post or page.10 Create an animated typing effect that allows words to be 'typed out' on to a post or page. 11 11 12 12 == Description == … … 22 22 == Installation == 23 23 24 1. Upload the typing-effect folder to the /wp-content/plugins/ directory25 2. Activate the Typing Effect plugin through the \'Plugins\' menu in WordPress24 1. Upload the animated-typing-effect folder to the /wp-content/plugins/ directory 25 2. Activate the Typing Effect plugin through the 'Plugins' menu in WordPress 26 26 3. Generate a shortcode by going to Typing Effect on the main menu 27 27 … … 34 34 Can I edit the settings of the animation? 35 35 36 You can change a variety of settings such as the speed that the text is typed out, a delay before the animation begins, the speed at which the text is backspaced (deleted) and a delay before the backspacing begins. Ticking the 'Loop' box will mean the animation continues to repeat over and over. Entering a number in the 'Loop count' box will define how many times it will repeat - e.g. entering '3 /’ would type out and then backspace the text 3 times.36 You can change a variety of settings such as the speed that the text is typed out, a delay before the animation begins, the speed at which the text is backspaced (deleted) and a delay before the backspacing begins. Ticking the 'Loop' box will mean the animation continues to repeat over and over. Entering a number in the 'Loop count' box will define how many times it will repeat - e.g. entering '3’ would type out and then backspace the text 3 times. 37 37 38 38 Can I preview my animation? … … 47 47 48 48 1. Generate a shortcode screen 49 50 == Changelog == 51 52 = 1.1 = 53 * Fixed typed script parameters 54 55 = 1.0 = 56 * First release -
animated-typing-effect/trunk/assets/js/typed.fe.js
r1250213 r1251028 7 7 strings.push( this.dataset[ key ] ); 8 8 } else { 9 options[ key ] = this.dataset[ key ];9 options[ key ] = parseInt( this.dataset[ key ] ); 10 10 } 11 11 } … … 16 16 $( this ).typed( options ); 17 17 }); 18 }) 18 }); 19 19 })(jQuery); -
animated-typing-effect/trunk/typingeffect.php
r1250213 r1251028 2 2 /** 3 3 * Plugin Name: Typing Effect 4 * Version: 1. 04 * Version: 1.1 5 5 * Plugin URI: http://93digital.co.uk/ 6 6 * Description: Animated typing effect plugin, allowing you to generate a shortcode that 'types' out words on your page or post. Based on Typed.js by Matt Boldt. … … 85 85 $options = array(); 86 86 87 //WP Convert the parameters in lowercase format, but I need in camel case 88 $params = array( 89 'typespeed' => 'type-speed', 90 'backdelay' => 'back-delay', 91 'startdelay' => 'start-delay', 92 'loopcount' => 'loop-count', 93 ); 94 87 95 //Generate the javascript code 88 96 foreach( $atts as $key => $value ) { 97 $key = isset( $params[ $key ] ) ? $params[$key] : $key; 89 98 $span .= " data-{$key}=\"" . htmlentities( $value ) . '"'; 90 99 }
Note: See TracChangeset
for help on using the changeset viewer.