This commit is contained in:
BoHung Chiu 2021-06-15 17:52:30 +08:00
parent 20a48733bf
commit 2e11326189
4 changed files with 24 additions and 0 deletions

View File

@ -626,6 +626,12 @@ extendPanelWidget();
} else { } else {
$('.introtext').before($('.introimage')); $('.introtext').before($('.introimage'));
} }
if( $('div[data-pp="1000"]').text() !== ''){
$('.black-screen').addClass('active');
}
$('.close-btn').click(function() {
$('.black-screen').removeClass('active');
})
}); });
$(window).resize(function() { $(window).resize(function() {
if ($(window).width() < 768) { if ($(window).width() < 768) {

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,8 @@
/**
* jquery-bootstrap-scrolling-tabs
* @version v2.6.1
* @link https://github.com/mikejacobson/jquery-bootstrap-scrolling-tabs
* @author Mike Jacobson <michaeljjacobson1@gmail.com>
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
.scrtabs-tab-container *{box-sizing:border-box}.scrtabs-tab-container{height:42px}.scrtabs-tab-container .tab-content{clear:left}.scrtabs-tab-container.scrtabs-bootstrap4 .scrtabs-tabs-movable-container>.navbar-nav{-ms-flex-direction:row;flex-direction:row}.scrtabs-tabs-fixed-container{float:left;height:42px;overflow:hidden;width:100%}.scrtabs-tabs-movable-container{position:relative}.scrtabs-tabs-movable-container .tab-content{display:none}.scrtabs-tab-container.scrtabs-rtl .scrtabs-tabs-movable-container>ul.nav-tabs{padding-right:0}.scrtabs-tab-scroll-arrow{border:1px solid #ddd;border-top:none;color:#428bca;display:none;float:left;font-size:0.75rem;height:42px;margin-bottom:-1px;padding-left:2px;padding-top:13px;width:20px}.scrtabs-tab-scroll-arrow:hover{background-color:#eee}.scrtabs-tab-scroll-arrow,.scrtabs-tab-scroll-arrow .scrtabs-click-target{cursor:pointer}.scrtabs-tab-scroll-arrow.scrtabs-with-click-target{cursor:default}.scrtabs-tab-scroll-arrow.scrtabs-disable,.scrtabs-tab-scroll-arrow.scrtabs-disable .scrtabs-click-target{color:#ddd;cursor:default}.scrtabs-tab-scroll-arrow.scrtabs-disable:hover{background-color:initial}.scrtabs-tabs-fixed-container ul.nav-tabs>li{white-space:nowrap}

View File

@ -5,6 +5,7 @@
<%= stylesheet_link_tag "//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css"%> <%= stylesheet_link_tag "//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css"%>
<%= stylesheet_link_tag "bootstrap/bootstrap.min.css"%> <%= stylesheet_link_tag "bootstrap/bootstrap.min.css"%>
<%= stylesheet_link_tag "template/template"%> <%= stylesheet_link_tag "template/template"%>
<%= stylesheet_link_tag "template/jquery.scrolling-tabs.min.css"%>
<link rel="stylesheet" media="print" type="text/css" href="/assets/template/print.css"> <link rel="stylesheet" media="print" type="text/css" href="/assets/template/print.css">
<%= javascript_include_tag "plugin/modernizr.js"%> <%= javascript_include_tag "plugin/modernizr.js"%>
<%= javascript_include_tag "plugin/picturefill.min.js"%> <%= javascript_include_tag "plugin/picturefill.min.js"%>
@ -18,6 +19,7 @@
<%= javascript_include_tag "//cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/20140415/jquery.cycle2.tile.min.js"%> <%= javascript_include_tag "//cdnjs.cloudflare.com/ajax/libs/jquery.cycle2/20140415/jquery.cycle2.tile.min.js"%>
<%= javascript_include_tag "plugin/jquery.cycle2.video.min.js"%> <%= javascript_include_tag "plugin/jquery.cycle2.video.min.js"%>
<%= javascript_include_tag "plugin/jquery-bullseye-min.js"%> <%= javascript_include_tag "plugin/jquery-bullseye-min.js"%>
<%= javascript_include_tag "plugin/jquery.scrolling-tabs.min.js"%>
<%= javascript_include_tag "app"%> <%= javascript_include_tag "app"%>
<%= javascript_include_tag "#{@dataApi}" if @dataApi != nil%> <%= javascript_include_tag "#{@dataApi}" if @dataApi != nil%>
<script src="https://apis.google.com/js/platform.js" async defer></script> <script src="https://apis.google.com/js/platform.js" async defer></script>