PageSourceSearch

https://www.strobl-austria.at/wp-content/themes/enfold-child/assets/js/code.js?ver=6821

js strobl-austria.at collected 2026-10-06 02:40:48 UTC 2,734 bytes, 82 lines download raw bytes

1// Strobl
2
3(function( $ ) {
4
5
6
7
8
9
10
11      $("#wpforms-form-3395").attr("action","");
12      $("#wpforms-form-3395").attr("method","");
13      $("#wpforms-submit-3395").attr("type","button");
14      $("#wpforms-submit-3395").after("<div class='error'></div>");
15      $("#wpforms-form-3395 .error").hide();
16
17      $( document ).on("click","#wpforms-submit-3395",function() {
18
19        var offerid = $(".offerid").attr("data-offerid");
20        var firmidid = $(".firmid").attr("data-firmid");
21        var mailform = $("#wpforms-3395-field_1").val();
22        var nameform = $("#wpforms-3395-field_0").val()+" "+$("#wpforms-3395-field_0-last").val();
23        var message = $("#wpforms-3395-field_2").val();
24        var hascontactid = false;
25
26        var formular = "https://www.landwirt.com/gebrauchte/ajax/detailmessage.php";
27
28        if (mailform != "" && nameform != "" && message != "" ){
29          $.ajax({
30              url: formular,
31              data: "offerid="+offerid+"&firmid="+firmidid+"&land=de&mailfrom="+mailform+"&namefrom="+nameform+"&message="+message+"&hascontactid="+hascontactid,
32              type: 'POST',
33              success: function (resp) {
34                  $("#wpforms-form-3395 .error").hide();
35                  $("#wpforms-form-3395").html(resp);
36              },
37              error: function(e) {
38                  $("#wpforms-form-3395 .error").show();
39                  $("#wpforms-form-3395 .error").html("Fehler");
40              }
41          });
42        } else {
43          $("#wpforms-form-3395 .error").show();
44          $("#wpforms-form-3395 .error").html("Bitte alle Daten eintragen!");
45        }
46
47      });
48
49
50
51
52
53
54
55
56      $( "#boxgelb2 .flex_column_div" ).each(function( index ) {
57        $(this).addClass("mybox_"+index);
58      });
59
60      $(".mybox_1 .grid-loop-1").hide();
61
62      if($(".single-product").length){
63        var sku = $(".sku").html();
64        var gmmname = $(".summary h1").html();
65
66        $("#wpforms-4654-field_3").val(sku);
67        $("#wpforms-4654-field_4").val(gmmname);
68
69        $("#mytab-additional_information").appendTo(".woocommerce-product-gallery");
70          $(".summary .price").appendTo(".single-product-main-image .woocommerce-product-gallery__wrapper>a");
71          $(".summary .mwstbox").appendTo(".single-product-main-image .price");
72
73        $("#mytab-additional_information h2").html("Ausrüstung");
74        $(".single-product-main-image .thumbnails").append("<div class='clearfix'></div>");
75
76        $(".single-product .shop_columns_3").removeClass("sidebar_right").addClass("sidebar_left");
77        $(".single-product .shop_columns_3 .sidebar").removeClass("sidebar_sidebar_right").addClass("sidebar_sidebar_left detailseitenslidebar");
78      }
79
80
81
82}(jQuery));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.