<script src="https://www.google.com/recaptcha/enterprise.js?render=sitekey"></script>
<!-- Your code -->
<script>
function onClick(e) {
e.preventDefault();
grecaptcha.enterprise.ready(async () => {
const token = await grecaptcha.enterprise.execute('güvenlik key', {action: 'LOGIN'});
});
}
</script> Kodu Sitenin Sol Tarafına nasıl yaslarım ?
8
●120
- 24-03-2024, 21:05:37arkadaşlar aşağıdaki kodu google recapthca kodu. sitede sağ tarafta whatsapp butonu kullanıyorum. recapthca görselini de sitenin sol tarafına ekleme ve çok küçük görünmesini istiyorum. bunu nasıl yapabilirim ? yerleştirme kodu aşağıda.
- 24-03-2024, 21:15:04emir28 adlı üyeden alıntı: mesajı görüntüle
#recaptcha-container { float: left; /* Sol tarafa yerleştir */ margin-right: 10px; /* İsteğe bağlı boşluk */ transform: scale(0.8); /* Boyutu küçült */ }<div id="recaptcha-container"></div> <script src="https://www.google.com/recaptcha/enterprise.js?render=sitekey"></script> <script> function onClick(e) { e.preventDefault(); grecaptcha.enterprise.ready(async () => { const token = await grecaptcha.enterprise.execute('güvenlik key', {action: 'LOGIN'}); }); } </script>
yedek alıp denermisin bilmiyorum olacak mı ama
- 24-03-2024, 21:22:13kodu eklerken css varsa onu iletirmisin bakalım belki yapabilirizemir28 adlı üyeden alıntı: mesajı görüntüle
- 24-03-2024, 21:26:07css içersine hiç kod eklemedimNookta adlı üyeden alıntı: mesajı görüntüle
- 24-03-2024, 22:03:16softinays adlı üyeden alıntı: mesajı görüntüle
<style> .grecaptcha-badge { width: 70px !important; overflow: hidden !important; transition: all 0.3s ease !important; left: 4px !important; } .grecaptcha-badge:hover { width: 256px !important; } </style> <script src="https://www.google.com/recaptcha/enterprise.js?render=sitekey"></script> <!-- Your code --> <script> function onClick(e) { e.preventDefault(); grecaptcha.enterprise.ready(async () => { const token = await grecaptcha.enterprise.execute('güvenlik key', {action: 'LOGIN'}); }); } </script>şeklinde recapthca kodunu eklerseniz çalışıyor @softinays kardeşime teşekkür ederim ellerine sağlık.