earlybrowserreborn - Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 roytam 1 \name {res.HTMLStyle}
2 \class {generic}
3 \parent {}
4 \script {
5 send("SGML_vobjf", "init");
6 /*
7 send("SGML_vobjf", 'D');
8 print("1000 % 7=", 1000 % 7, "...............\n");
9  
10 print("=Hi there!=========================================\n");
11 x = 199;
12 y = 41;
13 Lucifer[666] = "evil";
14 print("x=", x, "<<<\n");
15 print("y=", y, "<<<\n");
16 print("Luci=", Lucifer[666], "<<<\n");
17 print("Arg[0]=", arg[0], "<<<\n");
18 print("=goodbye!=========================================\n");
19 */
20 /**
21 *** A makeshift HTML Style sheet resource object
22 **/
23 switch (arg[0]) {
24 case "id":
25 /*
26 print("=BEGIN============================================\n");
27 foo = get("name");
28 print("=END==============================================\n");
29 return interpret("return " + arg[1] + ";");
30 */
31 break;
32 case "init":
33 /* tag wrap first right after
34 * font align free left before
35 */
36  
37 S = "normal left 1 1 0 0 0 0 0";
38 P = "normal left 1 0 24 24 24 0 1";
39 OL = "normal left 1 0 24 24 8 0 0";
40 UL = "normal left 1 0 24 24 8 0 0";
41 ULC = "normal left 1 0 24 24 24 0 0";
42 DL = "normal left 1 0 24 150 24 0 1";
43 DLC = "normal left 1 0 24 150 8 0 1";
44 LI = "normal left 1 0 24 24 24 0 1";
45 DIR = "normal left 1 0 24 24 24 1 0";
46 MENU = "normal left 1 0 24 24 24 1 0";
47 HP = "normal left 1 0 0 0 0 1 0";
48 XMP = "fixed left 0 1 0 0 1 1 0";
49 XMPA = "fixed left 0 1 0 0 1 1 0";
50 PRE = "fixed left 0 1 0 0 1 1 1";
51 LISTING = "normal left 0 1 0 0 1 1 0";
52 ADDRESS = "bold_largest right 0 0 0 0 24 1 1";
53 H1 = "bold_large left 0 0 0 0 10 0 0";
54 H2 = "bold left 1 0 0 0 8 0 0";
55 H3 = "bold left 1 0 24 24 0 0 0";
56 H4 = "bold left 1 0 24 24 0 0 0";
57 H5 = "bold left 1 0 64 64 0 0 0";
58 H6 = "bold left 1 0 128 128 0 0 0";
59 H7 = "bold left 1 0 160 170 0 0 0";
60 return 1;
61 break;
62 case "queryFontID":
63 return getVariable(arg[1]);
64 break;
65 }
66 usual();
67 }
68 \
69