Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Enej Bajgorić

    (@enej)

    There is no easy way to add the effect you would need to deregister the current tabs shortcode js and add your own in its place.
    wp_deregister_script( ‘tab-shortcode’ );

    Hope that answers your question.

    Thread Starter JAVOB

    (@javob)

    ok, but what should I put code and where exactly?
    Thanks in advance.

    Thread Starter JAVOB

    (@javob)

    Hi I have made the following changes to this file

    tabs-shortcode/tab.js

    jQuery(document).ready(function($) {
    
    	$.each(tabs_shortcode, function(id, attr) {
    		$("#" + id).tabs( attr );
    		//Added
    		$("#" + id ).tabs({
    			activate: function( event, ui ) {
    				ui.newPanel.hide().fadeIn(800);
    			}
    		});
    	});
    	if ( location.hash ) {
    		$('a[href="'+location.hash+'"]').trigger('click');
    	}
    });
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Effects transitions’ is closed to new replies.