Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 138
  • Last Modified:

Hiding menubar

Hi,

From a php file, I want to open another php file, with embedded html, in the same window
but menubar is to be hidden when this file is opened.

Maybe I should put it this way: whenever this php file is opened, the browser menubar is to be hidden.

i know that menubar can be hidden if a new window is opened. I wonder if the above can be done.

Thanks.
0
IceMountain
Asked:
IceMountain
  • 2
1 Solution
 
Richard QuadlingSenior Software DeverloperCommented:
PHP and menubars are not directly linked.

Are you opening a new window and the menubar is showing?

If so, this is a JavaScript issue.

Try

<html>
<head>
<script language="JavaScript"><!--
open("", "messageWindow", "height=200,width=200");
//--></script>
</head>
<body>
Hello.
</body>
</html>

Will open a window with no menu/scroll/anything.

If you want to remove the title then you have to use signed scripts (never done that so, not too sure).


This is from the JS1.3 help documentation from Netscape Developerment.

windowFeatures is an optional string containing a comma-separated list of options for the new window (do not include any spaces in this list). After a window is open, you cannot use JavaScript to change the windowFeatures.



Basically, you cannot hide the bar in code once it is present within the window.


Regards,

Richard Quadling.

0
 
NetminderCommented:
IceMountain,

Some of these questions have been open for some time. Please resolve them appropriately as soon as possible. Continued disregard of your open questions will result in the force/acceptance of a comment as an answer; other actions affecting your account may also be taken. I will revisit these questions in approximately seven (7) days.

http://www.experts-exchange.com/jsp/qShow.jsp?ta=apache&qid=20244080 12/05/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=dbgen&qid=20176058 08/29/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=linux&qid=20104970 04/12/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=linux&qid=20163211 08/04/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=11950339 11/22/00  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20014301 12/28/00  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20029438 01/10/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20074928 02/08/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20079924 02/19/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20122138 05/22/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20124947 05/26/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20136581 06/16/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20142793 06/28/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20144554 07/02/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20168831 08/15/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20208718 10/24/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20226597 11/04/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=php&qid=20096626 03/25/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=php&qid=20108210 04/21/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=php&qid=20184032 09/17/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=php&qid=20206133 10/23/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=php&qid=20227517 11/05/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=perl&qid=20078009 02/14/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=perl&qid=20084634 02/27/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=perl&qid=20093489 03/18/01  

Please note that an Easy question is normally considered to be worth 50 points.

Thanks,

Netminder
Community Support Moderator
Experts Exchange
0
 
NetminderCommented:
Admin notified of user neglect. Force/accepted by

Netminder
Community Support Moderator
Experts Exchange
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now