Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
6c3bd41d
Commit
6c3bd41d
authored
Dec 01, 2020
by
Kim Eunchul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#40373 【TECSS(Biz) webviewer 1.9】ジャンルツリー(グループツリー)を右側にドラッグした際、サムネイル(リスト)の位置が変わってしまう
parent
a89781e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
29 deletions
+5
-29
abvw/common/js/tab.js
+2
-2
abvw/js/home.js
+3
-27
No files found.
abvw/common/js/tab.js
View file @
6c3bd41d
...
...
@@ -24,7 +24,7 @@ $(function() {
var
tabUnitHeight
=
document
.
getElementsByClassName
(
"tabUnitList"
)[
listNum
].
clientHeight
+
60
;
$
(
".tabUnit"
).
css
(
"height"
,
tabUnitHeight
+
"px"
);
ResizeTab
();
return
false
;
});
...
...
@@ -45,7 +45,7 @@ function ResizeTab() {
var
width
=
930
-
tabUnitBody
;
var
margin
=
tabUnitBody
-
280
;
articleBody
[
0
].
s
etAttribute
(
"style"
,
"width:"
+
width
+
"px"
)
;
articleBody
[
0
].
s
tyle
.
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
);
...
...
abvw/js/home.js
View file @
6c3bd41d
...
...
@@ -431,10 +431,6 @@ HOME.changeDispBookShelfFunction = function() {
// Get next record will be displayed
HOME
.
getNextRecordNumForBookShelf
();
//resize tab
HOME
.
ResizeTab
();
};
// Change Display List Function
...
...
@@ -482,19 +478,16 @@ HOME.changeDispListFunction = function() {
// Get next record will be displayed
HOME
.
getNextRecordNumForList
();
//resize tab
HOME
.
ResizeTab
();
};
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
].
s
etAttribute
(
"style"
,
"width:"
+
width
+
"px"
)
;
articleBody
[
0
].
s
tyle
.
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
);
...
...
@@ -1015,9 +1008,6 @@ HOME.AddGenre_Callback = function(selectedNode) {
HOME
.
renderContent
(
id
,
searchText
,
searchDivision
,
sortType
,
sortOrder
,
recordOffset
,
recordLimit
,
genreId
,
groupId
);
HOME
.
handleSortDisp
();
//resize tab
HOME
.
ResizeTab
();
};
// Get Data from Group Json
...
...
@@ -1178,9 +1168,6 @@ HOME.AddGroup_Callback = function(selectedNode) {
HOME
.
renderContent
(
id
,
searchText
,
searchDivision
,
sortType
,
sortOrder
,
recordOffset
,
recordLimit
,
genreId
,
groupId
);
HOME
.
handleSortDisp
();
//resize tab
HOME
.
ResizeTab
();
};
// Re-render page from and total record
...
...
@@ -1453,8 +1440,6 @@ HOME.showNextRecordFunction = function() {
if
(
offsetPage
<=
totalrecord
)
{
HOME
.
renderContent
(
sid
,
searchText
,
searchDivision
,
sortType
,
sortOrder
,
offsetPage
,
limitPage
,
genreId
,
groupId
);
}
//resize tab
HOME
.
ResizeTab
();
};
// Sort By Title Function
...
...
@@ -1494,9 +1479,6 @@ HOME.sortByTitleFunction = function() {
HOME
.
refreshGrid
();
HOME
.
renderContent
(
sid
,
ClientData
.
searchCond_searchText
(),
ClientData
.
searchCond_searchDivision
(),
sortType
,
sortOrder
,
recordOffset
,
recordLimit
,
genreId
,
groupId
);
//resize tab
HOME
.
ResizeTab
();
};
// Sort By Title Kana function
...
...
@@ -1535,9 +1517,6 @@ HOME.sortByTitleKanaFunction = function() {
ClientData
.
searchCond_sortType
(
sortType
);
HOME
.
renderContent
(
sid
,
ClientData
.
searchCond_searchText
(),
ClientData
.
searchCond_searchDivision
(),
sortType
,
sortOrder
,
recordOffset
,
recordLimit
,
genreId
,
groupId
);
//resize tab
HOME
.
ResizeTab
();
};
// Sort By Release Date
...
...
@@ -1576,9 +1555,6 @@ HOME.sortByReleaseDateFunction = function() {
ClientData
.
searchCond_sortType
(
sortType
);
HOME
.
renderContent
(
sid
,
ClientData
.
searchCond_searchText
(),
ClientData
.
searchCond_searchDivision
(),
sortType
,
sortOrder
,
recordOffset
,
recordLimit
,
genreId
,
groupId
);
//resize tab
HOME
.
ResizeTab
();
};
// Handle language
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment