スポンサーサイト
2014.01.27 Monday
一定期間更新がないため広告を表示しています
- -
- -
- -
2011.01.19 Wednesday
2011.01.19 Wednesday
if(navigator.userAgent.indexOf('MSIE') != -1) {的な感じでIE6,7,8(でしょうか???)を処理しとかないと、
iebrows = true;
};
if(iebrows) {
imgElem.src = imgsrc[i] + "?" + new Date().getTime();
} else {
imgElem.src = imgsrc[i];
};
imgElem.onload = function() {
//処理
};
2011.01.19 Wednesday
body {iPhoneとIE6のposition: fixedが効かなくて困った時のメモ
/*ie6fixed*/
height: 100%;
/*iPhone*/
position: relative;
}
#overlay {
position: fixed;
top: 0;
left: 0;
/*ie6fixed*/
position: expression('absolute');
top: expression(documentElement.scrollTop + 'px');
left: expression(documentElement.scrollLeft + 'px');
z-index: 90;
width: 100%;
height: 100%;
background-color: #000;
-ms-filter: "alpha( opacity=0 )";/*IE8*/
filter: alpha( opacity=0 );/*IE6,7*/
opacity: 0;
}
/*iPhone overlay position*/
@media screen and (max-device-width: 480px) {
#overlay {
position: absolute;
top: 0;
left: 0;
}
}
2011.01.19 Wednesday
var obj = function() {くそっ
obj.set = {
func1: function() {
//構文
},
func2: function() {
//構文
},//ここのカンマがあるとIEでエラーが出る、FireFoxはでない
};
};