1/* ============================================ 2 "Senden Sie uns eine WhatsApp Nachricht" 3 (c)10/2022 fluSoft GbR, [email protected] 4 ============================================ 5*/ 6 7function wa_auf_zu(){ 8 if (document.getElementById("wa_form").style.display == 'block'){ 9 document.getElementById("wa_form").style.display = 'none'; 10 document.getElementById("wa_button").style.display = 'block'; 11 } else { 12 document.getElementById("wa_form").style.display = 'block'; 13 document.getElementById("wa_lnk").title.value = 'Formular schliessen'; 14 document.getElementById("wa_button").style.display = 'none'; 15 document.getElementById("wa_msg").focus(); 16 } 17} 18function send_whatsapp(){ 19 let phone = '4917641734104'; 20 let msg= document.getElementById("wa_msg").value; 21 let encode_msg = encodeURI(msg); 22 let url = "https://api.whatsapp.com/send?phone="+phone+"&text="; 23 var win = window.open(url+encode_msg, '_blank'); 24 wa_auf_zu(); 25} 26 document.write("<style><!-- .button{border:2px solid gray;border-radius:6px;color:white;padding:15px 32px;width:200px;text-align:center;text-decoration:none;display: inline-block;"+ 27 "font-size:16px;margin:0;background-color:#333;cursor:pointer;}"+ 28 ".button:hover{background-color:#ccc;color:black;border-color:black;} //--></style>"+ 29 "<div align=center><div align=center style='width:200px;text-align:center;'>"+ 30 "<a href='javascript:wa_auf_zu();' title='Senden Sie uns eine WhatsApp-Nachricht'>"+ 31 "<img src='https://www.bhvd.de/bilder/symbol_whatsapp.png' title='Senden Sie uns eine WhatsApp-Nachricht' "+ 32 "width='200px' alt='WhatsApp-Symbol' border=0 /></a>"+ 33 "<button id='wa_button' class='button' onclick='javascript:wa_auf_zu();' title='Senden Sie uns eine WhatsApp Nachricht'>WhatsApp senden</button>"+ 34 "<div id=wa_form style='display:none;align=center;'>"+ 35 "<form accept-charset='UTF-8'>"+ 36 "<textarea id='wa_msg' name='wa_text' rows=5 cols=20 style='width:200px;font-size:16px;' title='Bitte tragen Sie hier Ihre Nachricht ein.'></textarea><br>"+ 37 "<button class='button' onclick='javascript:send_whatsapp();' title='Zum Senden hier klicken'>senden »</button>"+ 38 "</form></div></div></div>");
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.