Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- var blogId = '8694494030520005341';// angka ini harus diganti.
- //The below message 5 Strings can also be edited
- var contactFormMessageSendingMsg ='Mengirimkan pesan...';
- var contactFormMessageSentMsg = 'Pesan anda sudah berhasil terkirim.';
- var contactFormMessageNotSentMsg = 'Pesan tidak dapat dikirim. Mohon dicoba beberapa saat lagi.';
- var contactFormEmptyMessageMsg ='Pesan tidak boleh kosong.';
- var contactFormInvalidEmailMsg = 'Alamat email harus diisikan.'
- var widgetLoaded=false;
- function sendEmailMsg() {
- if(widgetLoaded== false) {
- _WidgetManager._RegisterWidget('_ContactFormView', new _WidgetInfo('ContactForm1', 'sidebar', null, document.getElementById('ContactForm1'), {'contactFormMessageSendingMsg': contactFormMessageSendingMsg , 'contactFormMessageSentMsg': contactFormMessageSentMsg , 'contactFormMessageNotSentMsg': contactFormMessageNotSentMsg , 'contactFormInvalidEmailMsg': contactFormInvalidEmailMsg , 'contactFormEmptyMessageMsg': contactFormEmptyMessageMsg , 'title': 'Contact Form', 'blogId': blogId, 'contactFormNameMsg': 'Name', 'contactFormEmailMsg': 'Email', 'contactFormMessageMsg': 'Message', 'contactFormSendMsg': 'Send', 'submitUrl': 'https://www.blogger.com/contact-form.do'}, 'displayModeFull'));
- widgetLoaded=true;
- document.getElementById('ContactForm1_contact-form-submit').click();
- }
- return true;
- }
- </script>
- <form name='contact-form'>
- <div>Nama Anda : </div>
- <input class='contact-form-name' id='ContactForm1_contact-form-name' name='name' size='30' type='text' value=''/>
- <div>Alamat Email: <em>(required)</em></div>
- <input class='contact-form-email' id='ContactForm1_contact-form-email' name='email' size='30' type='text' value=''/>
- <div>Isi Pertanyaan: <em>(required)</em></div>
- <textarea class='contact-form-email-message' id='ContactForm1_contact-form-email-message' name='email-message' rows='5'></textarea>
- <p></p>
- <input class='contact-form-button contact-form-button-submit' id='ContactForm1_contact-form-submit' type='button' value='Send' onclick="sendEmailMsg()"/>
- <div style='text-align: center; max-width: 450px; width: 100%'>
- <p class='contact-form-error-message' id='ContactForm1_contact-form-error-message'></p>
- <p class='contact-form-success-message' id='ContactForm1_contact-form-success-message'></p>
- </div>
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement