Adding video tab, removing copyright disclaimer
authorLaury GvR <laury@gaslightmedia.com>
Tue, 29 Mar 2016 18:29:00 +0000 (14:29 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 29 Mar 2016 18:29:00 +0000 (14:29 -0400)
css/app.css
js/app.js
js/custom/pageSetup.js
scss/plugins/_woocommerce.scss
woocommerce.php

index bbf7078..1b2961e 100644 (file)
@@ -7067,6 +7067,8 @@ main {
       border-radius: 2px; }
     .woocommerce .main.woo-single-product #content .type-product .images #wpb_wiz_img_id {
       height: 180px; }
+    .woocommerce .main.woo-single-product #content .type-product .images .wp-post-image {
+      height: 180px; }
   .woocommerce .main.woo-single-product #content .type-product .summary.entry-summary {
     width: 60%; }
   .woocommerce .main.woo-single-product #content .thumbnails > a {
index 1481ce2..9515fef 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -30,4 +30,4 @@ $(document).ready(function () {
         //console.log('ul = ' + menuImg);
         //console.log('menu-id = ' + menuNum);
     });
-});
+});
\ No newline at end of file
index 7b76e81..f13d991 100644 (file)
@@ -21,4 +21,4 @@ $(document).ready(function () {
         //console.log('ul = ' + menuImg);
         //console.log('menu-id = ' + menuNum);
     });
-});
+});
\ No newline at end of file
index 8a2d914..75f2853 100644 (file)
                 #wpb_wiz_img_id {
                     height: 180px;
                 }
+                .wp-post-image {
+                    height: 180px;
+                }
+                
             }
             .summary.entry-summary {
                 width: 60%;
index b568ca8..61467bc 100644 (file)
             <?php } ?>
         </div>
     </div>
+    <div id="wooImageHoverContainer">
+        <img>
+    </div>
 <?php get_footer(); ?>
 <script>
     
+$(document).ready(function () {
+        $("#tab-html5_video p").remove();
+        var mainImage = $(".attachment-shop_single.size-shop_single.wp-post-image");
+        var thumbImage =  $(".attachment-shop_thumbnail.size-shop_thumbnail");
+        
+        $(thumbImage).mouseover(function(){
+            $(mainImage).attr("srcset", $(this).attr("src"));
+        });
+
+        // Thumbnail undisplay
+        $(thumbImage).mouseout(function(){
+            $(mainImage).attr("srcset", $(mainImage).attr("src"));
+        });
+        
+});
 </script>
\ No newline at end of file