Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to disable the rfresh button in IE browser

Status
Not open for further replies.

yogi564

Programmer
Oct 16, 2001
48
AU
hi all

Is there a way to disable the refresh button in IE browser for certain pages of the application. If so can somebody help me out? I mean the main window not the child window. Thank's
 
I don't think so. ===
Supports Mozilla and Web Standards
Knows HTML/XHTML, CSS1, JavaScript, PHP, C++, DOM1
===
 
Try something involving onbeforeunload event handler [ie5]

[bb]
 
hi activeX

How do I code this "onbeforeunload" code into the page, I need the refresh button to be disable. Can you provide me with the code.Thank's
From
Yogi
 
Was just an idea, on investigation I don't think you can - since to do that you need to find out the URL for the page to be loaded next - which I thought may be obtainable [for comparison] from history, but it seems not.

The history list is security protected - so we cannot even compare the URLs -like to see if the next, or revious one i the lsit is the same - since this would enable explicit rendering of it - which I guess is a no no.

[bb]
 
thank's . I don't know why the IE people don't give us that option to turn off the certain buttons where it is not necessary. That's all
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top