HEX
Server: Apache
System: Linux p3plzcpnl507593.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: vgijpbeijziw (6090429)
PHP: 8.3.24
Disabled: NONE
Upload Files
File: /home/vgijpbeijziw/public_html/js/custom.js
$( document ).ready(function() {
  $('.owl-carousel').owlCarousel({
    loop:true,
    margin:10,
    nav:true,
    responsive:{
     0:{
            items:1
        },
        600:{
            items:2
        },
        1000:{
            items:1
        }
    }
    })




  $("#contact-form").RSV({

    onCompleteHandler: myOnComplete,

    displayType: "display-html",

    errorFieldClass: "errorField",    

                rules: [

            "required,name,Please enter the Name.",

            "required,phoneno,Please enter your Phone No.",

                        "required,email,Please enter your email address.",

                        "valid_email,email,Please enter a valid email address.",

                ]

  }); 



  function myOnComplete()

  {

    var str = $("#contact-form").serialize();

    $("#rsvErrors").fadeIn(1500, function() {

          $(this).html("<p><img  src='images/ajax-loader.png' /></p>");

        });

  

  

  $.ajax({

      type: "POST",

      url: "process-contact.php",

      data: str,

      success: function(msg) {



        $("#rsvErrors").html("<p class='success'>Contact Form Submitted!</p>")

        .append("<p class='success'>We will be in touch soon.</p>")

        .hide()

        .fadeIn(1500, function() {

      clearForm($("#contact-form"));

      //resetForm($("#contact-form"))

        });

      }

     });

  

  

    return false;

  }


  $("#newsletter-form").RSV({

    onCompleteHandler: myOnComplete,

    displayType: "display-html",

    errorFieldClass: "errorField",

    errorTargetElementId: "rsvErrors1",   

                rules: [

                        "required,email,Please enter your email address.",

                        "valid_email,email,Please enter a valid email address.",

                ]

  }); 



  function myOnComplete()

  {

    var str = $("#newsletter-form").serialize();

    $("#rsvErrors1").fadeIn(1500, function() {

          $(this).html("<p><img  src='images/ajax-loader.png' /></p>");

        });

  

  

  $.ajax({

      type: "POST",

      url: "process-newsletter.php",

      data: str,

      success: function(msg) {



        $("#rsvErrors1").html("<p class='success'>Contact Form Submitted!</p>")

        .append("<p class='success'>We will be in touch soon.</p>")

        .hide()

        .fadeIn(1500, function() {

      clearForm($("#newsletter-form"));

      //resetForm($("#contact-form"))

        });

      }

     });

  

  

    return false;

  }
  $( ".img-container" ).hover(function(){
    $('.hover-content').hide();
    $($(this).data('target')).show();
  });


  $( ".six-workshop .img-container").eq(0).trigger('mouseenter');







});