컴퓨터사양에 따라 메인화면 슬라이딩이 느려지는데요, > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

컴퓨터사양에 따라 메인화면 슬라이딩이 느려지는데요, 정보

컴퓨터사양에 따라 메인화면 슬라이딩이 느려지는데요,

본문

컴퓨터사양이 조금 낮으면(IE8에서) 메인화면 슬라이딩이 느려지는데요,

큰이미지를 사용한 이유도있겠지만

소스에도 속도를 더디게 하는 문제가 있는 것 같아요

고수님들이 도움이 간절히 필요합니다

www.샹그릴라영월.kr/



var main_backimg_list = ["main2","main1"];
var special_backimg = {list : ['pool','refting','babeq','hiking','fishing','sled','song','semina','laundry','rest','safety'], pos : 0, intval:'' }

function changeBackimg(imgkey, idkey, complete) {
    if (typeof(idkey) == "undefined") var idkey="special_box";
    switch(idkey) {
        case "special_box":
            imgkey = "p_"+imgkey;
    }
    var node= $("<img></img>").attr("src", "../images/s/"+imgkey+".jpg").css("display","none")
                        .appendTo("div#"+idkey).fadeIn(1000, function() {
                            $("img#"+idkey+"_img").remove();
                            $(this).attr("id", idkey+"_img");
                            if (typeof(complete) != "undefined") eval(complete);
                        });
}

function changeBackimgLoop(i) {
    if (typeof(i) == "undefined") var i=0;
   
    var img = $('img#visual_box_img');
    if (img.width() == 0) img_width = 2000;
    else img_width = img.width();
    var toLeft = $('body').width()-img_width;//img.width();
    if (toLeft>0) toLeft = -toLeft;
    img.css({"top":"0px", "left":"0px"}).stop(true,true)
        .animate({"left":toLeft+"px"},
                        {duration: 12000, queue: false, complete: function() {
                                img.stop(true,true);
                       
                                if (i+1==main_backimg_list.length) key=0;
                                else key = i+1;
                                changeBackimg(main_backimg_list[key], 'visual_box', 'changeBackimgLoop('+key+');');
                               
                            }
                        });
}

function changeBackimgSpecial(i, control_int_val) {
    if (typeof(i) == "undefined") var i=0;
    if (control_int_val != "nonstop") {
        clearInterval(special_backimg.intval);
        changeBackimgSpecialLoop();
    }
   
    $("#thumnail_box").find(".active").removeClass("active");
    $("#"+special_backimg.list[i]).find("a").addClass("active");
    changeBackimg(special_backimg.list[i], 'special_box', '');//'changeBackimgSpecial('+key+');'
    special_backimg.pos = i;
}

function changeBackimgSpecialLoop() {
    special_backimg.intval = setInterval(function(){
        if (special_backimg.pos+1==special_backimg.list.length) key=0;
        else key = special_backimg.pos+1;
        changeBackimgSpecial(key,'nonstop');
    }, 3500);
}
  • 복사

( 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 = '233752' 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