How to show jquery popup only in one page?

Question

i have this jquery popup but i need to show it only in the homepage. Here is the code:

$(document).ready(function(){

  $("#thover").click(function(){
        $(this).fadeOut();
    $("#tpopup").fadeOut();
    });


  $("#tclose").click(function(){
        $("#thover").fadeOut();
    $("#tpopup").fadeOut();
    });

});

Thanks in advance.

0
, Wanderson Galpao 12 months 0 Answers 105 views 0

Leave an answer