fir3net

PPS-Firenetbanner-780.5x190-30-03-17

JQuery - Hide id if Class is Visible

 In order to hide a class is a class is visable the following is used. Below will hide the div id #bannerad is the class .back is visible.

$(document).ready(function(){
    if ($('.back').is(":visible") == true)
       $( "#bannerad" ).hide();
});