From 31527ea2207a915c2ae814f1a46ee87a195f1394 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 13 Jul 2011 18:57:06 +0000 Subject: [PATCH] Arreglado problema con opacidad en IE7 git-svn-id: https://192.168.0.254/svn/Proyectos.OriginalHouse_Web/trunk@32 54e8636e-a86c-764f-903d-b964358a1ae2 --- .../tubepress/sys/ui/themes/default/style.css | 4 + .../themes/originalhouse/custom.css | 4 + .../originalhouse/includes/js/general.js | 81 ------------------- 3 files changed, 8 insertions(+), 81 deletions(-) diff --git a/src/wp-content/plugins/tubepress/sys/ui/themes/default/style.css b/src/wp-content/plugins/tubepress/sys/ui/themes/default/style.css index 3c0e86b..4364b79 100644 --- a/src/wp-content/plugins/tubepress/sys/ui/themes/default/style.css +++ b/src/wp-content/plugins/tubepress/sys/ui/themes/default/style.css @@ -40,6 +40,8 @@ margin: 0 auto ! important; -ms-interpolation-mode: bicubic; opacity: 0.5; + filter: alpha(opacity=50); + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; } .tubepress_thumb a { @@ -48,6 +50,8 @@ .tubepress_thumb a:hover img { opacity: 1; + filter: alpha(opacity=100); + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; } .tubepress_meta_group { diff --git a/src/wp-content/themes/originalhouse/custom.css b/src/wp-content/themes/originalhouse/custom.css index 2ea766f..432bfea 100644 --- a/src/wp-content/themes/originalhouse/custom.css +++ b/src/wp-content/themes/originalhouse/custom.css @@ -88,6 +88,8 @@ box-shadow:none; display: hidden; opacity: 0.5; + filter: alpha(opacity=50); + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; } .tcp_product_thumb a:hover, .post a:hover { @@ -96,6 +98,8 @@ .tcp_product_thumb a:hover img, .post a:hover img { opacity: 1; + filter: alpha(opacity=100); + -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; } diff --git a/src/wp-content/themes/originalhouse/includes/js/general.js b/src/wp-content/themes/originalhouse/includes/js/general.js index d2fe5a6..d7dabdd 100644 --- a/src/wp-content/themes/originalhouse/includes/js/general.js +++ b/src/wp-content/themes/originalhouse/includes/js/general.js @@ -1,24 +1,5 @@ /*------------------------------------------------------------------------------------- -FILE INFORMATION - -Description: JavaScript on the "Saving Grace" WooTheme. -Date Created: 2011-04-07. -Author: Tiago and Matty. -Since: 1.0.0 - - -TABLE OF CONTENTS - -- Toggle Donations Popup on Donation Meter -- Featured Slider Setup (jCarouselLite) -- Add alt-row styling to tables. -- Superfish navigation dropdown. -- Detect and adjust the heights of the main columns to match. -- Tougle Search Form - -- function clearText() - Clear Comment Form. - -------------------------------------------------------------------------------------*/ jQuery(document).ready(function() { @@ -34,68 +15,6 @@ jQuery(document).ready(function() { jQuery( '.tubepress_thumb a img' ).fadeIn("slow"); } -/*-----------------------------------------------------------------------------------*/ -/* Featured Slider Setup (jCarouselLite) */ -/*-----------------------------------------------------------------------------------*/ - - if ( jQuery( '.slides' ).length ) { - - var totalSlides = 0; - totalSlides = jQuery( 'input[name="woo-true-slide-count"]' ).val(); - totalSlides = parseInt( totalSlides ); - - jQuery( 'input[name="woo-true-slide-count"]' ).remove(); - - if ( woo_jcarousel_settings.auto > 0 ) { - woo_jcarousel_settings.auto = parseInt( woo_jcarousel_settings.auto ); - } else { - woo_jcarousel_settings.auto = null; - } - - woo_jcarousel_settings.speed = parseInt( woo_jcarousel_settings.speed ); - - jQuery('#scrolling-images.slides').jCarouselLite({ - - circular: true, - auto: woo_jcarousel_settings.auto, - speed: woo_jcarousel_settings.speed, - visible: totalSlides, // This cannot be greater than the number of slides available. - btnNext: '.btn-next', - btnPrev: '.btn-previous', - scroll: 1, - vertical: false - - }); - - jQuery('#slides.slides').jCarouselLite({ - - circular: true, - auto: woo_jcarousel_settings.auto, - speed: woo_jcarousel_settings.speed, - visible: 1, - btnNext: '.btn-next', - btnPrev: '.btn-previous', - scroll: 1, - start: 1, - beforeStart: function( e ) { - jQuery( e ).parent().fadeTo( 'fast', 0); - }, - afterEnd: function( e ) { - jQuery( e ).parent().fadeTo( 'slow', 1); - - /* - , function () { - if ( jQuery( e ).prev().hasClass( 'slide-number-1' ) ) { - jQuery( '#scolling-images.slides .slide-number-1, #slides.slides .slide-number-1' ).remove(); - } - } - */ - } - - }); - - } // End IF Statement - /*-----------------------------------------------------------------------------------*/ /* Superfish navigation dropdown. */