Viewing 4 replies - 1 through 4 (of 4 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you link a webpage with the external link?

    Thread Starter RealitateaFaraCenzura

    (@realitateafaracenzura)

    Hi, I’m talking about. EX: advertisements. copyright footer link, opens in jQuery, I want to open normally.

    Look at http://wp-themes.com/fixy?TB_iframe=true&width=1233&height=505. Click footer copyright link iTstar,

    Sorry for my English.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    A script in the functions.js file is causing the issue. So you need to modify that file, however it must be done in a Child Theme.

    Steps required:

    1. Create a Child Theme
    2. Create a folder inside your Child Theme called “js”
    3. Copy the functions.js file from the Fixy theme and paste it into your newly created “js” folder
    4. Create a “functions.php” file in your Child Theme
    5. In the (Child Theme) functions.php file deregister the functions.js file
    6. In the (Child Theme) functions.php file register your functions.js file that is within your Child Theme “js” folder
    7. Modify your “functions.js” file from within your Child Theme “js” folder

    1. First set up a Child Theme: http://codex.wordpress.org/Child_Themes

    Theme Author Hamed Nourhani

    (@itstar)

    Hi
    delete the current code from fixy/js/functions.js file or make theme comment.


    $('a.external').click(function(event){
    event.preventDefault();
    var address= $(this).attr('href');
    $('body').prepend('<div class="body-overlay-on-image"></div>');
    $('body').append('<div class="iframe-temp-area"><iframe class="iframe-temp" src="'+ address +'"/></div>');
    $('.iframe-temp-area').windowCenter();

    $(".body-overlay-on-image").on("click",function(){
    $(".body-overlay-on-image").remove();
    $(".iframe-temp-area").remove();

    });
    });

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘disable jquery effects for Fixy theme’ is closed to new replies.