User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: Sep 2007
Posts: 4
Reputation: sandeep.mk is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sandeep.mk sandeep.mk is offline Offline
Newbie Poster

Troubleshooting SANDEEP Answer for HoW TO DISABLE BACK BUTTON in IE.

  #1  
Sep 13th, 2007
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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2006
Posts: 58
Reputation: kaushik259106 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
kaushik259106 kaushik259106 is offline Offline
Junior Poster in Training

Re: SANDEEP Answer for HoW TO DISABLE BACK BUTTON in IE.

  #2  
Sep 13th, 2007
which is right.html buddy?
Reply With Quote  
Join Date: Jan 2007
Posts: 2,604
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 119
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: SANDEEP Answer for HoW TO DISABLE BACK BUTTON in IE.

  #3  
Sep 13th, 2007
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.
Daylight-saving time uses more gasoline
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 3:06 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC