forked from 0x2620/pandora
20 lines
678 B
JavaScript
Executable file
20 lines
678 B
JavaScript
Executable file
/***
|
|
Pandora embed
|
|
***/
|
|
|
|
var pandora = new Ox.App({
|
|
apiURL: '/api/',
|
|
config: '/site.json',
|
|
init: 'hello',
|
|
}).launch(function(data) {
|
|
var d = $('<div>').html('Pan.do/ra embed')
|
|
.css({'position': 'absolute',
|
|
'padding-top': $(window).height()/4,
|
|
'padding-left':$(window).width()/4});
|
|
$(document.body).append(d);
|
|
var d = $('<div>').html('here be unicorns')
|
|
.css({'position': 'absolute',
|
|
'padding-top': $(window).height()/2,
|
|
'padding-left':$(window).width()/2});
|
|
$(document.body).append(d);
|
|
});
|