Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Ayupov A.</title>
- <script>
- function resetsrc(url,txt){
- var loc = document.location.href.split("#")[0];
- document.location.href = loc + '#' + url;
- document.title = txt; //закомментируй, если не надо менять название страницы
- }
- </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);},100);
- }
- </script>
- <frameset cols="200, *">
- <frame src="menu.html">
- <frame src="template.php" frame name="content" id="content">
- </frameset><noframes></noframes>
- </html>
- [Меню]
- <html>
- <head>
- </head>
- <body text="#990000">
- <br>
- <p><a href="history.html" target="content" onclick="top.resetsrc('history.html','История')">Ссылка</a></p>
- <br>
- <p><a href="menu.html" target="content" onclick="top.resetsrc('menu.html','Субменю')">Ссылка 2</a></p>
- <br>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement