•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 456,485 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,791 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 2188 | Replies: 2
![]() |
•
•
Join Date: Sep 2007
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
here i have implemented using frames.
main a1.html
<script language=JavaScript>
window.history.go(1);
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Page 1</title>
</head>
<body>
<a target="_self" href="index.html" >Click
</a>
</body>
</html>
the next index.html
<html>
<head>
<title>New Page 1</title>
</head>
<frameset rows="64,*">
<frame name="banner" scrolling="no" noresize target="contents" src="top.html">
<frameset cols="150,*">
<frame name="contents" target="main" src="left.html">
<frame name="main" src="right.html">
</frameset>
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
3 frames pages.
top.html
<script>
function Sandeep(what)
{
if(what)
{
//do the actual operation
}
else{
window.history.forward(0);
}
}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>INDEX PAGE</title>
<base target="contents">
</head>
<body onunload=Sandeep(false)>
</body>
</html>
left.html
<script>
function Sandeep(what)
{
if(what)
{
//do the actual operation
}
else{
window.history.forward(0);
}
}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 2</title>
<base target="main">
</head>
<body onunload=Sandeep(false)>
</body>
</html>
<script>
function Sandeep(what)
{
if(what)
{
//do the actual operation
}
else{
window.history.forward(0);
}
}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 3</title>
</head>
<body onunload=Sandeep(false)>
</body>
</html>
save all in one folder and RUn. a1.html REMEMBER U HAVE TO ENABLE ACTIONSCRIPT/SCRIPTS in Browse.
then click on CLICK and try .
SANDEEP FROM BANGLORE.
main a1.html
<script language=JavaScript>
window.history.go(1);
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Page 1</title>
</head>
<body>
<a target="_self" href="index.html" >Click
</a>
</body>
</html>
the next index.html
<html>
<head>
<title>New Page 1</title>
</head>
<frameset rows="64,*">
<frame name="banner" scrolling="no" noresize target="contents" src="top.html">
<frameset cols="150,*">
<frame name="contents" target="main" src="left.html">
<frame name="main" src="right.html">
</frameset>
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support them.</p>
</body>
</noframes>
</frameset>
</html>
3 frames pages.
top.html
<script>
function Sandeep(what)
{
if(what)
{
//do the actual operation
}
else{
window.history.forward(0);
}
}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>INDEX PAGE</title>
<base target="contents">
</head>
<body onunload=Sandeep(false)>
</body>
</html>
left.html
<script>
function Sandeep(what)
{
if(what)
{
//do the actual operation
}
else{
window.history.forward(0);
}
}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 2</title>
<base target="main">
</head>
<body onunload=Sandeep(false)>
</body>
</html>
<script>
function Sandeep(what)
{
if(what)
{
//do the actual operation
}
else{
window.history.forward(0);
}
}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 3</title>
</head>
<body onunload=Sandeep(false)>
</body>
</html>
save all in one folder and RUn. a1.html REMEMBER U HAVE TO ENABLE ACTIONSCRIPT/SCRIPTS in Browse.
then click on CLICK and try .
SANDEEP FROM BANGLORE.
I absolutely HATE it when programmers use tricky programming to keep me from leaving their pages.
The way I browse is to Google what I am looking for, then check out each page on the list in turn. When someone keeps me from using my back button, then I lose the rest of my search.
The way I browse is to Google what I am looking for, then check out each page on the list in turn. When someone keeps me from using my back button, then I lose the rest of my search.
Daylight-saving time uses more gasoline
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- How to disable back button and backspace using Javascript..? (JavaScript / DHTML / AJAX)
- How to disable Back button of IE when executing welcome.aspx page? (ASP.NET)
- Back button problem with $Sessions and GET (PHP)
- Disable the Shut Down Button on the Welcome Screen (Windows tips 'n' tweaks)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: how to enable and disable the button when page refreshing . NOTE: refreshing is must
- Next Thread: Cannot get all tools to work on retrofitted site.



Linear Mode