랜덤추천글 소스를 사용중인데
체크박스가 펼쳐져있는 상태로 이용하고싶은데 소스가 어디수정이 되면 될까요?
<input id="random_document" type="checkbox" />
<label class="random_document_r" for="random_document" style="letter-spacing:-1.5px;font-size:22px;margin-bottom: 20px">랜덤 추천글</label>
<div id="docrand"></div>
<img class="zbxe_widget_output" widget="mbong_randomlist" skin="default" widget_sequence="16130" widget_cache="3s" group_count="3" list_count="15" document_height="200" module_srls="7041,13225,112,500" read_count="30" ad_script="https://i.ibb.co/djYPG40/7688c86f4fbec79cc9f1613c45009b71.png" ad_height="100" request_btn="고객센터" request_link="/qnas" />
<style>
#docrand{
display: none;
}
.random_document_r::before{
display: none !important;
}
#random_document:checked ~ #docrand {
display: block;
}
</style>
입니다.
게다가 해당 위젯자체를 자체적으로 제작하신것 같은데.. 내부 소스를 어떻게 하셨는지.. 아니면 해당 위젯을 적용한 정확한 uri이 어딘지 알 수 없다면.. 누구라도 답변이 힘들지 않을까요.
그리고 채크박스를 펼친다는 의미자체도 애매모호합니다.
일반적으로 채크박스는 채크하게 된다면 해당 박스안에 채크표시를 주면서 값이 채크되었다는 것인데 펼쳐진다는 뜻은 무언가가 숨어있다가 펼쳐진다 이런느낌이라 채크박스의 의미랑은 많이 달라지거든요.
뭔가를 채크했을때 펼쳐지는건지.. 아니면 아에 다른 표현인건지.. 정확하게 알게끔 자세한 설명이 필요할듯 합니다.