Browse Source

layer fixes, better labels

Odilitime 1 year ago
parent
commit
11c4b4ea79
1 changed files with 12 additions and 6 deletions
  1. 12
    6
      browser.ntrml

+ 12
- 6
browser.ntrml View File

@@ -1,19 +1,22 @@
1 1
 <body color=000000FF bgcolor=CCCCCCCC>
2
-<layer>
2
+<!-- layers are used to control what's drawn on top of what -->
3
+<layer> <!-- background layer -->
3 4
   <img name="mascot" src="anime.pnm" width=512 height=512 left=60% bottom=0>
4 5
 </layer>
5
-<layer>
6
-  <box color=888888FF top=0 height=64 left=0 right=0></box>
6
+<layer> <!-- document layer, on top of background -->
7 7
 <!--
8 8
 >what beyond the colors of the tabs would you want to change?
9 9
 - The shape of the outline
10
-- how close they stand together
10
++ how close they stand together
11 11
 - Something I've really taken a liking to in firefox is how you can disable/enable sound from tabs with the icon in it's title. So perhaps a way to customize what kind of buttons (along with their functions) a tab can have would be nice too. Of course, that's not exactly something that should be prioritized.
12 12
 -->
13 13
   <tabSelector color=000000FF hover=888888FF left=0 width=100% top=64 bottom=0>
14 14
   </tabSelector>
15 15
 </layer>
16
-<layer>
16
+<layer> <!-- above document and below control layer -->
17
+  <box color=88888888 top=0 height=64 left=0 right=0></box>
18
+</layer>
19
+<layer> <!-- control layer -->
17 20
   <box color=000000FF hover=880000FF left=32 width=32 top=16 height=32
18 21
     onClick="back">
19 22
   </box>
@@ -23,8 +26,11 @@
23 26
   <box color=000000FF hover=000088FF left=116 width=32 top=16 height=32
24 27
     onClick="refresh">
25 28
   </box>
29
+  <!-- fontSize doesn't work yet -->
26 30
   <input color=000000FF bgcolor=FFFFFFFF left=192 right=192 top=16 height=24
27 31
     onClick="address" fontSize=12>
28
-  <font top=16 height=16 right=0 width=192 src="DejaVuSerif.ttf" family="san-serif" size=12 color=000000FF bgcolor=FF0000>NetRunner</font>
32
+  <!-- family, onStatusBar and bgcolor don't work yet -->
33
+  <font top=16 height=16 right=0 width=192 src="DejaVuSerif.ttf" family="san-serif" size=12 color=000000FF bgcolor=FF0000FF>NetRunner</font>
34
+  <font bottom=0 height=16 left=0 width=192 src="DejaVuSerif.ttf" family="san-serif" size=12 color=000000FF bgcolor=FFFFFFFF onStatusBar="update">StatusBar: </font>
29 35
 </layer>
30 36
 </body>