Disable address bar, back and next buttons of IE browser.

Hello,

 I have created a web site for examiniation,
 When a user click on start exam, a new window opens using window.open method ( no address  bar, back buttons etc.)  but many users has popup window disabled on their machines so they unable to appear for exam.

 Now to overcome this, I have opened  exam screen using response.Redirect method, but this new IE window opens with  back button, next button and address bar.

 My problem is how to disable this address bar, back button and next button.

 If any one having suggestions for this problem, please help us, it is urgent.

 Thanks & Regards,
 dAshish.
 
dashishAsked:
Who is Participating?
 
cLFlaVACommented:
The only way to remove address bars, menus, scrollbars, etc. is by using the window.open() event, and even that is not 100% foolproof, as you will likely run into some trouble wint Win XP SP 2.  Your best bet is to display a message to users telling them to disable popup blockers while they take your test.
0
 
justinbilligCommented:
<!-- No Points -->

cLFlaVA is right.

You can never fully remove the options for the use to go back and stuff. You can open your window in fullscreen ( fullscreen=yes ), but that is IE only and users can still go back.

You can use window.showModalDialog( ) to open a new window and this will open a window that the user must interact with.

clFlava i have a question. Does SP2 block all popups or just unrequested ones?
0
 
cLFlaVACommented:
lol, cute jb :)

I'm not sure, my employer has refused to allow us to install SP2 until they're done with our own in-house usability testing.  I believe their popup blocking is simlar to FireFox's : unrequested popups.

I may be wrong though.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
mrielfCommented:
I think hidding BACK button isn't full solution, because backspace works even if back button isn't displayed.

If you want totaly secure application then you must write your own java Client/Server application (or something similar)
0
 
cLFlaVACommented:
yeah, along with BACK button, you'd need to disable right click > back, Ctrl + left arrow, the menu bar (Go > Back), special mouse buttons, etc.
0
 
StormyWatersCommented:
Also mouse gestures in Mozilla browsers, etc.
0
 
GwynforWebCommented:
Use a Modeless dialog

<script>
  var win = window.showModelessDialog("modalExam.htm",null,"dialogWidth=700px;dialogHeight=600px")
</script>

then in the page modalExam.htm have

<iframe src='Exam1.htm' height=100% width=100%></iframe>

which is an iframe containing the first page Exam1.htm of the exam. The iframe allows you to navigate to the other exam pages.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.