Skip to content

Instantly share code, notes, and snippets.

@makshark
Created September 6, 2015 11:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save makshark/e598ecd69ad37221f8d5 to your computer and use it in GitHub Desktop.
Save makshark/e598ecd69ad37221f8d5 to your computer and use it in GitHub Desktop.
<div class="modalbox" id="modalbox">
<div class="close"><p>X</p></div>
<h2 style="text-align: center;">Заказ звонка</h2>
<form id="myform">
<input type="text" class="youname" name="name" placeholder="Ваше имя" onblur="if (this.placeholder=='') this.placeholder='Ваше имя';" onfocus="if (this.placeholder=='Ваше имя') this.placeholder='';">
<input class="youphone" name="phone" placeholder="Ваш телефон" onblur="if (this.placeholder=='') this.placeholder='Ваш телефон';" onfocus="if (this.placeholder=='Ваш телефон') this.placeholder='';">
<input type="email" class="youname" name="email" placeholder="Ваш email" onblur="if (this.placeholder=='') this.placeholder='Ваш email';" onfocus="if (this.placeholder=='Ваш email') this.placeholder='';">
<input type="submit" value="ОТПРАВИТЬ">
</form>
<div id="thankyou"><p>Спасибо, мы перезвоним</p></div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment