Commit b9c45397 by Motohisa Nakano

20121206-3

parent 90cbc971
......@@ -48,8 +48,8 @@
"dspTitleNm":"Title",
"dspTitleNmKn":"Title(Kana)",
"txtPubDt":"Released Date",
"txtRecordNum":"",
"txtRecordTotal":"",
"txtRecordNum":" ",
"txtRecordTotal":" ",
"dspViewMore":">> Next {0} contents",
"txtGen":"Genre",
"txtGr":"Group",
......@@ -64,7 +64,7 @@
"dspBkCancel":"Logout",
"txtSearchResult":"Result",
"dspHome":"Home",
"txtLoginUser":"(Ver.20121206-1)User:",
"txtLoginUser":"(Ver.20121206-3)User:",
"txtAll":"All",
"txtMkgSize":"Size",
"txtMkgS":"S",
......
......@@ -64,7 +64,7 @@
"dspBkCancel":"バックアップせずにログアウト",
"txtSearchResult":"検索結果",
"dspHome":"ホーム",
"txtLoginUser":"(Ver.20121206-1)ログイン中:",
"txtLoginUser":"(Ver.20121206-3)ログイン中:",
"txtAll":"すべて",
"txtMkgSize":"太さ",
"txtMkgS":"小",
......
......@@ -64,7 +64,7 @@
"dspBkCancel":"로그아웃",
"txtSearchResult":"검색 결과",
"dspHome":"홈",
"txtLoginUser":"(Ver.20121206-1)로그인 중:",
"txtLoginUser":"(Ver.20121206-3)로그인 중:",
"txtAll":"전체",
"txtMkgSize":"두께",
"txtMkgS":"소",
......
......@@ -1934,10 +1934,10 @@
var strPattern = "\n";
var strTemp = sPageText;
strTemp = strTemp.replace(strPattern, "<br/>");
strTemp = strTemp.replaceAll(strPattern, "<br/>");
strTemp += "<br/>";
$('#divCopyText').append('<div class="last" id="txtTextCopy" style="word-wrap:break-word">' + strTemp + '</div>');
$('#divCopyText').append('<div class="last" id="txtTextCopy" style="word-wrap:break-word;line-height: 20px">' + strTemp + '</div>');
/* display dialog */
// $("#divCopyText").dialog({
......@@ -3215,6 +3215,11 @@ function oldContent_Back(){
/* check login */
if (!avwCheckLogin(ScreenIds.Login)) return;
// Set event to prevent leave
avwSetLogoutNortice();
// Lock screen
LockScreen();
getContentID();
......@@ -3380,7 +3385,7 @@ function oldContent_Back(){
}
});
LockScreen();
//LockScreen();
</script>
</head>
......
......@@ -1190,10 +1190,11 @@ function onClick_CanvasMain(event){
}
function mouseMove_canvasMain(event){
event.preventDefault();
/* base image move when userScale over 1 */
if(moveFlag && userScale != 1) {
$('#main').css('cursor','pointer');
cancelClick = true;
var mx;
var my;
......@@ -1312,6 +1313,10 @@ function mouseMove_canvasMain(event){
function mouseDown_CanvasMain(event){
moveFlag = true;
if(isTouchDevice() != true){
event.preventDefault();
}
$('#main').css('cursor','default');
/*if(event.originalEvent) {
if(event.originalEvent.targetTouches) {
if(event.originalEvent.targetTouches[0].pageX) {
......@@ -1342,6 +1347,7 @@ function mouseDown_CanvasMain(event){
function mouseUp_CanvasMain(event){
moveFlag = false;
$('#main').css('cursor','default');
}
......@@ -2655,10 +2661,12 @@ function trackTransforms(ctx){
function zoomIn() {
userScale += scaleDelta;
if(userScale > 4){
userScale = 4;
}
else{
changeScale(userScale);
flip();
......@@ -2666,12 +2674,42 @@ function zoomIn() {
/* zoom video */
zoomVideo();
}
checkDisableButtonZoom();
};
function checkDisableButtonZoom(){
if(userScale >= 4){
$('#zoomin').removeClass();
$('#zoomin').addClass('expansion_off');
$("#zoomin").css('cursor', 'default');
}else{
$('#zoomin').unbind('click');
$('#zoomin').bind('click',zoomIn);
$('#zoomin').removeClass();
$('#zoomin').addClass('expansion');
$("#zoomin").css('cursor', 'pointer');
}
if(userScale <= 1){
$('#zoomout').removeClass();
$('#zoomout').addClass('reduction_off');
$("#zoomout").css('cursor', 'default');
}else{
$('#zoomout').unbind('click');
$('#zoomout').bind('click',zoomOut);
$('#zoomout').removeClass();
$('#zoomout').addClass('reduction');
$("#zoomout").css('cursor', 'pointer');
}
}
function checkDisableButtonZoom1(){
if(userScale >= 4){
$('#zoomin').unbind('click');
$('#zoomin').removeClass();
......@@ -2708,13 +2746,14 @@ function zoomOut() {
userScale -= scaleDelta;
if(userScale < 1) {
userScale = 1;
}
}else{
changeScale(userScale);
flip();
/* zoom video */
zoomVideo()
}
checkDisableButtonZoom();
};
......
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