익스9 이하,파이어폭스 에서 최근게시물이 안나와요,,

· 13년 전 · 983
Untitled-3.jpg
익스 9과 파이어폭스를 제외한 웹브라우저에서는 메인에 최근게시물이 보이는데

익스8,7,6,5, 파이어폭스에서는 최근게시물 리스트가 전혀 보이지가 않네요 ㅠ 어떤걸 수정해야하나요!!



U2._Element={
getBadBrowser : function() {
if(navigator.userAgent.toLowerCase().indexOf("msie 5.0")>0 || navigator.userAgent.toLowerCase().indexOf("msie 5.5")>0) {return true;}else{return false;}
},
getBrowser : function() {
if(navigator.userAgent.toLowerCase().indexOf("msie")>=0) {
return "ie";
}else if (navigator.userAgent.toLowerCase().indexOf("firefox")>=0) {
return "ff";
}else if (navigator.userAgent.toLowerCase().indexOf("opera")>=0) {
return "op";
}else if (navigator.userAgent.toLowerCase().indexOf("safari")>=0) {
return "sf";
}
},
getStyle : function(element, property) {
if (element.style[property]) {
return element.style[property]
} else if (element.currentStyle) {
return element.currentStyle[property]
} else if (document.defaultView && document.defaultView.getComputedStyle) {
var style = document.defaultView.getComputedStyle(element, null)
return style.getPropertyValue(property)
} else {
return null
}
},
setStyle : function(element, styles,sw) {
var e;
if(!sw) { // ie 5.0
if(this.getBadBrowser()==true) {
e=element.id!="" ? document.getElementById(element.id) : element;
}else{
e=element;
}
}else{
e=element;
}

for(var styleName in styles) {
if(this.getBadBrowser()==true) {if(styleName=="cursor") styleName="hand";}
e.style[styleName]=styles[styleName];
}
},
setStyles : function() {
var aAs=arguments;
for (var i=0;i<aAs.length;i++) {
var sVarguments=aAs[i];
U2._Element.setStyle(sVarguments[0],sVarguments[1]);
}
}
};
};

첨부파일

Untitled-3.jpg (144.8 KB)
0회 2012-05-18 15:57
|
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
13년 전 조회 1,576
13년 전 조회 1,876
13년 전 조회 1,618
13년 전 조회 1,549
13년 전 조회 978
13년 전 조회 1,603
13년 전 조회 807
13년 전 조회 3,999
13년 전 조회 989
13년 전 조회 984
13년 전 조회 1,781
13년 전 조회 1,161
13년 전 조회 988
13년 전 조회 1,543
13년 전 조회 984
13년 전 조회 996
13년 전 조회 935
13년 전 조회 1,269
13년 전 조회 1,756
13년 전 조회 1,089