<?if($board['bo_table_width']>0){?>style="max-width:<?=$board['bo_table_width']?><?=$board['bo_table_width']>100 ? "px":"%"?>;margin:0 auto;"<?}?>
<script src="<?php echo G5_JS_URL ?>/clipboard.min.js"></script>
<!-- 헤더 영역 -->
<script>
var clipboard = new ClipboardJS( '.btn' );
clipboard.on( 'success', function() {
alert( '복사 완료 메세지' );
} );
clipboard.on( 'error', function() {
alert( '복사 실패 메세지' );
} );
</script>
<p class="btn" data-clipboard-text="복사될 내용" style="text-align: center;"><원하는 이미지 주소></p>
$str = preg_replace('`텍꾸치환자이름\[(?![\s])(.?)(?$1', $str);
function markup_text($str, $restore=false)
{
//여기부턴 textggu.css를 사용한다
//아래부터(1465번줄)
$source[] = "`기타6\[(?![\s])(.?)(?<![\s*])\]`";
$target[] = "<span class='textggu--etc6'>$1</span>";
word-break: break-all;
word-spacing: -1px;
letter-spacing: -0.2px;
line-height: 180%;
font-size: 16px;
font-weight: 300;$(".more_open_close").click(function(){
if($(this).next().hasClass('more_content_box')){
$(this).next().slideToggle(function(){
var txt=$(this).prev();
if(txt.text()=="열기"){
txt.text("접기");
}else if(txt.text()=="접기"){
txt.text("열기");
}
});
}else{
$(this).parents('p').siblings('.more_content_box').slideToggle(function(){
var txt=$(this).prev().find('.more_open_close');
if(txt.text()=="열기"){
txt.text("접기");
}else if(txt.text()=="접기"){
txt.text("열기");
}
});
}
return false;
});
]
<a href="#" class="more_open_close ui-btn point">
<span style="color: rgb(90, 80, 75);" >버튼명</span ></a>
<div class="more_content_box" style="display: none;">내용</div>