contentview_OpenUri.js 727 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10

//名前空間用のオブジェクトを用意する
var CONTENTVIEW_OPENURI = {};

CONTENTVIEW_OPENURI.ready = function(){
	
	//ビューア、共有表示パーツ読み込み
	$("#viewer").load("./inc_contentview.html?__UPDATEID__", function (myData, myStatus, xhr){
		//読み込み完了時の処理
		I18N.i18nReplaceText();
11 12 13 14 15
		
		setTimeout(function(){
			CONTENTVIEW_OPENURI.showContentView();
		}, 200);
		
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
	});
	
};

CONTENTVIEW_OPENURI.showContentView = function(){

	$("#ws-body").hide();
	//$("#topcontrol").hide();

	CONTENTVIEW_INITOBJECT.clearViewerComponent();
	CONTENTVIEW.cssInit();
	$("#viewer").show();

	CONTENTVIEW.ready();
	
};

$("document").ready(function () {
	//CONTENTVIEW_OPENURI.ready();
});