The toolbar is hidden when the page jumps.
When two pages are redirected, if the toolbar of the two pages is hidden.
Code:
-(Void) viewDidLoad {[super viewDidLoad]; // Do any additional setup after loading the view. self. title = @ "Hide toolbar when page calling"; // hide toolbar [self. tabBarController setHidesBottomBarWhenPushed: YES];}
There are two buttons A and B on the web page. Click A and B to jump to the same page, and the button will show hidden issues.
In this case, is it okay to have a page? Why do we need to jump to the page?
In addition, the buttons on both pages share the same functions. Can they be put together?
When the servlet jumps to a new page (passing parameters), how can I make the toolbar not displayed when the onload of the new page?
Parameter passing cannot be implemented. Try to output javascript code in servlet to implement it,
Parameters can be passed with get, such as showmsg. jsp? Errmsg = 1
<SCRIPT>
<! --
Window. open ('showmsg. jsp? Errmsg = 1', 'newwindow', 'height = 100, width = 400, top = 0, left = 0, toolbar = no, menubar = no, scrollbars = no, resizable = no, location = no, status = no ')
// Write a row
-->
</SCRIPT>
Parameter description:
Window. open command to pop up a new window;
'Page.html 'name of the pop-up window;
'Newwindow' indicates the name of the pop-up window (not the file name). It is optional and can be replaced by null;
Height = 100 window height;
Width = 400 window width;
Top = the pixel value between the 0 window and the top of the screen;
Left = 0 the pixel value between the window and the left of the screen;
Toolbar = no indicates whether to display the toolbar. yes indicates display;
Menubar and scrollbars indicate the menu bar and scroll bar.
Resizable = no: whether to change the window size. yes: yes;
Location = no indicates whether the address bar is displayed. yes indicates yes;
Status = no whether to display the information in the status bar (usually the file has been opened), yes is allowed;