Untitled
unknown
plain_text
2 years ago
6.9 kB
1
Indexable
Never
(function() { try { function waitForElement2(selector, trigger, delayInterval, delayTimeout) { var interval = setInterval(function() { if ( document && document.querySelector(selector) && document.querySelectorAll(selector).length > 0 ) { clearInterval(interval); trigger(); } }, delayInterval); setTimeout(function() { clearInterval(interval); }, delayTimeout); } function legal_translation() { content_2 = "<div class='row'>"; content_2 += "<div class='col-xs-12 col-sm-8 col-sm-offset-2' style='text-align: center;'>"; content_2 += "<div class='row'>"; content_2 += "<div class='col-sm-6 col-xs-12'>"; content_2 += "<img src='https://thespanishgroup.org/wp-content/uploads/2023/03/logos-border_1.png' style='width:100%;'>" content_2 += "</div>"; content_2 += "<div class='col-sm-6 col-xs-12'>"; content_2 += "<img src='https://thespanishgroup.org/wp-content/uploads/2023/03/logos-border_2.png' style='width:100%;'>" content_2 += "</div>"; content_2 += "</div>"; /*content_2 += "<div class='row'>"; content_2 += "<div class='col-xs-3'>"; content_2 += "<img src='https://thespanishgroup.org/wp-content/uploads/2023/03/BBB-logo-A.png' style='width:100%;'>" content_2 += "</div>"; content_2 += "<div class='col-xs-3'>"; content_2 += "<img src='https://thespanishgroup.org/wp-content/uploads/2023/03/logos-border.png' style='width:100%;'>" content_2 += "</div>"; content_2 += "<div class='col-xs-3'>"; content_2 += "<img src='https://thespanishgroup.org/wp-content/uploads/2023/03/logos-border.png' style='width:100%;'>" content_2 += "</div>"; content_2 += "<div class='col-xs-3'>"; content_2 += "<img src='https://thespanishgroup.org/wp-content/uploads/2023/03/logos-border.png' style='width:100%;'>" content_2 += "</div>"; content_2 += "</div>";*/ content_2 += "</div>"; content_2 += "</div>"; content_1 = "<div class='row container_legaltranslation'>"; content_1 += "<div class='col-sm-6 col-xs-12'>"; content_1 += "<div class='legaltranslation_left'>"; content_1 += "Trusted Partner for Accurate and Affordable<br>" content_1 += "<span class='txt_bold'>Legal Translations</span><br>"; content_1 += "<span class='btn_newquote'><a href='https://thespanishgroup.org/translations/quotes/'>Get Free Quote ></a></span>"; content_1 += "</div>"; content_1 += "</div>"; content_1 += "<div class='col-sm-6 col-xs-12'>"; content_1 += "<div class='legaltranslation_rigth'>"; content_1 += "<div class='title_rigth'>Translate Your Document</div>"; content_1 += "<form id='form_legal_translation' action='https://www.thespanishgroup.org/billing/' method='POST' >"; content_1 += "<input name='fname' id='fname_legal' placeholder='First Name'>"; content_1 += "<input name='lname' id='lname_legal' placeholder='Last Name'>"; content_1 += "<input name='em' id='email_legal' placeholder='Email'><br>"; content_1 += "<span class='btn_started'>Get Started ></span>"; content_1 += "</form>"; content_1 += "</div>"; content_1 += "</div>"; content_1 += "</div>"; jQuery(".template_banner .container .row").hide(); jQuery(".template_banner .new-container .second-container").prepend(content_2); jQuery(".template_banner > .container").prepend(content_1); jQuery(".legaltranslation_rigth .btn_started").click(function() { document.cookie = "frm_fname=" + jQuery("#fname_legal").val() + "; path=/"; document.cookie = "frm_lname=" + jQuery("#lname_legal").val() + "; path=/"; document.cookie = "frm_email=" + jQuery("#email_legal").val() + "; path=/"; jQuery("#form_legal_translation").submit(); }); console.log(jQuery(".template_banner .new-container .second-container").length); console.log("Time 2023 20 03"); } waitForElement2(".template_banner .new-container .second-container", legal_translation, 50, 15000); } catch (e) { } })(); <style> .container_legaltranslation { padding: 120px 0; } .legaltranslation_left { max-width: 378px; margin: 30px auto; font-size: 43px; color: #fff; line-height: 1; text-shadow: 0px 0px 5px #999999; } section.template_banner { background-image: url(https://thespanishgroup.org/wp-content/uploads/2023/03/bigstock-Law-Counsel-Agreement-Contr-472506891-scaled.jpg) !important; } .legaltranslation_left span.txt_bold { font-weight: bold; display: block; font-size: 48px; } span.btn_newquote a { background: #47acad; padding: 12px 16px; display: block; width: max-content; border-radius: 5px; color: #fff; font-size: 21px; cursor: pointer; } .legaltranslation_rigth { background: #1f3d5c; max-width: 432px; margin: 0 auto; padding: 30px 60px; text-align: center; border-radius: 10px; color: #47acad; font-weight: bold; } span.btn_started { background: #47acad; padding: 10px 14px; width: max-content; border-radius: 5px; color: #fff; font-size: 20px; display: inline-block; cursor: pointer; } span.btn_newquote a:hover, span.btn_started:hover { background: #238f91; } .legaltranslation_rigth input { margin: 0 0 30px; padding: 12px; border-radius: 5px; border: 0; font-size: 19px; color: #666; width: 100%; } .title_rigth { margin-bottom: 50px; line-height: 1.1; font-size: 35px; } @media (max-width: 782px) { section.template_banner { background-position-x: 33%; } } </style>