|
|
Line 470: |
Line 470: |
| | | |
| $(document).ready(function() { | | $(document).ready(function() { |
− | $( '.expand-btn' ).click(function() { | + | $( '.expand-btn1' ).click(function() { |
| var $text = $(this).html(); | | var $text = $(this).html(); |
− | $(this).siblings( '.note-content' ).toggle(); | + | $(this).siblings( '.note-content1' ).toggle(); |
| if( $text === 'Show More' ) { | | if( $text === 'Show More' ) { |
| $(this).html( 'Show Less' ); | | $(this).html( 'Show Less' ); |
Line 529: |
Line 529: |
| </script> | | </script> |
| | | |
| + | <script> /* show more */ |
| + | |
| + | $(document).ready(function() { |
| + | $( '.expand-btn5' ).click(function() { |
| + | var $text = $(this).html(); |
| + | $(this).siblings( '.note-content5' ).toggle(); |
| + | if( $text === 'Show More' ) { |
| + | $(this).html( 'Show Less' ); |
| + | } else { |
| + | $(this).html( 'Show More' ); |
| + | } |
| + | }); |
| + | }); |
| + | |
| + | </script> |
| <script> /* show more */ | | <script> /* show more */ |
| | | |
Line 547: |
Line 562: |
| | | |
| $(document).ready(function() { | | $(document).ready(function() { |
− | $( '.expand-btn5' ).click(function() { | + | $( '.expand-btn7' ).click(function() { |
| var $text = $(this).html(); | | var $text = $(this).html(); |
− | $(this).siblings( '.note-content5' ).toggle(); | + | $(this).siblings( '.note-content7' ).toggle(); |
| if( $text === 'Show More' ) { | | if( $text === 'Show More' ) { |
| $(this).html( 'Show Less' ); | | $(this).html( 'Show Less' ); |
Line 558: |
Line 573: |
| }); | | }); |
| | | |
− | </script> | + | </script> |
− |
| + | |
| <script type="text/javascript"> | | <script type="text/javascript"> |
| /* chrome ie8下均正常 ,实现滚动效果*/ | | /* chrome ie8下均正常 ,实现滚动效果*/ |