Changeset 2005869
- Timestamp:
- 01/03/2019 06:34:59 PM (7 years ago)
- Location:
- cryptocurrency-shortcodes/trunk/my-admin
- Files:
-
- 3 edited
-
admin-return-html-templates/rg-shortcode-template-carousel.php (modified) (3 diffs)
-
admin-return-html-templates/rg-shortcode-template.php (modified) (3 diffs)
-
rgcs-template-tab-content-shortcode.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cryptocurrency-shortcodes/trunk/my-admin/admin-return-html-templates/rg-shortcode-template-carousel.php
r2005773 r2005869 16 16 .rynerg_rgcs_get_sample_shortcode_carousel .rgcs_shortcode_carousel_container > .slick-list > .slick-track{ line-height: 0; } 17 17 </style> 18 <div class="rynerg_rgcs_get_sample_shortcode_carousel <?php echo ( $ctr_coins >= 5 ) ? 'rgcs_move_carousel' : ''; ?>" >18 <div class="rynerg_rgcs_get_sample_shortcode_carousel <?php echo ( $ctr_coins >= 5 ) ? 'rgcs_move_carousel' : ''; ?>" style="visibility: hidden;"> 19 19 <div class="rgcs_shortcode_carousel_container" rgcs_recur_carousel = 1 rgcs_recur_left = 0 style="visibility: hidden;"> 20 20 <?php … … 29 29 $p_24h = number_format(str_replace("-","",$p_change_24h),2,'.',''); 30 30 if( $p_change_24h > 0) 31 {$p_change_24h = '<i class="fa fa-long-arrow-alt-up" style="color:#0073aa;"></i> %'.$p_24h;}31 {$p_change_24h = '<i class="fas fa-long-arrow-alt-up" style="color:#0073aa;"></i> %'.$p_24h;} 32 32 else 33 {$p_change_24h = '<i class="fa fa-long-arrow-alt-down" style="color:#d82222;"></i> %'.$p_24h;}33 {$p_change_24h = '<i class="fas fa-long-arrow-alt-down" style="color:#d82222;"></i> %'.$p_24h;} 34 34 35 35 … … 52 52 </div> 53 53 </div> 54 <script type="text/javascript">55 54 56 var rsg_slick = jQuery.noConflict();57 58 rsg_slick(document).ready(function() {59 60 61 rsg_slick('.rgcs_shortcode_carousel_container').slick({62 dots: false,63 infinite: true,64 autoplay: true,65 autoplaySpeed:0,66 speed: 3000,67 speed: 9000,68 cssEase: 'linear',69 slidesToShow: 6,70 slidesToScroll: 1,71 arrows: false,72 }).css('visibility','visible');73 74 });75 76 </script> -
cryptocurrency-shortcodes/trunk/my-admin/admin-return-html-templates/rg-shortcode-template.php
r2005785 r2005869 17 17 'title' => '', 18 18 'bg_color' => '#222', 19 'font_color' => '#fff' 19 'font_color' => '#fff', 20 'c_speed' => '9000', 21 'c_data_per_slide' => '6' 20 22 ),$atts 21 23 ); … … 24 26 $max = $attribs['max']; 25 27 $bg_color = $attribs['bg_color']; 28 $font_color = $attribs['font_color']; 29 $c_speed = $attribs['c_speed']; 30 $c_data_per_slide = $attribs['c_data_per_slide']; 26 31 27 32 if($type == 'list'){ … … 31 36 <style> 32 37 .rynerg_rgcs_get_sample_shortcode_carousel, .rgcs_shortcode_carousel_container{ background: <?php echo $bg_color; ?> } 38 .rgcs_shortcode_carousel_container{ color: <?php echo $font_color; ?> } 33 39 </style> 34 40 <?php 35 41 include('rg-shortcode-template-carousel.php'); 36 42 } 43 44 ?> 45 <script type="text/javascript"> 46 47 var rsg_slick = jQuery.noConflict(); 48 49 rsg_slick(document).ready(function() { 50 51 rsg_slick('.rynerg_rgcs_get_sample_shortcode_carousel').css('visibility','visible'); 52 53 rsg_slick('.rgcs_shortcode_carousel_container').slick({ 54 dots: false, 55 infinite: true, 56 autoplay: true, 57 autoplaySpeed:0, 58 speed: <?php echo $c_speed; ?>, 59 cssEase: 'linear', 60 slidesToShow: <?php echo $c_data_per_slide; ?>, 61 slidesToScroll: 1, 62 arrows: false, 63 }).css('visibility','visible'); 64 65 }); 66 67 </script> 68 <?php 69 37 70 return ob_get_clean(); 38 71 } -
cryptocurrency-shortcodes/trunk/my-admin/rgcs-template-tab-content-shortcode.php
r2005787 r2005869 25 25 bg_color=#222 26 26 </td> 27 <td><i>bg_color</i> refers to the c ontainer's background. The default background color are set to black or #222. Accepted values are color names or hex values. You can refer to <a href="https://htmlcolorcodes.com/" target="_blank">https://htmlcolorcodes.com/</a> for more color options.</td>27 <td><i>bg_color</i> refers to the carousel container's background. The default background color are set to black or #222. Accepted values are color names or hex values. You can refer to <a href="https://htmlcolorcodes.com/" target="_blank">https://htmlcolorcodes.com/</a> for more color options.</td> 28 28 </tr> 29 29 <tr> … … 40 40 </tr> 41 41 <tr> 42 <td>custom_class="className1 className2"</td> 43 <td>If you want to have additional class for your personal style of the display. Separate different class names with a space.</td> 42 <td>c_speed=9000</td> 43 <td>Indicates the speed of the carousel. The number represents milliseconds. So 9000 is 9 seconds. Default is 9000 </td> 44 </tr> 45 <tr> 46 <td>c_data_per_slide=6</td> 47 <td>Indicates the number of data to be displayed for the carousel. Default is 6. </td> 44 48 </tr> 45 49 </table>
Note: See TracChangeset
for help on using the changeset viewer.