제이쿼리 이미지슬라이드, 랜덤으로 출력하기 질문입니다 ㅠ 정보
제이쿼리 이미지슬라이드, 랜덤으로 출력하기 질문입니다 ㅠ
본문
// pure JS
var elem = document.getElementById('mySwipe');
window.mySwipe = Swipe(elem, {
// startSlide: 1,
// auto: 3000,
// continuous: true,
// disableScroll: true,
// stopPropagation: true,
// callback: function(index, element) {},
// transitionEnd: function(index, element) {}
이러한 제이쿼리 소스를 받아서 적용이 된상태입니다.
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
1,2,3,4 가 차례대로 보이거나 또는 버튼을 이용해서 좌우로 제어가 되는데요,
위에 제이쿼리 부분에서 startSlide: 1 부분을 3으로 바꾸면 3번 div가 먼저 표시가 됩니다.
얘를 랜덤으로 나오게 하는 방법이 있을까요?
var elem = document.getElementById('mySwipe');
window.mySwipe = Swipe(elem, {
// startSlide: 1,
// auto: 3000,
// continuous: true,
// disableScroll: true,
// stopPropagation: true,
// callback: function(index, element) {},
// transitionEnd: function(index, element) {}
이러한 제이쿼리 소스를 받아서 적용이 된상태입니다.
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
1,2,3,4 가 차례대로 보이거나 또는 버튼을 이용해서 좌우로 제어가 되는데요,
위에 제이쿼리 부분에서 startSlide: 1 부분을 3으로 바꾸면 3번 div가 먼저 표시가 됩니다.
얘를 랜덤으로 나오게 하는 방법이 있을까요?
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '268422' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php