Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 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. a > DIV {
  26. text-decoration: none;
  27. }
  28. </style>
  29. <body>
  30. <div class="container">
  31. <img class="bi x0 y0 w1 h1" alt="" src="http://s019.radikal.ru/i603/1707/11/c8f3ac298837.png" style="width: 400px;"/>
  32.  
  33.  
  34. <div id='form1' style='display: none'>
  35. <p class="text1">Дорогие читатели!</p>
  36. <p class="text2">Наши и Ваши новости - теперь на<br>сайте ближайшего проекта:<br><a href="itf-dnipro.com">itf-dnipro.com</a></p>
  37. </div>
  38.  
  39. <div id='form2' style='display: none'>
  40. <p class="text1">Dear readers!</p>
  41. <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>
  42. </div>
  43.  
  44. <div class="lang">
  45. <div id='conten'></div>
  46. <div id='conten'></div>
  47.  
  48.  
  49. <form name="form1">
  50. <a href="#" name="formbutton1" value="Главная" onclick='toggle("form1");'>RU<a>
  51. </form>
  52.  
  53. <form name="form2">
  54. <a href="#" name="formbutton2" value="Главная" onclick='toggle("form2");'>ENG<a>
  55. </form>
  56.  
  57.  
  58.  
  59.  
  60. <script type='text/javascript'>
  61. function toggle(id) {
  62. document.getElementById("conten").innerHTML = document.getElementById(id).innerHTML;
  63. }
  64. toggle("form1");
  65. </script>
  66. </div>
  67. </div>
  68. </body>
  69. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement