Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #4973

    I have the Newscast theme installed and the Contact Form 7 plugin. However, I am having a problem with the visibility of a ajax-loader image being visible when it is not supposed to be.

    Here is the scenario:

    I have a form

    When the page is loaded, the ajax-loader.gif icon is visible but it is supposed to be hidden until a user clicks “Submit”.

    I have tracked down the problem to the Image preloader section of the custom.js file. It is automatically overriding all ‘visibility: hidden’ settings in other js code.

    Please take a look and let me know what I can do so the ajax-loader.gif image is hidden when it is supposed to be and visible after the “Submit” click.

    Thank you!



    try to replace following code in custom.js:

    images		= $('img', this).css({opacity:0, visibility:'visible', display:'block'}),


    images		= $('img', this).not(".ajax-loader").css({opacity:0, visibility:'visible', display:'block'}),


    Thank you so much! That was it! You, sir, are amazing.


    Glad that I could help you :)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘[Newscast theme] Image preloader visibility conflict’ is closed to new replies.