File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 12
12
< a class ="w3-bar-item w3-button " href ="https://github.com/phpvirtualbox/phpvirtualbox/issues "> Issues</ a >
13
13
< a class ="w3-bar-item w3-button " href ="about.html "> About</ a >
14
14
</ div >
15
- < div class ="w3-main " style ="margin-left:200px ">
15
+ < div class ="w3-main " style ="margin-left:200px " id =" main " >
16
16
17
- < div class ="w3-teal ">
18
- < button class ="w3-button w3-teal w3-xlarge " onclick ="w3_open() "> ☰</ button >
19
- < div class ="w3-container ">
20
- < h1 > phpVirtualBox</ h1 >
21
- </ div >
17
+ < div class ="w3-teal ">
18
+ < button id =" openNav " class ="w3-button w3-teal w3-xlarge " onclick ="w3_open() "> ☰</ button >
19
+ < div class ="w3-container ">
20
+ < h1 > phpVirtualBox</ h1 >
21
+ </ div >
22
22
</ div >
23
23
</ div >
24
24
25
25
< script >
26
26
function w3_open ( ) {
27
+ document . getElementById ( "main" ) . style . marginLeft = "25%" ;
28
+ document . getElementById ( "mySidebar" ) . style . width = "25%" ;
27
29
document . getElementById ( "mySidebar" ) . style . display = "block" ;
30
+ document . getElementById ( "openNav" ) . style . display = 'none' ;
28
31
}
29
32
function w3_close ( ) {
33
+ document . getElementById ( "main" ) . style . marginLeft = "0%" ;
30
34
document . getElementById ( "mySidebar" ) . style . display = "none" ;
35
+ document . getElementById ( "openNav" ) . style . display = "inline-block" ;
31
36
}
32
37
</ script >
33
38
</ body >
You can’t perform that action at this time.
0 commit comments