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
c355fa8b
Commit
c355fa8b
authored
Apr 13, 2016
by
vietdo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#19490 360°Getits Webビューアツールバーの非表示
parent
0067d39d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
66 deletions
+40
-66
abvw/js/contentview.js
+35
-51
abvw/js/contentview_InitObjects.js
+5
-15
No files found.
abvw/js/contentview.js
View file @
c355fa8b
...
...
@@ -2123,6 +2123,35 @@ CONTENTVIEW.panoOldContent = function(){
return
oldPageNo
;
};
CONTENTVIEW
.
createSessionForPanoramaContent
=
function
(
apiUrl
,
func
,
linkUrlTmp
){
var
params
=
{
sid
:
ClientData
.
userInfo_sid
()
};
var
sysSettings
=
AVWEB
.
avwSysSetting
();
// ajax によるAPIの実行(json)
$
.
ajax
(
{
async
:
false
,
type
:
'GET'
,
url
:
apiUrl
,
dataType
:
'text'
,
data
:
params
,
crossDomain
:
true
,
beforeSend
:
function
(
xhr
)
{
xhr
.
setRequestHeader
(
'X-AGT-AppId'
,
sysSettings
.
appName
);
xhr
.
setRequestHeader
(
'X-AGT-AppVersion'
,
sysSettings
.
appVersion
);
},
success
:
function
(
data
)
{
var
linkUrlTmp2
=
linkUrlTmp
+
";jsessionid="
+
data
;
func
(
linkUrlTmp2
);
},
error
:
function
(
xmlHttpRequest
,
txtStatus
,
errorThrown
)
{
/* call custom error process */
AVWEB
.
avwLog
(
"error"
+
errorThrown
);
}
});
};
//Display overlay dialog for specify content type
CONTENTVIEW
.
displayOverlayForSpecifyContentType
=
function
(
resourceUrl
){
...
...
@@ -2146,31 +2175,9 @@ CONTENTVIEW.displayOverlayForSpecifyContentType = function( resourceUrl ){
linkUrlTmp
=
linkUrlTmp
.
substring
(
0
,
linkUrlTmp
.
length
-
6
)
+
"shop/panorama/play/"
+
CONTENTVIEW_GENERAL
.
contentID
+
"/"
;
var
params
=
{
sid
:
ClientData
.
userInfo_sid
()
};
var
sysSettings
=
AVWEB
.
avwSysSetting
();
// ajax によるAPIの実行(json)
$
.
ajax
(
{
async
:
false
,
type
:
'GET'
,
url
:
apiUrl
,
dataType
:
'text'
,
data
:
params
,
crossDomain
:
true
,
beforeSend
:
function
(
xhr
)
{
xhr
.
setRequestHeader
(
'X-AGT-AppId'
,
sysSettings
.
appName
);
xhr
.
setRequestHeader
(
'X-AGT-AppVersion'
,
sysSettings
.
appVersion
);
},
success
:
function
(
data
)
{
var
linkUrlTmp2
=
linkUrlTmp
+
";jsessionid="
+
data
;
CONTENTVIEW
.
handleForContentTypePanoMovie
(
linkUrlTmp2
);
},
error
:
function
(
xmlHttpRequest
,
txtStatus
,
errorThrown
)
{
/* call custom error process */
console
.
log
(
"error"
+
errorThrown
);
}
});
CONTENTVIEW
.
createSessionForPanoramaContent
(
apiUrl
,
function
(){
CONTENTVIEW
.
handleForContentTypePanoMovie
(
linkUrlTmp
);
},
linkUrlTmp
);
}
else
if
(
CONTENTVIEW_GENERAL
.
contentType
==
'panoImage'
){
var
url
=
ClientData
.
conf_apiUrl
();
...
...
@@ -2186,32 +2193,9 @@ CONTENTVIEW.displayOverlayForSpecifyContentType = function( resourceUrl ){
linkUrlTmp
=
linkUrlTmp
.
substring
(
0
,
linkUrlTmp
.
length
-
6
)
+
"shop/vtour/play/"
+
CONTENTVIEW_GENERAL
.
contentID
+
"/"
;
}
var
params
=
{
sid
:
ClientData
.
userInfo_sid
()
};
var
sysSettings
=
AVWEB
.
avwSysSetting
();
// ajax によるAPIの実行(json)
$
.
ajax
(
{
async
:
false
,
type
:
'GET'
,
url
:
apiUrl
,
dataType
:
'text'
,
data
:
params
,
crossDomain
:
true
,
beforeSend
:
function
(
xhr
)
{
xhr
.
setRequestHeader
(
'X-AGT-AppId'
,
sysSettings
.
appName
);
xhr
.
setRequestHeader
(
'X-AGT-AppVersion'
,
sysSettings
.
appVersion
);
},
success
:
function
(
data
)
{
var
linkUrlTmp2
=
linkUrlTmp
+
";jsessionid="
+
data
;
CONTENTVIEW
.
handleForContentTypePanoImage
(
linkUrlTmp2
);
},
error
:
function
(
xmlHttpRequest
,
txtStatus
,
errorThrown
)
{
/* call custom error process */
console
.
log
(
"error"
+
errorThrown
);
}
});
CONTENTVIEW
.
createSessionForPanoramaContent
(
apiUrl
,
function
(){
CONTENTVIEW
.
handleForContentTypePanoImage
(
linkUrlTmp
);
},
linkUrlTmp
);
}
else
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Html
){
...
...
abvw/js/contentview_InitObjects.js
View file @
c355fa8b
...
...
@@ -557,22 +557,12 @@ CONTENTVIEW_INITOBJECT.isHasPageBGM = function(){
//END TRB00069
CONTENTVIEW_INITOBJECT
.
initPageMediaAndHtmlType
=
function
(){
//$('#divImageLoading').css('display', 'block');
if
(
ClientData
.
isGetitsMode
()){
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoImage
||
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PanoMovie
){
var
$container
=
$
(
'#dialog'
);
$
(
"#header_toolbar"
).
hide
();
$
(
"#footer_toolbar_1"
).
hide
();
$container
.
css
(
'top'
,
'0%'
)
.
css
(
'left'
,
'0%'
)
.
css
(
'height'
,
'100%'
)
.
css
(
'width'
,
'100%'
);
}
}
else
{
/* init footer toolbar */
$
(
'#footer_toolbar_2'
).
hide
();
$
(
'#footer_toolbar_1'
).
show
();
}
/* init footer toolbar */
$
(
'#footer_toolbar_2'
).
hide
();
$
(
'#footer_toolbar_1'
).
show
();
/* init pos bottom toolbar*/
CONTENTVIEW_INITOBJECT
.
initDisplayToolbarDevice
();
...
...
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