} else { last; } } if($line == $LINE_NO || $line == $LINE_NO + 1) { $currentPart = $backupFirstPart; $firstPart = $realFirstPart.$currentPart; $html=$firstPart.$add.substr($realLastPart,length($currentPart),length($text)); } elsif($line > $LINE_NO+1) { my ($curPassageLen,$beforeLen); $currentPart = $backupFirstPart; $curPassageLen = &$myLength($currentPart); $beforeLen = $real_len - length($currentPart); $line_1 = int($curPassageLen/$wpl); $firstLen = $curPassageLen; if($line-1-$LINE_NO-$add_line > 0) { $firstLen = $firstLen - ($line-1-$LINE_NO-$add_line)*$wpl; if($add_line == 1) { $firstLen = $firstLen - ($curPassageLen - $line_1*$wpl); } } else { if($add_line == 1) { $firstLen = $firstLen - ($curPassageLen - $line_1*$wpl); } } $firstLen = &$myLength1($currentPart, $firstLen); $firstLen = &$myCheckText($currentPart, $firstLen); $firstPart = $realFirstPart.substr($currentPart, 0, $firstLen); $html=$firstPart.$add.substr($realLastPart,$firstLen,length($text)); } else { $firstPart = $text; $html=$firstPart.$add; } $html = &$myEncode($html); } #html:$html0%;vertical-align:top;} .js-note-pop p{margin:0;padding-top:14px;font-size:12px;line-height:20px;text-align:justify;font-style:normal;} @-webkit-keyframes slideInUp { from { -webkit-transform: translate3d(0, 12px, 0); transform: translate3d(0, 12px, 0); visibility: visible; opacity: 0.5; } to { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); opacity: 1; } } @keyframes slideInUp { from { -webkit-transform: translate3d(0, 12px, 0); transform: translate3d(0, 12px, 0); visibility: visible; opacity: 0.5; } to { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); opacity: 1; } } .fade-slide-up {-webkit-animation-name: slideInUp;animation-name: slideInUp;} @-webkit-keyframes slideInDown { from { -webkit-transform: translate3d(0, -12px, 0); transform: translate3d(0, -12px, 0); visibility: visible; opacity: 0.5; } to { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); opacity: 1; } } @keyframes slideInDown { from { -webkit-transform: translate3d(0, -12px, 0); transform: translate3d(0, -12px, 0); visibility: visible; opacity: 0.5; } to { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); opacity: 1; } } .fade-slide-down {-webkit-animation-name: slideInDown;animation-name: slideInDown;}