From 200e62ad99c1ac101493537566efef54d2cffe17 Mon Sep 17 00:00:00 2001 From: Alib Date: Mon, 22 Feb 2010 00:52:20 +0100 Subject: new timer template is ready. --- new_timer.html | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'new_timer.html') diff --git a/new_timer.html b/new_timer.html index 1ffc224..d6e7fd7 100755 --- a/new_timer.html +++ b/new_timer.html @@ -68,10 +68,11 @@ function openSelectDate() { function done_date() { var results = SpinningWheel.getSelectedValues(); document.getElementById('layer_date').innerHTML = results.values.join(' '); + document.timer.timer_date.value = results.keys.join(' '); + } function cancel_date() { - document.getElementById('layer_date').innerHTML = 'Select timer date'; } function openSelectTime(layer) { var now = new Date(); @@ -92,8 +93,7 @@ function openSelectTime(layer) { SpinningWheel.addSlot(minutes, '', now_minute); SpinningWheel.setCancelAction( function() {} ); - SpinningWheel.setDoneAction(function () {var results = SpinningWheel.getSelectedValues(); document.getElementById(layer).innerHTML = results.values.join(' ');}); - + SpinningWheel.setDoneAction(function () {var results = SpinningWheel.getSelectedValues(); document.getElementById(layer).innerHTML = results.values.join('h');if ( layer == 'layer_starttime' ) { var forminput = 'timer_starttime'; } else { var forminput = 'timer_endtime'; }; eval ("document.timer." + forminput + ".value = results.keys.join('')"); }); SpinningWheel.open(); } @@ -112,16 +112,18 @@ iStream
New Timer + +
  • Recording name
  • - +
- + + + + +
  • -
  • +
- +