Sourcecode in Layout/objectFunctions.js:
1: function constructor(site, title, creator) {
2: this.site = site;
3: this.title = title;
4: this.creator = creator;
5: this.createtime = new Date();
6: this.shareable = 0;
7: var prefs = new HopObject();
8: prefs.bgcolor = "ffffff";
9: prefs.textfont = "Verdana, Helvetica, Arial, sans-serif";
10: prefs.textsize = "13px";
11: prefs.textcolor = "000000";
12: prefs.linkcolor = "ff4040";
13: prefs.alinkcolor = "ff4040";
14: prefs.vlinkcolor = "ff4040";
15: prefs.titlefont = "Verdana, Helvetica, Arial, sans-serif";
16: prefs.titlesize = "15px";
17: prefs.titlecolor = "d50000";
18: prefs.smallfont = "Verdana, Arial, Helvetica, sans-serif";
19: prefs.smallsize = "11px";
20: prefs.smallcolor = "959595";
21: this.preferences_xml = Xml.writeToString(prefs);
22: return this;
23: }
|