Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. </head>
  6. <style>
  7. .text1 {
  8. font-weight: bold;
  9. font-size: 20pt;
  10. color: rgb(255,0,31);
  11. margin: 20px;
  12. }
  13. .text2 {
  14. margin: 17px;
  15. font-size: 14pt;
  16. }
  17. .container {
  18. font-family: Geneva, Arial, Helvetica, sans-serif;
  19. width: 400px;
  20. text-align: center;
  21. }
  22. a {
  23. color: black;
  24. }
  25. </style>
  26. <body>
  27. <div class="container"><img src="http://s019.radikal.ru/i603/1707/11/c8f3ac298837.png" style="width: 400px;"/>
  28. <div id='conten'></div>
  29. <div id='form1' style='display: none'>
  30. <p class="text1">Дорогие читатели!</p>
  31. <p class="text2">Наши и Ваши новости - теперь на<br>сайте ближайшего проекта:<br><a href="itf-dnipro.com">itf-dnipro.com</a></p>
  32. </div>
  33. <div id='form2' style='display: none'>
  34. <p class="text1">Dear readers!</p>
  35. <p class="text2">Our and your news - now on the site<br>of the nearest project site:<br><a href="itf-dnipro.com">itf-dnipro.com</a></p>
  36. </div>
  37. <div class="lang">
  38. <form name="form1">
  39. <a href="#" name="formbutton1" value="Главная" onclick='toggle("form1");'>RU<a>
  40.  
  41. <a href="#" name="formbutton2" value="Главная" onclick='toggle("form2");'>ENG<a>
  42. </form>
  43.  
  44.  
  45.  
  46. <script type='text/javascript'>
  47. function toggle(id) {
  48. document.getElementById("conten").innerHTML = document.getElementById(id).innerHTML;
  49. }
  50. toggle("form1");
  51. </script>
  52.  
  53. </div>
  54. </div>
  55. </body>
  56. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement