Commit fa0f107c by Kim Eunchul

#40373 【TECSS(Biz) webviewer 1.9】ジャンルツリー(グループツリー)を右側にドラッグした際、サムネイル(リスト)の位置が変わってしまう

parent a1289e77
......@@ -44,7 +44,7 @@ function ResizeTab() {
var tabUnitBody = document.getElementsByClassName("tabUnit")[0].clientWidth;
var width = 930 - tabUnitBody;
var margin = tabUnitBody - 280;
console.log(tabUnitBody);
articleBody[0].style.cssText = 'width: '+ width + 'px;';
$(".cnt_section_list .text .info .pic li .iconList").css("margin-right", margin);
$(".sankaku_left").css("margin-left", 54 + margin*0.5);
......
......@@ -121,7 +121,7 @@
<div id="ws-body" class="wrapper_ws" >
<div id="inc_backup"></div>
<div id="main-ws" class="hoge">
<div class="tabUnit" style="display:none;" onresize="ResizeTab(); console.log('WATTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT')">
<div class="tabUnit" style="display:none;">
<ul class="switchingTab">
<li class="colleft" ><a href="#list_0" class="current" id="lnkbtnGenre"> </a></li>
<li class="colright" style="display:none;"><a href="#list_1" id="lnkbtnGroup"> </a></li>
......
......@@ -201,7 +201,7 @@ $(document).ready(function() {
$("#contentDetail").css('top', '0');
}
}
console.log('?????????????????????????????????????????????????????????????????????????');
HOME.ResizeTab();
});
} else {
HEADER.checkForceChangePassword();
......@@ -483,12 +483,12 @@ HOME.changeDispListFunction = function() {
HOME.ResizeTab = function() {
var articleBody = document.getElementsByClassName("articlehome");
var articleBody = document.getElementsByClassName("articlehome");
var tabUnitBody = document.getElementsByClassName("tabUnit")[0].clientWidth;
var width = 930 - tabUnitBody;
var margin = tabUnitBody - 280;
articleBody[0].style.cssText = 'width: '+ width + 'px;';
articleBody[0].style.cssText = 'width: '+ width + 'px;';
$(".cnt_section_list .text .info .pic li .iconList").css("margin-right", margin);
$(".sankaku_left").css("margin-left", 54 + margin*0.5);
$(".sankaku_right").css("margin-left", 179 + margin*0.5);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment