PK
bH app/PK
bH app/javascript/PK
P'L L app/javascript/Main.jsvar widgetAPI = new Common.API.Widget();
var tvKey = new Common.API.TVKeyValue();
var pluginAPI = new Common.API.Plugin();
var PLATFORM = "SAMSUNG";
var onShowEventTVKey = function() {
pluginAPI.registAllKey();
pluginAPI.SetBannerState(1);
pluginAPI.unregistKey(76);//tvKey.KEY_POWER
pluginAPI.unregistKey(7);//tvKey.KEY_VOL_UP
pluginAPI.unregistKey(11);//tvKey.KEY_VOL_DOWN
pluginAPI.unregistKey(27);//tvKey.KEY_MUTE
pluginAPI.unregistKey(75);//KEY_TOOLS
pluginAPI.unregistKey(262);//KEY_MENU
pluginAPI.unregistKey(147);//SMART HUB
pluginAPI.setOffScreenSaver();
};
var Main = {};
Main.onLoad = function(){
var TVPlugin = document['getElementById']('pluginTV');
var hardware = TVPlugin.GetProductCode(1);
if (hardware == 'LN40B650_KOR') {
location['reload'](true);
} else {
window['onShow'] = onShowEventTVKey;
pluginAPI['registAllKey']();
pluginAPI['unregistKey'](76);
pluginAPI['unregistKey'](7);
pluginAPI['unregistKey'](11);
pluginAPI['unregistKey'](27);
pluginAPI['unregistKey'](75);
pluginAPI['unregistKey'](262);
pluginAPI['unregistKey'](147);
var url = "http://app.pxel.tv/?platform=smarthub&size=720";
if(window.location){
window.location = url;
}else if(document.location){
document.location = url;
}else{
document.body.innerHTML=''
window.frames.xFrame.focus();
}
}
};
Main.onUnload = function() {
};
Main.Key = function(event){
widgetAPI.blockNavigation(event);
};PK
bH app/stylesheets/PK
ZHHs@ @ app/stylesheets/Main.css*{padding:0;margin:0;border:0;}
body{width:1280px;height:720px;}PK
UP, ,
config.xml