diff --git a/assets/stylesheets/template/template.scss b/assets/stylesheets/template/template.scss index dd159dc..6fb07dd 100644 --- a/assets/stylesheets/template/template.scss +++ b/assets/stylesheets/template/template.scss @@ -22,7 +22,14 @@ //RWD @import "RWD"; +.navFixed .modules-menu .modules-menu-level-0 > li:focus-within .modules-menu-level-1, .navRel .modules-menu .modules-menu-level-0 > li:focus-within .modules-menu-level-1{ + visibility: visible; + max-height: 65%; + opacity: 1; + border-radius: 0.5em; + padding: 1em 5% 3em; +} div.extra-box:empty { display: none; } @@ -186,4 +193,4 @@ h3.page-module-title { .title-wraper{ width: 100%; order: 1; -} \ No newline at end of file +} diff --git a/modules/ad_banner/_ad_banner_widget0.html .erb b/modules/ad_banner/_ad_banner_widget0.html .erb deleted file mode 100644 index f32e209..0000000 --- a/modules/ad_banner/_ad_banner_widget0.html .erb +++ /dev/null @@ -1,69 +0,0 @@ -
-
-
- - - - -
-
-
- - - -
- - diff --git a/modules/ad_banner/_ad_banner_widget6.html .erb b/modules/ad_banner/_ad_banner_widget6.html .erb deleted file mode 100644 index 8b07aee..0000000 --- a/modules/ad_banner/_ad_banner_widget6.html .erb +++ /dev/null @@ -1,70 +0,0 @@ -
-
-
- - - - -
-
-
- - - -
-
- - diff --git a/modules/ad_banner/_ad_banner_widget6.html.erb b/modules/ad_banner/_ad_banner_widget6.html.erb index 6b9ce7d..d585f77 100644 --- a/modules/ad_banner/_ad_banner_widget6.html.erb +++ b/modules/ad_banner/_ad_banner_widget6.html.erb @@ -19,7 +19,7 @@ data-link="{{link}}" data-cycle-title="{{title}}" data-cycle-desc="{{context}}" - data-overlay-template="

{{title}}

{{desc}}

" + data-overlay-template="

{{title}}

{{desc}}

" data-target="{{target}}" > diff --git a/modules/announcement/_annc_widget15.html.erb b/modules/announcement/_annc_widget15.html.erb index f6ab3de..01c1a98 100644 --- a/modules/announcement/_annc_widget15.html.erb +++ b/modules/announcement/_annc_widget15.html.erb @@ -128,7 +128,7 @@ num=1; } var flag=false; - $('.btn-left').click(function(){ + $('[data-subpart-id=\"{{subpart-id}}\"] .btn-left').click(function(){ if(!flag){ var uls = $('[data-subpart-id=\"{{subpart-id}}\"] ul.w-annc__list:not(.hidden_item)').toArray(); var ul_length = uls.length; @@ -147,7 +147,7 @@ $('[data-subpart-id=\"{{subpart-id}}\"] ul.w-annc__list.active').eq(0).effect("slide", { direction: "left", mode: 'show', duration: 500},function(){$("body").css("overflow-x","");flag=false;}); }; }); - $('.btn-right').click(function(){ + $('[data-subpart-id=\"{{subpart-id}}\"] .btn-right').click(function(){ var lilength = $('[data-subpart-id=\"{{subpart-id}}\"] li.w-annc__item').length; if(!flag){ var uls = $('[data-subpart-id=\"{{subpart-id}}\"] ul.w-annc__list:not(.hidden_item)').toArray(); diff --git a/modules/text_marquee/_widget.html.erb b/modules/text_marquee/_widget.html.erb index e001a7d..f4ca0fd 100644 --- a/modules/text_marquee/_widget.html.erb +++ b/modules/text_marquee/_widget.html.erb @@ -3,35 +3,29 @@
  • {{content}}
  • - + - - - - - diff --git a/modules/text_marquee/info.json b/modules/text_marquee/info.json index 40b4be6..dc4f6df 100644 --- a/modules/text_marquee/info.json +++ b/modules/text_marquee/info.json @@ -1,12 +1,12 @@ -{ - "widgets" : [ - { - "filename" : "widget", - "name" : { - "zh_tw" : "跑馬燈", - "en" : "marquee" - }, - "thumbnail" : "thumb.png" - } - ] +{ + "widgets" : [ + { + "filename" : "widget", + "name" : { + "zh_tw" : "跑馬燈", + "en" : "marquee" + }, + "thumbnail" : "thumb.png" + } + ] } \ No newline at end of file diff --git a/partial/_head.html.erb b/partial/_head.html.erb index e13d0c7..8cc863d 100644 --- a/partial/_head.html.erb +++ b/partial/_head.html.erb @@ -12,7 +12,7 @@ <%= javascript_include_tag "plugin/picturefill.min.js"%> <%= javascript_include_tag "plugin/jquery.mobile.custom.min.js"%> <%= javascript_include_tag "bootstrap.min"%> - <%= javascript_include_tag "bootstrap.min"%> + <%= javascript_include_tag "plugin/jquery.cycle2.video.min.js"%> <%= javascript_include_tag "plugin/jquery-bullseye-min.js"%>