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
1b9a3314
Commit
1b9a3314
authored
Aug 07, 2014
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
getits向けメニューアイコン操作
parent
aafe8719
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
34 deletions
+47
-34
abvw/js/contentview.js
+47
-34
No files found.
abvw/js/contentview.js
View file @
1b9a3314
...
@@ -2462,44 +2462,57 @@ function enableControlForMediaAndHtmlType(){
...
@@ -2462,44 +2462,57 @@ function enableControlForMediaAndHtmlType(){
$
(
"#control_screen"
).
addClass
(
'toolbar'
);
$
(
"#control_screen"
).
addClass
(
'toolbar'
);
$
(
"#control_screen_2"
).
addClass
(
'toolbar_close'
);
$
(
"#control_screen_2"
).
addClass
(
'toolbar_close'
);
}
}
};
//Enable control for type image and none
function
enableControlForImageAndNoneType
(){
/* set cursor pointer*/
$
(
"#imgHome"
).
css
(
'cursor'
,
'pointer'
);
$
(
"#imgBack"
).
css
(
'cursor'
,
'pointer'
);
$
(
"#control_screen"
).
removeClass
();
$
(
"#control_screen_2"
).
removeClass
();
$
(
'#imgHome'
).
bind
(
'click'
,
imgHome_click
);
$
(
'#imgHome'
).
removeClass
();
$
(
'#imgBack'
).
bind
(
'click'
,
imgBack_click
);
$
(
'#imgBack'
).
removeClass
();
$
(
"#control_screen"
).
bind
(
'click'
,
fullScreenForNotPdfType
);
$
(
"#control_screen_2"
).
bind
(
'click'
,
originalScreenForNotPdfType
);
if
(
COMMON
.
isTouchDevice
()
==
true
)
{
/* set css for device */
//getits対応
$
(
'#imgHome'
).
addClass
(
'home_device'
);
if
(
ClientData
.
isGetitsMode
()
==
true
){
$
(
'#imgBack'
).
addClass
(
'back_device'
);
$
(
'#imgHome'
).
unbind
(
'click'
);
$
(
'#imgHome'
).
removeClass
();
$
(
'#imgHome'
).
addClass
(
'home_off'
);
/* back button */
$
(
'#imgBack'
).
unbind
(
'click'
);
$
(
'#imgBack'
).
removeClass
();
$
(
'#imgBack'
).
addClass
(
'back_off'
);
}
$
(
"#control_screen"
).
addClass
(
'toolbar_device'
);
//$("#control_screen_2").addClass('toolbar_device');
$
(
"#control_screen_2"
).
addClass
(
'toolbar_close_device'
);
}
else
{
/* set css for PC */
$
(
'#imgHome'
).
addClass
(
'home'
);
$
(
'#imgBack'
).
addClass
(
'back'
);
$
(
"#control_screen"
).
addClass
(
'toolbar'
);
$
(
"#control_screen_2"
).
addClass
(
'toolbar_close'
);
}
};
};
//Enable control for type image and none
//function enableControlForImageAndNoneType(){
// /* set cursor pointer*/
// $("#imgHome").css('cursor', 'pointer');
// $("#imgBack").css('cursor', 'pointer');
//
// $("#control_screen").removeClass();
// $("#control_screen_2").removeClass();
//
// $('#imgHome').bind('click', imgHome_click);
// $('#imgHome').removeClass();
//
// $('#imgBack').bind('click', imgBack_click);
// $('#imgBack').removeClass();
//
// $("#control_screen").bind('click', fullScreenForNotPdfType);
// $("#control_screen_2").bind('click', originalScreenForNotPdfType);
//
// if (COMMON.isTouchDevice() == true) {/* set css for device */
// $('#imgHome').addClass('home_device');
// $('#imgBack').addClass('back_device');
//
// $("#control_screen").addClass('toolbar_device');
// //$("#control_screen_2").addClass('toolbar_device');
// $("#control_screen_2").addClass('toolbar_close_device');
//
// } else { /* set css for PC */
// $('#imgHome').addClass('home');
// $('#imgBack').addClass('back');
//
// $("#control_screen").addClass('toolbar');
// $("#control_screen_2").addClass('toolbar_close');
// }
//};
//Full screen function for not pdf type
//Full screen function for not pdf type
function
fullScreenForNotPdfType
(){
function
fullScreenForNotPdfType
(){
...
...
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