You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
4.2 KiB
XML
93 lines
4.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?xml-stylesheet href="/cm/css/all.css" type="text/css"?>
|
|
<?xml-stylesheet href="/cm/css/main.css" type="text/css"?>
|
|
<?xml-stylesheet href="/cm/css/responsible.css" type="text/css"?>
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms">
|
|
<head>
|
|
<w2:type>DEFAULT</w2:type>
|
|
<w2:buildDate />
|
|
<xf:model>
|
|
<xf:instance>
|
|
<data xmlns="">
|
|
</data>
|
|
</xf:instance>
|
|
</xf:model>
|
|
<script src="/cm/js/cfs_main.js" />
|
|
<script type="text/javascript" lazy="false"><![CDATA[
|
|
scwin.onpageload = function() {
|
|
scwin.initMainLoad();
|
|
};
|
|
|
|
scwin.onpageunload = function() {
|
|
|
|
};
|
|
|
|
scwin.tac_layout_onbeforeselect = function(selectedIndex,index) {
|
|
try {
|
|
//자체 개발 (반응형 탭에서 현재 열린 창 닫는 코딩)
|
|
var isAdaptive = parseInt(this.getStyle("width"), 10) < 1024 ? true : false;
|
|
if (isAdaptive) {
|
|
if (selectedIndex == index) {
|
|
//현재 선택된 탭이 선택될 경우 접는 동작.
|
|
var classNm = "w2tabcontrol_contents_wrapper_selected";
|
|
var selectTac = this.getFrame(selectedIndex);
|
|
if (selectTac.hasClass("w2tabcontrol_contents_wrapper_selected")) {
|
|
setTimeout(function(comp) {
|
|
comp.removeClass("w2tabcontrol_contents_wrapper_selected");
|
|
$("#"+comp.id).prev().removeClass("w2tabcontrol_contents_bridge_selected");
|
|
}, 200, selectTac);
|
|
return;
|
|
}
|
|
}
|
|
//새로운 탭을 선택 할 경우 현재 탭을 최상위로 스크롤 이동.
|
|
var moveHeight = 0;
|
|
for ( var i = 0; i < index; i++) {
|
|
moveHeight += parseFloat($("#"+this.getFrame(i).id).prev().css("height"));
|
|
}
|
|
setTimeout(function(contentId, height) {
|
|
$("#"+contentId).scrollTop(height);
|
|
}, 200, this.parentControl.id, moveHeight);
|
|
}
|
|
//코딩 끝
|
|
} catch(e) {
|
|
}
|
|
};
|
|
|
|
scwin.tac_layout_ondrawcomplete = function(tabID,idx,userID) {
|
|
var isAdaptive = parseInt(this.getStyle("width"), 10) < 1024 ? true : false;
|
|
//반응형일때 탭 생성시 탭이 접혀있는 상태로 표현됨. 이때 강제로 펼치도록 설정.
|
|
if (isAdaptive) {
|
|
this.getFrame(idx).addClass("w2tabcontrol_contents_wrapper_selected");
|
|
}
|
|
};
|
|
]]></script>
|
|
</head>
|
|
<body ev:onpageload="scwin.onpageload" ev:onpageunload="scwin.onpageunload">
|
|
<xf:group id="wrap" style="" class="">
|
|
<w2:wframe id="wfm_header" class="" style="" src="/cm/common/header.xml" scope="true"></w2:wframe>
|
|
<xf:group class="" id="container" adaptive="" adaptiveThreshold="">
|
|
<w2:wframe class="" id="wfm_side" src="/cm/common/side.xml" style="" scope="true"></w2:wframe>
|
|
<xf:group class="" id="contents">
|
|
<w2:tabControl alwaysDraw="false" class="tac_layout" confirmFalseAction="new" confirmTrueAction="exist" id="tac_layout"
|
|
style="" useConfirmMessage="false" useTabKeyOnly="true" tabScroll="true" adaptive="layout" adaptiveThreshold="768" closable="true"
|
|
spaInitCount="" spaAuto="" spaAutoDelay="1000" windowMaxNum="10" focusOnStart="" tabMove="true" ev:ontabclick="" ev:onbeforeselect="scwin.tac_layout_onbeforeselect" ev:ondrawcomplete="scwin.tac_layout_ondrawcomplete">
|
|
</w2:tabControl>
|
|
<w2:tabControl useTabKeyOnly="true" id="" useMoveNextTabFocus="" useConfirmMessage="false" confirmTrueAction="exist"
|
|
confirmFalseAction="new" alwaysDraw="false" style="display:none;" adaptive="layout" adaptiveThreshold="768" class="tac_layout" closable="true"
|
|
windowMaxNum="10" spaAutoDelay="1000" tabScroll="true">
|
|
|
|
<w2:tabs label="Tab 3" disabled="false" style="" id="tabs3"></w2:tabs>
|
|
<w2:content alwaysDraw="false" style="" id="content1" src="/cm/common/main.xml"></w2:content>
|
|
<w2:content alwaysDraw="false" style="" id="content2" src="/ui/BM/BM001M01.xml"></w2:content>
|
|
<w2:content alwaysDraw="false" style="" id="content3" src="/ui/BM/BM002M01.xml"></w2:content>
|
|
</w2:tabControl>
|
|
<w2:anchor id="btn_closeAll" style="" outerDiv="false" class="btn_CloseAll" ev:onclick="scwin.btn_CloseAll_onclick">
|
|
<xf:label><![CDATA[closeAll]]></xf:label>
|
|
</w2:anchor>
|
|
<w2:wframe class="bot_option" id="wfm_footer" style="" src="/cm/common/footer.xml" scope="true"></w2:wframe>
|
|
</xf:group>
|
|
</xf:group>
|
|
</xf:group>
|
|
</body>
|
|
</html>
|