채택완료

최신글 롤링 css 질문좀 부탁드릴게요

2017-08-23 (수) 16:50:12 2,548

dafa10a00d40095e90e831ccdebb556e_1503474551_5046.JPG
이렇게 길께 빠져나오는데 overflow:hidden을 걸면되긴되요(한줄로되서..ㅠ)

근데 2행 2열로 롤링을 시키려하면 방법이있을까요..?ㅠ

아니면..관한 스킨이나 참조자료있으면..링크좀 부탁드릴게요..ㅠㅠ

Copy
<div class="slider1">	<?php for ($i=0; $i<count($list); $i++) { ?>    	<div class="slide sbox">    	<a href="<?php echo $list[$i]['href'] ?>">    	<?php                       		$thumb = get_list_thumbnail($bo_table, $list[$i]['wr_id'], $imgwidth, $imgheight);    					                   		if($thumb['src']) {           		$img_content = '<img src="'.$thumb['src'].'" alt="'.$list[$i]['subject'].'" width="" height="">';        		} else {           		$img_content = 'NO IMAGE';        		}                         	echo $img_content;       ?>       </a>        </div>    <?php } ?>
|

답변 1개

채택된 답변
+20 포인트
2017-08-23 (수) 17:01:01

제이쿼리를 이용한 롤링 

http://idangero.us/swiper/demos/#.WZ02CyhJZhE

참고하시길 바랍니다~

답변을 작성하려면 로그인이 필요합니다.