diff options
author | Andreas Mair <amair.sob@googlemail.com> | 2006-06-30 14:12:35 +0200 |
---|---|---|
committer | Andreas Mair <amair.sob@googlemail.com> | 2006-06-30 14:12:35 +0200 |
commit | ada389d94b34bfef75be700a6cb4e3f05ee102ff (patch) | |
tree | f93833f9f9e82ca287dd9502ebeeac6993a1598f /template/default/timeline.js | |
parent | f823ff4bdab5bea277c34d8804de946d7c7961e1 (diff) | |
download | vdradmin-am-3.4.6beta5.tar.gz vdradmin-am-3.4.6beta5.tar.bz2 |
2006-06-30: 3.4.6beta5v3.4.6beta5
- Changed: "channels" column in timeline uses max 10% of available width.
- Fixed: programming a timer in prog_detail in FireFox.
- Fixed: HTML warnings.
- Fixed: find repeatings containing "&" in prog_detail (Bug #0000104, Reported by hajo).
- Changed: TV and remote control to better fit new "default" theme.
- Fixed: correct sorting in prog_list2 selectbox at the end of a month (Reported by sirtobi).
- Fixed: Extracting VDR version number.
Diffstat (limited to 'template/default/timeline.js')
-rw-r--r-- | template/default/timeline.js | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/template/default/timeline.js b/template/default/timeline.js index 4cd9e29..a4a7750 100644 --- a/template/default/timeline.js +++ b/template/default/timeline.js @@ -78,13 +78,17 @@ function TimeLine(_req_sec, _now_url, _px_per_min, _end_min) {
this.table_w = this.innerWidth - 8;
}
- this.px_per_min = _px_per_min;
+// this.px_per_min = _px_per_min;
+
+ this.table_w10 = Div(this.table_w, 10);
+ my_min = this.table_w10 < 100 ? 100 : this.table_w10;
+ this.px_per_min = Div((this.table_w - my_min), _end_min);
- this.end_min = Div(this.table_w - this.name_w, this.px_per_min);
- if (this.end_min > _end_min)
- {
+// this.end_min = Div(this.table_w - this.name_w, this.px_per_min);
+// if (this.end_min > _end_min)
+// {
this.end_min = _end_min;
- }
+// }
this.end_min -= this.end_min % 30;
this.event_w = this.end_min * this.px_per_min;
this.name_w = this.table_w - this.event_w;
|