1
0
Fork 0
forked from 0x2620/oxjs

update geo module

This commit is contained in:
rolux 2011-11-23 15:53:17 +01:00
commit e0d4dd3bec
1619 changed files with 6021 additions and 686370 deletions

View file

@ -1,4 +1,4 @@
Ox.load({UI: {}, Geo: {}}, function() {
Ox.load({UI: {theme: 'modern'}, Geo: {}}, function() {
var $list = Ox.IconList({
//borderRadius: 32,
@ -6,9 +6,10 @@ Ox.load({UI: {}, Geo: {}}, function() {
return {
height: size,
id: data.code,
info: data.code,
title: data.name,
url: Ox.getImageByGeoname('icon', 256, data.name),
info: data.region,
title: data.name + ' (' + data.code + ')',
url: Ox.getFlagByGeoname(data.name, 256),
//url: '../../tools/_geo3/svg/icons/' + data.code + '.svg',
width: size
}
},
@ -30,7 +31,7 @@ Ox.load({UI: {}, Geo: {}}, function() {
],
orientation: 'vertical'
})
.appendTo(Ox.UI.$body)
.appendTo(Ox.UI.$body);
/*
Ox.UI.$window.resize(function() {