Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Index
- <html>
- <meta http-equiv="content-type" content="text/html; charset=windows1251 /">
- <head>
- <title>Ayupov A.</title>
- <script>
- function resetsrc(url){
- var loc = document.location.href.split("#")[0];
- document.location.href = loc + '#' + url;
- //document.title = loc; тут можно передать и название загруженной страницы (добавив параметр)
- }
- </script>
- </head>
- <script>
- if (document.location.href.indexOf("#") > -1) {
- var loc = document.location.href.split("#")[1];
- window.setTimeout(function(){document.getElementById("content").setAttribute("src",loc);},1000);
- }
- </script>
- <frameset rows="100, *" frameborder="0">
- <frame src="pages/top.html">
- <frameset cols="100, *">
- <frame src="pages/menu.html">
- <frame src="pages/content.html" frame name="content">
- </frameset><noframes></noframes>
- </html>
- // Menu
- <html>
- <head>
- <style>
- </style>
- <script>
- function resetsrc(url){
- var loc = document.location.href.split("#")[0];
- document.location.href = loc + '#' + url;
- //document.title = loc; тут можно передать и название загруженной страницы (добавив параметр)
- }
- </script>
- </head>
- <body text="#990000">
- <br>
- <p><a href="history.html" onclick="top.resetsrc('history.html')" target="content">История</a></p>
- <br>
- <p><a href="people.html" target="content">Люди</a></p>
- <br>
- <p><a href="cities.html" target="content">Города</a></p>
- <br>
- <p><a href="holidays.php" target="content">Праздники</a></p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement