// 외부 이미지 미리 받아 놓기
var imgList = [];
imgList.push("http://www.onlifezone.com/files/attach/images/116/908/737/011/111.gif");
imgList.push("http://t2.gstatic.com/images?q=tbn:ANd9GcSJo1HQiuwDIklcOZG1Puq2iO5h79emfGuQV0_4JIUMgVXvpVPCMii8aXdcNw");
imgList.push("http://www.v3wall.com/wallpaper/1680_1050/1108/1680_1050_20110809091524388043.jpg");
imgList.push("http://www.v3wall.com/wallpaper/medium/1108/medium_20110809091236292253.jpg");
imgList.push("http://www.v3wall.com/wallpaper/medium/1108/medium_20110809091550345142.jpg");
imgList.push("http://www.v3wall.com/wallpaper/1600_1200/1108/1600_1200_20110809091508200270.jpg");
imgList.push("http://www.v3wall.com/wallpaper/1920_1080/1108/1920_1080_20110809091410556289.jpg");
imgList.push("http://www.v3wall.com/wallpaper/1920_1080/1108/1920_1080_20110809091324246399.jpg");
imgList.push("http://www.v3wall.com/wallpaper/1920_1080/1102/1920_1080_20110204103714496177.jpg");
imgList.push("http://www.v3wall.com/wallpaper/1920_1080/1102/1920_1080_20110204103756281487.jpg");
imgList.push("http://www.v3wall.com/wallpaper/1920_1080/1102/1920_1080_20110204104030521738.jpg");
imgList.push("mc/1920_1080_20110204104030521738.jpg");
for (var i = 0; i < imgList.length; i++) {
var imgLoader = qx.io.ImageLoader;
imgLoader.load(imgList[i], function (source, entry) {
// TODO
});
}
// 내부 이미지 미리 받아 놓기.
for (var i=0; i<count; i++) { var icon = "icon/32/places/" + iconImages[Math.floor(Math.random() * iconImages.length)]; var resolved = aliasManager.resolve(icon); var url = resourceManager.toUri(resolved); items[i] = { label: "Icon #" + (i+1), icon: icon, resolvedIcon: url }; }
'Dev > Qooxdoo' 카테고리의 다른 글
qooxdoo로 만든 socket class (0) | 2015.03.03 |
---|---|
1. qooxdoo Project 만들기 (0) | 2012.07.27 |
JQuery Animation을 통해서 Qooxdoo 프로퍼티로 애니메이션 구현 예제 (0) | 2012.07.09 |
Qooxdoo를 이용한 객체 생성 및 해제 예제 (0) | 2012.07.09 |
appearances, decorations 추가 하기 (예-버튼) (0) | 2012.05.30 |
다국어 지원 (0) | 2012.05.18 |
해제 관련 (0) | 2012.05.09 |
qooxdoo 오른쪽 버튼 활성화 (0) | 2012.05.09 |
지원 여부 (0) | 2012.05.03 |
class 동적 생성 (0) | 2012.05.03 |