묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
loader 라고 확장자 업는 자바문서인데 이것을 페이지에 import하면
개채가 필요하다네요~ 아악! 뭐가 뭐가 잘못인지 모르겠습니다 ㅠㅠ 으엉
if ( $('homepage').length ) { <-- 딱 여기서 에러가 발생합니다.
도움좀 부탁드립니다
자바스크립트 넣었는데 개채가 필요하다네요. 도움을 부탁드립니다.
2011.08.29 23:14
var jsArray = {
homepage: 'js/homepage.js', // Home
jquery_quovolver: 'js/jquery.quovolver.js', // Home
jquery_wipetouch: 'js/jquery.wipetouch.js', // Home
stay_standalone: 'js/stay_standalone.js', // Mobile touch_scroll: 'js/touch-scroll.mod.js', // Mobile iscroll: 'js/iscroll.4.1.2.js', // Mobile
}
var jsCDN = {
jquery_ui: 'js/jquery-ui.min.js' // Home
}
/* Home
-------------------------------*/
if ( $('homepage').length ) {
$.getScript(jsArray.jquery_wipetouch);
$.getScript(jsCDN.jquery_ui, function(){$.getScript(jsArray.homepage);});
$.getScript(jsArray.jquery_quovolver, function() {
$('.latest-news').quovolver(200, 6500);
});
}
/* Mobile
-------------------------------*/
if ( mobile() ) {
$.getScript(jsArray.stay_standalone);
$.getScript(jsArray.touch_scroll,function(){
if (!!('ontouchstart' in window) && $('.grid-horizontal').length == 0 && $('#video-channel').length == 0 ) {$('div#main-content').touchScroll();}
});
$.getScript(jsArray.iscroll);
}loader 라고 확장자 업는 자바문서인데 이것을 페이지에 import하면
개채가 필요하다네요~ 아악! 뭐가 뭐가 잘못인지 모르겠습니다 ㅠㅠ 으엉
if ( $('homepage').length ) { <-- 딱 여기서 에러가 발생합니다.
도움좀 부탁드립니다