/*------------------------------------------------------------------------- Function : font_plus(), font_minus() { Spec : 텍스트 크기조절 Argument : Return : Example : onclick="font_plus();" onclick="font_minus();" <td colspan="6" style="padding:15;" id="content_layer" style="font-family:Tahoma;line-height:160%;color: #000000;font-size:12pt;"> <div align="justify"><?=$row[content]?></div> </td> -------------------------------------------------------------------------*/ // function font_plus() { var fontsize = document.all.content_layer.style.fontSize.replace("pt", ""); if (parseInt(fontsize) < 20) { document.all.content_layer.style.fontSize = parseInt(fontsize) + 1 + "pt"; } } function font_minus() { var fontsize = document.all.content_layer.style.fontSize.replace("pt", ""); if (parseInt(fontsize) > 6) { document.all.content_layer.style.fontSize = parseInt(fontsize) - 1 + "pt"; } } /*------------------------------------------------------------------------- Function : sendMail() Spec : 게시글 메일전송 Argument : Table Name, Uid Return : Example : onclick="sendMail('<?=$table?>', '<?=$uid?>');" -------------------------------------------------------------------------*/ function sendMail(tableName, uid, copyurl) { tmp = "/board/mail.php?table=" + tableName + "&uid=" + uid + "©url=" + copyurl; newWin = window.open(tmp, "Mail", "scrollbars=no,resizable=no,copyhistory=no,width=600,height=500"); } /*------------------------------------------------------------------------- Function : sendMail9() Spec : 게시글 메일전송(전체보기) Argument : Table Name, Uid Return : Example : onclick="sendMail('<?=$table?>', '<?=$uid?>');" -------------------------------------------------------------------------*/ function sendMail9(tableName, uid, copyurl) { tmp = "/board/mail_all.php?table=" + tableName + "&uid=" + uid + "©url=" + copyurl; newWin = window.open(tmp, "Mail", "scrollbars=no,resizable=no,copyhistory=no,width=600,height=300"); }