안녕하세요. 질문드립니다. 파트너 로고 갤러리로 분류별 list_a, list_b, list_c, list_d 리스트에 모두 출력하였습니다. 첨부파일로 로고이미지를 뿌려주었습니다.
로고 클릭시 등록된 #링크1의 url 새창을 띄우고 싶습니다. Copy </p> <p><div class="row"> <div class="col"> <div class="owl-carousel owl-carousel_p_01 owl-theme nav-bottom nav-bottom-align-left nav-style-1 nav-dark nav-font-size-lg mb-0" data-plugin-options="{'responsive': {'0': {'items': 2}, '768': {'items': 3}, '992': {'items': 4}, '1200': {'items': 5}}, 'autoWhith':true, 'loop': false, 'nav': false, 'dots': true, 'autoplay': true, 'autoplayTimeout': 4000, 'margin': 40}"> <?php for ($i = 0; $i < $cnt_a; $i++) { $file = get_file($bo_table, $list_a[$i]['wr_id']); $file_src = $file[0]['path'].'/'.$file[0]['file']; ?> <div> <div><a href="<?php echo set_http($list[$i]['wr_link1']) ?>" target="_blank"><img style="height:70px" src="<?php echo $file_src ?>" class="img-fluid" alt="" /></a></div> <?php if ($is_admin) { ?> <div style="text-align:right"><input class="form-check-input2" type="checkbox" name="chk_wr_id[]" value="<?php echo $list_a[$i]['wr_id'] ?>" id="chk_wr_id_<?php echo $list_a[$i]['wr_id'] ?>"> <i class="fa fa-edit" onclick="location.href='<?php echo $list_a[$i]['href'] ?>'"></i></div> <?php } ?> </div> <?php } ?> </div> <div class="my-owl-nav"> <button type="button" role="presentation" class="owl-prev"></button> <button type="button" role="presentation" class="owl-pause"><i class="fa fa-pause"></i></button> <button type="button" role="presentation" class="owl-next"></button> </div> </div> </div></p> <p><div class="row"> <div class="col"> <div class="owl-carousel owl-carousel_p_01 owl-theme nav-bottom nav-bottom-align-left nav-style-1 nav-dark nav-font-size-lg mb-0" data-plugin-options="{'responsive': {'0': {'items': 2}, '768': {'items': 3}, '992': {'items': 4}, '1200': {'items': 5}}, 'autoWhith':true, 'loop': false, 'nav': false, 'dots': true, 'autoplay': true, 'autoplayTimeout': 4000, 'margin': 40}"> <?php for ($i = 0; $i < $cnt_b; $i++) { $file = get_file($bo_table, $list_b[$i]['wr_id']); $file_src = $file[0]['path'].'/'.$file[0]['file']; ?> <div> <div> <a href="<?php echo set_http($list[$i]['wr_link1']) ?>" target="_blank"> <img style="height:70px" src="<?php echo $file_src ?>" class="img-fluid" alt="" /></a></div> <?php if ($is_admin) { ?> <div style="text-align:right"><input class="form-check-input2" type="checkbox" name="chk_wr_id[]" value="<?php echo $list_b[$i]['wr_id'] ?>" id="chk_wr_id_<?php echo $list_b[$i]['wr_id'] ?>"> <i class="fa fa-edit" onclick="location.href='<?php echo $list_b[$i]['href'] ?>'"></i></div> <?php } ?> </div> <?php } ?> </div> <div class="my-owl-nav"> <button type="button" role="presentation" class="owl-prev"></button> <button type="button" role="presentation" class="owl-pause"><i class="fa fa-pause"></i></button> <button type="button" role="presentation" class="owl-next"></button> </div> </div> </div></p> <p>
</p> <p><div class="row"> <div class="col"> <div class="owl-carousel owl-carousel_p_01 owl-theme nav-bottom nav-bottom-align-left nav-style-1 nav-dark nav-font-size-lg mb-0" data-plugin-options="{'responsive': {'0': {'items': 2}, '768': {'items': 3}, '992': {'items': 4}, '1200': {'items': 5}}, 'autoWhith':true, 'loop': false, 'nav': false, 'dots': true, 'autoplay': true, 'autoplayTimeout': 4000, 'margin': 40}"> <?php for ($i = 0; $i < $cnt_a; $i++) { $file = get_file($bo_table, $list_a[$i]['wr_id']); $file_src = $file[0]['path'].'/'.$file[0]['file']; ?> <div> <div><a href="<?php echo set_http($list[$i]['wr_link1']) ?>" target="_blank"><img style="height:70px" src="<?php echo $file_src ?>" class="img-fluid" alt="" /></a></div> <?php if ($is_admin) { ?> <div style="text-align:right"><input class="form-check-input2" type="checkbox" name="chk_wr_id[]" value="<?php echo $list_a[$i]['wr_id'] ?>" id="chk_wr_id_<?php echo $list_a[$i]['wr_id'] ?>"> <i class="fa fa-edit" onclick="location.href='<?php echo $list_a[$i]['href'] ?>'"></i></div> <?php } ?> </div> <?php } ?> </div> <div class="my-owl-nav"> <button type="button" role="presentation" class="owl-prev"></button> <button type="button" role="presentation" class="owl-pause"><i class="fa fa-pause"></i></button> <button type="button" role="presentation" class="owl-next"></button> </div> </div> </div></p> <p><div class="row"> <div class="col"> <div class="owl-carousel owl-carousel_p_01 owl-theme nav-bottom nav-bottom-align-left nav-style-1 nav-dark nav-font-size-lg mb-0" data-plugin-options="{'responsive': {'0': {'items': 2}, '768': {'items': 3}, '992': {'items': 4}, '1200': {'items': 5}}, 'autoWhith':true, 'loop': false, 'nav': false, 'dots': true, 'autoplay': true, 'autoplayTimeout': 4000, 'margin': 40}"> <?php for ($i = 0; $i < $cnt_b; $i++) { $file = get_file($bo_table, $list_b[$i]['wr_id']); $file_src = $file[0]['path'].'/'.$file[0]['file']; ?> <div> <div> <a href="<?php echo set_http($list[$i]['wr_link1']) ?>" target="_blank"> <img style="height:70px" src="<?php echo $file_src ?>" class="img-fluid" alt="" /></a></div> <?php if ($is_admin) { ?> <div style="text-align:right"><input class="form-check-input2" type="checkbox" name="chk_wr_id[]" value="<?php echo $list_b[$i]['wr_id'] ?>" id="chk_wr_id_<?php echo $list_b[$i]['wr_id'] ?>"> <i class="fa fa-edit" onclick="location.href='<?php echo $list_b[$i]['href'] ?>'"></i></div> <?php } ?> </div> <?php } ?> </div> <div class="my-owl-nav"> <button type="button" role="presentation" class="owl-prev"></button> <button type="button" role="presentation" class="owl-pause"><i class="fa fa-pause"></i></button> <button type="button" role="presentation" class="owl-next"></button> </div> </div> </div></p> <p>
for문에 추가하여야 할듯 싶은데 그누보드 초보라 어떻게 적용해야 할지 난감하네요. ㅜㅜ
고수님의 답변 기다려봅니다. 꿉벅!!
_a[$i]['wr_link1']) ?>" target ...
_b[$i]['wr_link1']) ?>" target ...
댓글을 작성하려면 로그인이 필요합니다.
질문이 이상하지 않나요?
로고 클릭시 링크1 을 팝업으로 띄워야 한다면서
모든 분류에 들어간다는 말이요..
어떤 특정 분류에만 팝업을 띄워야 하는건가요?
답변을 작성하려면 로그인이 필요합니다.
이 게시물을 신고 하시겠습니까?신고사유를 선택해주세요.