|
Subject:
|
how to hide IE's addressbar, toolbar and menubar?
|
|
Posted By:
|
MTLedari
|
Post Date:
|
12/11/2006 4:32:11 AM
|
hi all. i have an aspx page and want when client opens it, address bar, menu bar, statusbar and toolbar of the client's browser become hidden and also i want to be able to set the size of browser. please help me.
|
|
Reply By:
|
SamuelP
|
Reply Date:
|
3/29/2007 8:56:45 AM
|
Hi
Has anyone resolved this as I am interested in doing the same
<SamP>
|
|
Reply By:
|
dparsons
|
Reply Date:
|
3/29/2007 9:00:58 AM
|
Hiding the toolbars can not be done server side; you will need some sort of ActiveX control that will hide these elements.
Setting the size of the browser window can be done through Javascript.
=========================================================== Read this if you want to know how to get a correct reply for your question: http://www.catb.org/~esr/faqs/smart-questions.html ^^Took that from planoie's profile^^ ^^Modified text taken from gbianchi profile^^ =========================================================== Technical Editor for: Professional Search Engine Optimization with ASP.NET http://www.wiley.com/WileyCDA/WileyTitle/productCd-0470131470.html =========================================================== Why can't Programmers, program?? http://www.codinghorror.com/blog/archives/000781.html ===========================================================
|
|
Reply By:
|
loworth
|
Reply Date:
|
4/9/2007 11:34:36 PM
|
JavaScript
<script language=javascript> function openpage(htmlurl) { var newwin=window.open(htmlurl,"newWin","toolbar=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,resizable=yes,top=100,left=200,width=650,height=300"); newwin.focus(); return false; } </script>
|
|
Reply By:
|
akhilhp
|
Reply Date:
|
4/10/2007 12:48:42 AM
|
Good One... It has worked..
|
|
Reply By:
|
deb1980
|
Reply Date:
|
4/12/2007 6:32:31 AM
|
Hi,
Will any popup blocker block the above code?
--- Best regards,
Debashis
|
|
Reply By:
|
planoie
|
Reply Date:
|
4/12/2007 9:02:04 AM
|
I have found that code like that gets blocked by popup blockers if it's executed automatically/immediately. For example if it's called by the body.onLoad event. However, when called "manually" by a user click event, it may not get blocked. You'll have to experiment to see for sure, and different blockers will likely work differently.
-Peter
|