Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
sora
/
achievement
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6913a030
authored
Mar 18, 2020
by
Orine Matsui
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
本番に戻し
parent
6b631cea
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
26 deletions
achievement-official.conohawing.com/assets/include/header.php
achievement-official.conohawing.com/assets/js/functions.js
achievement-official.conohawing.com/assets/js/functions.min.js
achievement-official.conohawing.com/assets/include/header.php
View file @
6913a030
...
...
@@ -135,10 +135,12 @@
<?php
}
?>
<?php
if
(
$pageid
==
"other"
||
$pageid
==
"faq"
||
$pageid
==
"marc"
||
$pageid
==
"privacy"
||
$pageid
==
"policy"
||
$pageid
==
"member"
||
$pageid
==
"trademark"
||
$pageid
==
"sitemap"
||
$pageid
==
"business_partner"
)
{
?>
<link
rel=
"stylesheet"
href=
"/common_previous/css/trainer.css"
>
<link
rel=
"stylesheet"
href=
"/common_previous/css/other.css"
>
<?php
}
?>
<?php
if
(
$pageid
==
"contact"
||
$pageid
==
"catalogue"
)
{
?>
<link
rel=
"stylesheet"
href=
"/common_previous/css/trainer.css"
>
<link
rel=
"stylesheet"
href=
"/common_previous/css/other.css"
>
<link
rel=
"stylesheet"
href=
"/common_previous/css/contact.css"
>
<?php
}
?>
...
...
@@ -194,6 +196,7 @@
<a
href=
"/catalogue/"
class=
"c-header2-link3"
>
資料請求
</a>
</div>
<nav
class=
"c-nav nav-sp"
>
<ul
class=
"c-nav-menu1"
>
<li><a
href=
"/"
class=
"c-nav-link1"
>
トップ
</a></li>
<li><a
href=
"/schedule/"
class=
"c-nav-link1"
>
公開講座 日程一覧
</a></li>
...
...
@@ -296,32 +299,23 @@
</nav>
<nav
class=
"c-nav"
>
<ul
class=
"c-nav-menu1"
>
<li
data-target=
"home1"
class=
"sv"
>
<a
href=
"/service/"
class=
"c-nav-link1"
><span
class=
"c-nav-text"
>
サービス
</span></a>
<div
class=
"c-navService"
>
<ul
class=
"c-nav-sab"
>
<li><a
href=
"/service/top/"
class=
"c-nav-sab-link1"
><span
class=
"c-nav-sab-img"
><img
src=
"/assets/img/common/img_top_tmb.jpg"
alt=
""
></span><span
class=
"c-nav-sab-text"
>
『頂点への道』講座
</span></a></li>
<li><a
href=
"/service/penetration/"
class=
"c-nav-sab-link1"
><span
class=
"c-nav-sab-img"
><img
src=
"/assets/img/common/img_penetration_tmb.jpg"
alt=
""
></span><span
class=
"c-nav-sab-text"
>
理念浸透・組織変革
</span></a></li>
<li><a
href=
"/service/management/"
class=
"c-nav-sab-link1"
><span
class=
"c-nav-sab-img"
><img
src=
"/assets/img/common/img_management_tmb.jpg"
alt=
""
></span><span
class=
"c-nav-sab-text"
>
マネジメント
</span></a></li>
<li><a
href=
"/service/sales/"
class=
"c-nav-sab-link1"
><span
class=
"c-nav-sab-img"
><img
src=
"/assets/img/common/img_sales_tmb.jpg"
alt=
""
></span><span
class=
"c-nav-sab-text"
>
営業力強化
</span></a></li>
<li><a
href=
"/service/rt/"
class=
"c-nav-sab-link1"
><span
class=
"c-nav-sab-img"
><img
src=
"/assets/img/common/img_rt_tmb.jpg"
alt=
""
></span><span
class=
"c-nav-sab-text"
>
人間関係
</span></a></li>
</ul>
</div>
<li
data-target=
"home1"
>
<a
href=
"/service/"
class=
"c-nav-link1"
>
サービス
</a>
</li>
<li
data-target=
"home2"
>
<a
href=
"/pub/schedule#seminar"
class=
"c-nav-link1"
>
<span
class=
"c-nav-text"
>
体験セミナー
</span></a>
<a
href=
"/pub/schedule#seminar"
class=
"c-nav-link1"
>
体験セミナー
</a>
</li>
<li
data-target=
"home3"
>
<a
href=
"/beginner/"
class=
"c-nav-link1"
>
<span
class=
"c-nav-text"
>
初めての方へ
</span></a>
<a
href=
"/beginner/"
class=
"c-nav-link1"
>
初めての方へ
</a>
</li>
<li
data-target=
"home4"
>
<a
href=
"/case/"
class=
"c-nav-link1"
>
<span
class=
"c-nav-text"
>
お客様事例
</span></a>
<a
href=
"/case/"
class=
"c-nav-link1"
>
お客様事例
</a>
</li>
<li
data-target=
"home5"
>
<a
href=
"/company/"
class=
"c-nav-link1"
>
<span
class=
"c-nav-text"
>
会社情報
</span></a>
<a
href=
"/company/"
class=
"c-nav-link1"
>
会社情報
</a>
</li>
<li
data-target=
"home6"
>
<a
href=
"/company/access/"
class=
"c-nav-link1"
>
<span
class=
"c-nav-text"
>
アクセス
</span></a>
<a
href=
"/company/access/"
class=
"c-nav-link1"
>
アクセス
</a>
</li>
</ul>
</nav>
...
...
achievement-official.conohawing.com/assets/js/functions.js
View file @
6913a030
...
...
@@ -137,10 +137,11 @@ $(function () {
$
(
function
()
{
$
(
'a.btn--stop ,.reserveStop a'
).
click
(
function
()
{
return
false
;
})
;
})
});
// ヘッダ固定
/*
$(function () {
var ua = navigator.userAgent;
if (ua.indexOf('iPhone') > 0 || ua.indexOf('Android') > 0 && ua.indexOf('Mobile') > 0) {
...
...
@@ -181,14 +182,8 @@ $(function () {
return false;
}
});
$
(
".sv"
).
on
(
"mouseover"
,
function
()
{
$
(
this
).
addClass
(
"c-nav-sab-active"
);
});
$
(
".sv"
).
on
(
"mouseout"
,
function
()
{
$
(
this
).
removeClass
(
"c-nav-sab-active"
);
});
});
*/
/*----------------------------
schedule scroll
----------------------------*/
...
...
achievement-official.conohawing.com/assets/js/functions.min.js
View file @
6913a030
if
(
$
(
function
(){
var
e
=
function
(){
return
{
option
:
".c-nav-menu1 li"
,
init
:
function
(){
var
e
=
$
(
this
.
option
),
t
=
this
;
$
(
document
).
off
(
"mouseenter.megaMenuOpen"
),
$
(
document
).
on
(
"mouseenter.megaMenuOpen"
,
this
.
option
,
function
(){
var
n
=
$
(
this
).
data
(
"target"
);
return
n
||
(
$
(
".c-nav2"
).
hide
(),
e
.
removeClass
(
"is-open"
)),
!
n
||
$
(
this
).
hasClass
(
"is-open"
)?
!
1
:(
e
.
removeClass
(
"is-open"
),
$
(
this
).
addClass
(
"is-open"
),
$
(
".c-nav2"
).
hide
(),
$
(
".c-nav2-"
+
n
).
fadeIn
(
"normal"
),
$
(
document
).
off
(
"mouseenter.megaMenuClose"
),
void
t
.
menuClose
())})},
menuClose
:
function
(){
var
e
=
$
(
this
.
option
);
$
(
document
).
on
(
"mouseenter.megaMenuClose"
,
"div"
,
function
(
t
){
$
(
t
.
target
).
hasClass
(
"c-nav1"
)
||
$
(
t
.
target
).
parents
(
".c-nav"
)[
0
]
||
$
(
t
.
target
).
parents
(
".c-nav2"
)[
0
]
||
$
(
t
.
target
).
hasClass
(
"c-nav2"
)
||
(
$
(
".c-nav2"
).
hide
(),
$
(
".bg-nav"
).
remove
(),
e
.
removeClass
(
"is-open"
),
$
(
document
).
off
(
"mouseenter.megaMenuClose"
))})},
destroy
:
function
(){
$
(
document
).
off
(
"mouseenter.megaMenuOpen"
)}}}();
e
.
init
()}),
$
(
window
).
on
(
"load resize"
,
function
(){
$
(
window
).
width
()
<=
767
?(
$
(
".menu-icon"
).
off
(
"click"
).
on
(
"click"
,
function
(){
$
(
this
).
toggleClass
(
"is-active"
),
$
(
this
).
parent
().
next
().
next
().
slideToggle
()}),
$
(
".nav-sp .c-nav-link1"
).
off
(
"click"
).
on
(
"click"
,
function
(){
$
(
this
).
hasClass
(
"open"
)?(
$
(
this
).
removeClass
(
"open"
),
$
(
this
).
next
().
slideToggle
()):(
$
(
this
).
addClass
(
"open"
),
$
(
this
).
next
().
slideToggle
())}),
$
(
".c-footer__list >li > .showSp"
).
off
(
"click"
).
on
(
"click"
,
function
(
e
){
e
.
preventDefault
(),
$
(
this
).
next
(
".c-footer__listsub"
).
slideToggle
()}),
$
(
".c-nav2"
).
removeAttr
(
"style"
)):(
$
(
".menu-icon"
).
off
(
"click"
),
$
(
".menu-icon"
).
removeClass
(
"is-active"
),
$
(
".nav-sp"
).
removeAttr
(
"style"
),
$
(
".nav-sp .c-nav-link1"
).
off
(
"click"
),
$
(
".nav-sp .c-navSP"
).
removeAttr
(
"style"
),
$
(
".c-footer__list >li > .showSp"
).
off
(
"click"
),
$
(
".c-footer__listsub"
).
removeAttr
(
"style"
))}),
$
(
".c-toTop"
).
length
){
var
scrollTrigger
=
10
,
backToTop
=
function
(){
var
e
=
$
(
window
).
scrollTop
();
e
>
scrollTrigger
?
$
(
".c-toTop"
).
fadeIn
():
$
(
".c-toTop"
).
fadeOut
()};
backToTop
(),
$
(
window
).
on
(
"scroll"
,
function
(){
backToTop
()}),
$
(
".c-toTop"
).
on
(
"click"
,
function
(
e
){
e
.
preventDefault
(),
$
(
"html,body"
).
animate
({
scrollTop
:
0
},
400
)})}
jQuery
(
document
).
ready
(
function
(){
$
(
".box-video"
).
click
(
function
(){
$
(
"iframe"
,
this
)[
0
].
src
+=
"&autoplay=1"
,
$
(
this
).
addClass
(
"open"
)})}),
$
(
function
(){
$
(
".tab"
).
click
(
function
(){
$
(
".is-active"
).
removeClass
(
"is-active"
),
$
(
this
).
addClass
(
"is-active"
),
$
(
".is-show"
).
removeClass
(
"is-show"
);
const
e
=
$
(
this
).
index
();
$
(
".tabCont"
).
eq
(
e
).
addClass
(
"is-show"
),
$
(
window
).
scroll
()})}),
$
(
function
(){
$
(
"a.btn--stop ,.reserveStop a"
).
click
(
function
(){
return
!
1
})}),
$
(
function
(){
var
e
=
navigator
.
userAgent
;
if
(
e
.
indexOf
(
"iPhone"
)
>
0
||
e
.
indexOf
(
"Android"
)
>
0
&&
e
.
indexOf
(
"Mobile"
)
>
0
);
else
{
var
t
=
$
(
window
),
o
=
$
(
"header"
).
clone
().
addClass
(
"fixed-nav"
).
appendTo
(
"body"
),
n
=
"is-show"
;
t
.
on
(
"load scroll"
,
function
(){
var
e
=
$
(
this
).
scrollTop
();
e
>
300
?
o
.
addClass
(
n
):
o
.
removeClass
(
n
)})}
var
i
=
50
,
s
=
100
;
$
(
"a[href^=#]"
).
click
(
function
(){
var
e
=
navigator
.
userAgent
;
if
(
e
.
indexOf
(
"iPhone"
)
>
0
||
e
.
indexOf
(
"Android"
)
>
0
&&
e
.
indexOf
(
"Mobile"
)
>
0
){
var
t
=
$
(
this
).
attr
(
"href"
),
o
=
$
(
"#"
==
t
||
""
==
t
?
"html"
:
t
),
n
=
o
.
offset
().
top
-
s
;
return
$
(
"html, body"
).
animate
({
scrollTop
:
n
},
500
,
"swing"
),
!
1
}
var
t
=
$
(
this
).
attr
(
"href"
),
o
=
$
(
"#"
==
t
||
""
==
t
?
"html"
:
t
),
n
=
o
.
offset
().
top
-
i
;
return
$
(
"html, body"
).
animate
({
scrollTop
:
n
},
500
,
"swing"
),
!
1
}),
$
(
".sv"
).
on
(
"mouseover"
,
function
(){
$
(
this
).
addClass
(
"c-nav-sab-active"
)}),
$
(
".sv"
).
on
(
"mouseout"
,
function
(){
$
(
this
).
removeClass
(
"c-nav-sab-active"
)})}),
function
(
e
){
e
.
fn
.
fixMe
=
function
(){
return
this
.
each
(
function
(){
function
n
(){
o
=
t
.
clone
(),
o
.
find
(
"tbody"
).
remove
().
end
().
addClass
(
"fixed"
).
insertBefore
(
t
),
i
()}
function
i
(){
o
.
width
(
t
.
outerWidth
()),
o
.
find
(
"th"
).
each
(
function
(
o
){
e
(
this
).
css
(
"width"
,
t
.
find
(
"th"
).
eq
(
o
).
outerWidth
()
+
"px"
)})}
function
s
(){
var
n
=
e
(
this
).
scrollTop
(),
i
=
e
(
this
).
scrollLeft
(),
s
=
e
(
".header"
).
height
();
tableOffsetTop
=
t
.
offset
().
top
-
s
,
tableOffsetBottom
=
tableOffsetTop
+
t
.
height
()
-
t
.
find
(
"thead"
).
height
(),
tableOffsetLeft
=
t
.
offset
().
left
,
tableOffsetTop
>
n
||
n
>
tableOffsetBottom
?
o
.
hide
():
n
>=
tableOffsetTop
&&
tableOffsetBottom
>=
n
&&
o
.
is
(
":hidden"
)
&&
o
.
show
(),
o
.
css
({
left
:
tableOffsetLeft
-
i
+
"px"
,
top
:
s
})}
var
o
,
t
=
e
(
this
);
e
(
window
).
resize
(
i
),
e
(
window
).
scroll
(
s
),
n
()})}}(
jQuery
),
$
(
window
).
on
(
"load"
,
function
(){
screen
.
width
>
767
&&
$
(
".schedule-table"
).
fixMe
()}),
jQuery
(
window
).
load
(
function
(){
function
e
(){
$
(
"#seminar"
).
trigger
(
"click"
),
jQuery
(
"html, body"
).
animate
({
scrollTop
:
0
},
0
)}
""
!=
window
.
location
.
hash
&&
e
(
window
.
location
.
hash
.
substr
(
1
))}),
$
(
function
(){
$
(
".page-schedule .c-nav-link1, .c-footer__list li a"
).
on
(
"click"
,
function
(){
$
(
"#seminar"
).
trigger
(
"click"
)}),
$
(
".search__input"
).
submit
(
function
(
e
){
e
.
preventDefault
()})});
\ No newline at end of file
if
(
$
(
function
(){
var
e
=
function
(){
return
{
option
:
".c-nav-menu1 li"
,
init
:
function
(){
var
e
=
$
(
this
.
option
),
t
=
this
;
$
(
document
).
off
(
"mouseenter.megaMenuOpen"
),
$
(
document
).
on
(
"mouseenter.megaMenuOpen"
,
this
.
option
,
function
(){
var
n
=
$
(
this
).
data
(
"target"
);
return
n
||
(
$
(
".c-nav2"
).
hide
(),
e
.
removeClass
(
"is-open"
)),
!
n
||
$
(
this
).
hasClass
(
"is-open"
)?
!
1
:(
e
.
removeClass
(
"is-open"
),
$
(
this
).
addClass
(
"is-open"
),
$
(
".c-nav2"
).
hide
(),
$
(
".c-nav2-"
+
n
).
fadeIn
(
"normal"
),
$
(
document
).
off
(
"mouseenter.megaMenuClose"
),
void
t
.
menuClose
())})},
menuClose
:
function
(){
var
e
=
$
(
this
.
option
);
$
(
document
).
on
(
"mouseenter.megaMenuClose"
,
"div"
,
function
(
t
){
$
(
t
.
target
).
hasClass
(
"c-nav1"
)
||
$
(
t
.
target
).
parents
(
".c-nav"
)[
0
]
||
$
(
t
.
target
).
parents
(
".c-nav2"
)[
0
]
||
$
(
t
.
target
).
hasClass
(
"c-nav2"
)
||
(
$
(
".c-nav2"
).
hide
(),
$
(
".bg-nav"
).
remove
(),
e
.
removeClass
(
"is-open"
),
$
(
document
).
off
(
"mouseenter.megaMenuClose"
))})},
destroy
:
function
(){
$
(
document
).
off
(
"mouseenter.megaMenuOpen"
)}}}();
e
.
init
()}),
$
(
window
).
on
(
"load resize"
,
function
(){
$
(
window
).
width
()
<=
767
?(
$
(
".menu-icon"
).
off
(
"click"
).
on
(
"click"
,
function
(){
$
(
this
).
toggleClass
(
"is-active"
),
$
(
this
).
parent
().
next
().
next
().
slideToggle
()}),
$
(
".nav-sp .c-nav-link1"
).
off
(
"click"
).
on
(
"click"
,
function
(){
$
(
this
).
hasClass
(
"open"
)?(
$
(
this
).
removeClass
(
"open"
),
$
(
this
).
next
().
slideToggle
()):(
$
(
this
).
addClass
(
"open"
),
$
(
this
).
next
().
slideToggle
())}),
$
(
".c-footer__list >li > .showSp"
).
off
(
"click"
).
on
(
"click"
,
function
(
e
){
e
.
preventDefault
(),
$
(
this
).
next
(
".c-footer__listsub"
).
slideToggle
()}),
$
(
".c-nav2"
).
removeAttr
(
"style"
)):(
$
(
".menu-icon"
).
off
(
"click"
),
$
(
".menu-icon"
).
removeClass
(
"is-active"
),
$
(
".nav-sp"
).
removeAttr
(
"style"
),
$
(
".nav-sp .c-nav-link1"
).
off
(
"click"
),
$
(
".nav-sp .c-navSP"
).
removeAttr
(
"style"
),
$
(
".c-footer__list >li > .showSp"
).
off
(
"click"
),
$
(
".c-footer__listsub"
).
removeAttr
(
"style"
))}),
$
(
".c-toTop"
).
length
){
var
scrollTrigger
=
10
,
backToTop
=
function
(){
var
e
=
$
(
window
).
scrollTop
();
e
>
scrollTrigger
?
$
(
".c-toTop"
).
fadeIn
():
$
(
".c-toTop"
).
fadeOut
()};
backToTop
(),
$
(
window
).
on
(
"scroll"
,
function
(){
backToTop
()}),
$
(
".c-toTop"
).
on
(
"click"
,
function
(
e
){
e
.
preventDefault
(),
$
(
"html,body"
).
animate
({
scrollTop
:
0
},
400
)})}
jQuery
(
document
).
ready
(
function
(){
$
(
".box-video"
).
click
(
function
(){
$
(
"iframe"
,
this
)[
0
].
src
+=
"&autoplay=1"
,
$
(
this
).
addClass
(
"open"
)})}),
$
(
function
(){
$
(
".tab"
).
click
(
function
(){
$
(
".is-active"
).
removeClass
(
"is-active"
),
$
(
this
).
addClass
(
"is-active"
),
$
(
".is-show"
).
removeClass
(
"is-show"
);
const
e
=
$
(
this
).
index
();
$
(
".tabCont"
).
eq
(
e
).
addClass
(
"is-show"
),
$
(
window
).
scroll
()})}),
$
(
function
(){
$
(
"a.btn--stop ,.reserveStop a"
).
click
(
function
(){
return
!
1
})}),
function
(
e
){
e
.
fn
.
fixMe
=
function
(){
return
this
.
each
(
function
(){
function
n
(){
o
=
t
.
clone
(),
o
.
find
(
"tbody"
).
remove
().
end
().
addClass
(
"fixed"
).
insertBefore
(
t
),
i
()}
function
i
(){
o
.
width
(
t
.
outerWidth
()),
o
.
find
(
"th"
).
each
(
function
(
o
){
e
(
this
).
css
(
"width"
,
t
.
find
(
"th"
).
eq
(
o
).
outerWidth
()
+
"px"
)})}
function
s
(){
var
n
=
e
(
this
).
scrollTop
(),
i
=
e
(
this
).
scrollLeft
(),
s
=
e
(
".header"
).
height
();
tableOffsetTop
=
t
.
offset
().
top
-
s
,
tableOffsetBottom
=
tableOffsetTop
+
t
.
height
()
-
t
.
find
(
"thead"
).
height
(),
tableOffsetLeft
=
t
.
offset
().
left
,
tableOffsetTop
>
n
||
n
>
tableOffsetBottom
?
o
.
hide
():
n
>=
tableOffsetTop
&&
tableOffsetBottom
>=
n
&&
o
.
is
(
":hidden"
)
&&
o
.
show
(),
o
.
css
({
left
:
tableOffsetLeft
-
i
+
"px"
,
top
:
s
})}
var
o
,
t
=
e
(
this
);
e
(
window
).
resize
(
i
),
e
(
window
).
scroll
(
s
),
n
()})}}(
jQuery
),
$
(
window
).
on
(
"load"
,
function
(){
screen
.
width
>
767
&&
$
(
".schedule-table"
).
fixMe
()}),
jQuery
(
window
).
load
(
function
(){
function
e
(){
$
(
"#seminar"
).
trigger
(
"click"
),
jQuery
(
"html, body"
).
animate
({
scrollTop
:
0
},
0
)}
""
!=
window
.
location
.
hash
&&
e
(
window
.
location
.
hash
.
substr
(
1
))}),
$
(
function
(){
$
(
".page-schedule .c-nav-link1, .c-footer__list li a"
).
on
(
"click"
,
function
(){
$
(
"#seminar"
).
trigger
(
"click"
)}),
$
(
".search__input"
).
submit
(
function
(
e
){
e
.
preventDefault
()})});
\ No newline at end of file
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