WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: In Over Your Archives] IOYA and Internet Explorer

[Resolved] [Plugin: In Over Your Archives] IOYA and Internet Explorer

  • “In Over Your Archives” (IOYA) is a great looking plugin for displaying your archives. Thank you very much, stresslimit, Colin Vernon en Mo Jangda. Great work!

    Using Internet Explorer the plugin IOYA however doesn’t work completely well. Having clicked the previous year the previous year is visible behind the highest year, but not active. That’s because JQuery is using opaque and IE doesn’t recognize this attribute in styles. Repair this by replacing the next code in the file in_over_your_jquery.js in the function animate_year:

    jQuery('.inoveryouryear').not($current).animate({opacity: 0}, 500, function() {
    	$current.stop().show().animate({ opacity: 1 }, 1000, function() {
    		if( typeof (callback) !== 'undefined' ) callback();
    	});
    });

    Replace this sniplet by:

    if (jQuery.browser.msie) {
    	jQuery('.inoveryouryear').not($current).css ({zIndex:99}).fadeOut (500, function () {
    		$current.stop ().show ().css ({zIndex:90}).fadeIn (1000, function (){
    			this.style.removeAttribute ('filter');
    			if (typeof (callback) !== 'undefined') callback ();
    		});
    	});
    }
    else {
    	jQuery('.inoveryouryear').not($current).animate({opacity: 0}, 500, function() {
    		$current.stop().show().animate({ opacity: 1 }, 1000, function() {
    			if( typeof (callback) !== 'undefined' ) callback();
    		});
    	});
    }

    At the end of the functions ioya_update_month and ioya_update_month (before the return-statement) you have to use the following code to restore the quality of the text of the posts (I’m using the sandbox theme, so the class of the div containing the posts is entry-content):

    if (jQuery.browser.msie) jQuery('.entry-content').style.removeAttribute ('filter');

    Thank you for this great plugin.

    Karel J.

    http://wordpress.org/extend/plugins/in-over-your-archives/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thank you for your fix! Could you please point out where to exactly place the remove filter code? Can’t figure it out… Thank you very much!

    Can you locate the file in_over_your_jquery.js? In this file you have to replace the code above (jQuery('.inoveryouryear')...) in the function animate_year by the code that follows.

    The second part of the repair is not a replacement but an add. In the function ioya_update_month you add the lastly showed sniplet of code before the return-statement.

    Did this help you?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: In Over Your Archives] IOYA and Internet Explorer’ is closed to new replies.