Commit 973669b6 by o.kimura

UDページリンク修正

parent a5151857
......@@ -1003,7 +1003,7 @@ body#clean04 div#container div#contents div#main_contents div.content div.right0
font-size: 1.4rem;
line-height: 1.68;
border-radius: 20px;
box-shadow:0 2px 4px rgb(51 51 51 / 15%) !important;
box-shadow: 0 2px 4px rgb(51 51 51 / 15%) !important;
}
.font_conditioned .section .flex_wrapper div a.btn-primary {
......@@ -1015,3 +1015,13 @@ body#clean04 div#container div#contents div#main_contents div.content div.right0
position: absolute;
bottom: 0;
}
.font_conditioned .section .flex_wrapper div.video-wrapper {
width: 100% !important;
height: auto;
padding: 0!important;
}
.font_conditioned .section .flex_wrapper div.side-video {
width: auto!important;
}
\ No newline at end of file
......@@ -401,6 +401,14 @@ a:visited {
padding-top: 50px !important;
}
.pt55 {
padding-top: 55px !important;
}
.pt60 {
padding-top: 60px !important;
}
.pr00 {
padding-right: 0 !important;
}
......
......@@ -5,84 +5,95 @@ var hlength = host.length + 7;
var path = href.substr( hlength );
var pathname = window.location.pathname;
*/
$(function(){
/* toggle menu */
$('#menuLink').click(function() {
if ($('#global_nav').css('display') == 'block') {
$('#global_nav').slideUp("fast");
$('#menuLink').removeClass('active');
return false;
} else {
$('#global_nav').slideDown("fast");
$('#menuLink').addClass('active');
return false;
}
});
/* footer menu
$('#subnavi strong').click(function() {
if ($('#subnavi > div').css('display') == 'block') {
$('#subnavi > div').slideUp("fast");
$('#subnavi strong').removeClass('active');
return false;
} else {
$('#subnavi > div').slideDown("fast");
$('#subnavi strong').addClass('active');
return false;
}
});*/
$(function () {
/* toggle menu */
$('#menuLink').click(function () {
if ($('#global_nav').css('display') == 'block') {
$('#global_nav').slideUp("fast");
$('#menuLink').removeClass('active');
return false;
} else {
$('#global_nav').slideDown("fast");
$('#menuLink').addClass('active');
return false;
}
});
/* footer menu
$('#subnavi strong').click(function() {
if ($('#subnavi > div').css('display') == 'block') {
$('#subnavi > div').slideUp("fast");
$('#subnavi strong').removeClass('active');
return false;
} else {
$('#subnavi > div').slideDown("fast");
$('#subnavi strong').addClass('active');
return false;
}
});*/
var header_height = 0;
var header_height = 0;
$('.pc_site').click(function() {
header_height = 85;
$('#global_nav').slideUp("fast");
$('#menuLink').removeClass('active');
$('#subnavi > div').slideDown("fast");
$('#subnavi strong').addClass('active');
return false;
});
$('.pc_site').click(function () {
header_height = 85;
$('#global_nav').slideUp("fast");
$('#menuLink').removeClass('active');
$('#subnavi > div').slideDown("fast");
$('#subnavi strong').addClass('active');
return false;
});
/* smooth scroll */
$('a[href^=#]').click(function() {
var speed = 400;
var href= $(this).attr("href");
var target = $(href == "#" || href == "" ? 'html' : href);
var position = target.offset().top - header_height;
$('body,html').animate({scrollTop:position}, speed, 'swing');
//return false;
});
/* smooth scroll */
$('a[href^=#]').click(function () {
header_height = 85;
console.log("hit");
var speed = 400;
var href = $(this).attr("href");
var target = $(href == "#" || href == "" ? 'html' : href);
var position = target.offset().top - header_height;
$('body,html').animate({
scrollTop: position
}, speed, 'swing');
//return false;
});
/* Q&A */
$('.qa .section h4').click(function() {
if ($(this).next().css('display') == 'block') {
$(this).next().slideUp("fast");
$(this).removeClass('active');
return false;
} else {
$(this).next().slideDown("fast");
$(this).addClass('active');
return false;
}
});
/* Q&A */
$('.qa .section h4').click(function () {
if ($(this).next().css('display') == 'block') {
$(this).next().slideUp("fast");
$(this).removeClass('active');
return false;
} else {
$(this).next().slideDown("fast");
$(this).addClass('active');
return false;
}
});
});
(function() {
var cx = '002492979778199743801:oaprkry4gm4';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
'//cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
(function () {
var cx = '002492979778199743801:oaprkry4gm4';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
'//cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
// ユニバーサルアナリティクス
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-50037685-1', 'sanitary-net.com');
ga('require', 'displayfeatures');
ga('send', 'pageview');
ga('create', 'UA-50037685-1', 'sanitary-net.com');
ga('require', 'displayfeatures');
ga('send', 'pageview');
......@@ -74,8 +74,8 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
</div>
</div>
</section>
<section id="hyograph">
<div class="section">
<section id="hyograph" class="pt25">
<div class="section pt60">
<div class="content">
<div class="box">
<strong>■温水洗浄便座使用と早産の関連</strong>
......
......@@ -77,8 +77,8 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
</div>
</div>
</section>
<section id="graph">
<div class="section">
<section id="graph" class="pt25">
<div class="section pt60">
<div class="content">
<div class="box">
<strong>■温水洗浄便座の使用と痔症、泌尿生殖器感染症との関連</strong>
......
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 sign in to comment