diff --git a/src/main/webapp/jquery-ui/slider2.xhtml b/src/main/webapp/jquery-ui/slider2.xhtml index 91ecb945..c2dab41b 100644 --- a/src/main/webapp/jquery-ui/slider2.xhtml +++ b/src/main/webapp/jquery-ui/slider2.xhtml @@ -10,9 +10,9 @@

Fancy sliders

Options and Examples

You can use more than one slider to get input for complex values, like the Time:

- + - + @@ -30,9 +30,9 @@
- + oncomplete="$('.amodal').modal('show');" />
@@ -123,8 +123,8 @@ el.setAttribute('transform', 'rotate('+ deg +' 50 50)') } var d = new Date(); - var hours = $("[name='hourID']").val(); - var minutes=$("[name='minuteID']").val(); + var hours = $("[name='time\\:hourID']").val(); + var minutes=$("[name='time\\:minuteID']").val(); if (d.getSeconds()==0) { minutes++; if (minutes>=60) { @@ -150,7 +150,7 @@
- + Submitted values: @@ -178,8 +178,8 @@ + ' 50 50)') } var d = new Date(); - var hours = $("[name='hourID']").val(); - var minutes = $("[name='minuteID']").val(); + var hours = $("[name='time\\:hourID']").val(); + var minutes = $("[name='time\\:minuteID']").val(); if (d.getSeconds() == 0) { minutes++; if (minutes >= 60) { @@ -188,14 +188,14 @@ if (hours >= 24) { hours = 0; } - $("[name='hourID']").val(hours); - $('span[id="hourID_badge"]').text(hours); - $("#hourID_slider").slider("option", "value", + $("[name='time\\:hourID']").val(hours); + $('span[id="time\\:hourID_badge"]').text(hours); + $("#time\\:hourID_slider").slider("option", "value", hours); } - $("[name='minuteID']").val(minutes); - $('span[id="minuteID_badge"]').text(minutes); - $("#minuteID_slider").slider("option", "value", + $("[name='time\\:minuteID']").val(minutes); + $('span[id="time\\:minuteID_badge"]').text(minutes); + $("#time\\:minuteID_slider").slider("option", "value", minutes); } r(sec, 6 * d.getSeconds())