모바일웹에서 자동등록방지 음성의 controls의 width 값 줄이는것에 문의 드립니다..

모바일웹에서 자동등록방지 음성의 controls의 width 값 줄이는것에 문의 드립니다..

QA

모바일웹에서 자동등록방지 음성의 controls의 width 값 줄이는것에 문의 드립니다..

본문

모바일웹에서 자동등록방지 음성부분의 controls의 width값을 줄이고 싶은데 어떻게 해야할까요

plugin/kcaptcha/kcaptcha.lib.php 파일에서 

237번째 줄 부터 257번째줄까지 에서

빨간글씨 부분이 모바일웹에서 나타나는것 같고

파란글씨 부분이 pc쪽 웹에서 나타나는것 같은데

if (is_mobile()) $html .= '<audio id="captcha_audio" controls></audio>'; 에서 <audio></audio>에직접 style=""로 width값을 !important로 넣어도 값이 먹히지 않고 그 외의 height같은건 다 먹힙니다.. 

도대체 어떻게 수정을 해야할까요ㅠㅠ


// 캡챠 HTML 코드 출력

function captcha_html($class="captcha")

{

    if(is_mobile())

        $class .= ' m_captcha';


    $html .= "\n".'<script>var g5_captcha_url  = "'.G5_CAPTCHA_URL.'";</script>';

    //$html .= "\n".'<script>var g5_captcha_path = "'.G5_CAPTCHA_PATH.'";</script>';

    $html .= "\n".'<script src="'.G5_CAPTCHA_URL.'/kcaptcha.js"></script>';

    $html .= "\n".'<fieldset id="captcha" class="'.$class.'">';

    $html .= "\n".'<legend><label for="captcha_key">자동등록방지</label></legend>';

    if (is_mobile()) $html .= '<audio id="captcha_audio" controls></audio>';

    //$html .= "\n".'<img src="#" alt="" id="captcha_img">';

    $html .= "\n".'<img src="javascript:void(0);" alt="" id="captcha_img">';

    if (!is_mobile()) $html .= "\n".'<button type="button" id="captcha_mp3"><span></span>숫자음성듣기</button>';

    $html .= "\n".'<button type="button" id="captcha_reload"><span></span>새로고침</button>';

    $html .= '<input type="text" name="captcha_key" id="captcha_key" required class="captcha_box required" size="6" maxlength="6">';

    $html .= "\n".'<span id="captcha_info">자동등록방지 숫자를 순서대로 입력하세요.</span>';

    $html .= "\n".'</fieldset>';

    return $html;

}




00ea5785683b183d2f2d5015467a55a1_1499995838_8779.jpg

이 질문에 댓글 쓰기 :

답변 1

답변을 작성하시기 전에 로그인 해주세요.
전체 123,677 | RSS
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT