search for: slidervalu

Displaying 13 results from an estimated 13 matches for "slidervalu".

Did you mean: slidervalue
2010 Jun 11
1
Windows, OSX and Linux: updating a graphic device and double buffering
...rce update my graphic device. E.g. with a command like dev.flush()? How can I run my code on all operating systems without any "jumps"? Regards, Adrian Waddell Here is a minimal example code: library(tcltk) tt <- tktoplevel() tkpack(top <- tkframe(tt), side = "top") SliderValue <- tclVar("50") SliderValueLabel <- tklabel(top,text=as.character(tclvalue(SliderValue))) tkpack(tklabel(top,text="Slider Value : "),SliderValueLabel, side = "left") tkconfigure(SliderValueLabel,textvariable=SliderValue) slider <- tkscale(tt, from=0, to=100,...
2005 Dec 11
0
setValue() and sliderValue not affecting Slider
...on- New to the list and new to script.aculo.us/javascripting as well. I am fluent in PHP and C++ so I am not completely benign when it comes to javascript. Anyways after following a guide online I figured out how to set up a slider in order to resize a set of pictures. My problem is neither the sliderValue option in the constructor nor the setValue() function seem to work. Perhaps it is some simple nuance I am missing. I instantiate my slider, and I''m assuming I can use setValue anytime thereafter, correct? mySlider = new Control.Slider(''handle'',''track'',...
2005 Sep 21
8
Slider controls
Heya! Thanks to Marty Haught, script.aculo.us (as of changeset 2281) now sports a new Control for horizontal and vertical sliders. See the functional test file (test/functional/slider_test.html) for information on how to use it. Basically, you do: <div id="track1" style="width:200px;background-color:#aaa;height:5px;"> <div id="handle1"
2005 Aug 18
8
Extending a js class
It''s been a few days since I posted my last two emails (of which, no one replied to) so I''ve gone ahead and coded a working slider class as well as a ''resizeable'' class that allows a user to drag and resize the element. I also linked these two together as I want to have slider behavior that can resize the resizeable element. The end result is both the
2006 Feb 18
1
spinner not working inside a table with IE 6
...move" src="/test/images/slider_handle.gif"/></div> <script language="javascript"> new Control.Slider(''handle_8499'',''track_8499'',{ onChange:function(v){v=v*100; $(''slider_id'').value=v.toFixed(2);}, sliderValue:"0.34"}); </script> </td></tr></table> <div> <input type="hidden" id="slider_id" name="slider" value="34"/> <div id="track_8499" style="width:100px;height:16px;background:url(/test/images/sl...
2006 Feb 18
1
slider not working in a table for IE 6
...move" src="/test/images/slider_handle.gif"/></div> <script language="javascript"> new Control.Slider(''handle_8499'',''track_8499'',{ onChange:function(v){v=v*100; $(''slider_id'').value=v.toFixed(2);}, sliderValue:"0.34"}); </script> </td></tr></table> <div> <input type="hidden" id="slider_id" name="slider" value="34"/> <div id="track_8499" style="width:100px;height:16px;background:url(/test/images/sl...
2006 Feb 18
0
slider component inside a table not working
...move" src="/test/images/slider_handle.gif"/></div> <script language="javascript"> new Control.Slider(''handle_8499'',''track_8499'',{ onChange:function(v){v=v*100; $(''slider_id'').value=v.toFixed(2);}, sliderValue:"0.34"}); </script> </td></tr></table> <div> <input type="hidden" id="slider_id" name="slider" value="34"/> <div id="track_8499" style="width:100px;height:16px;background:url(/test/images/sl...
2006 May 20
1
Slider.js - Attemting to put values in form.
...<p id="debug3"> </p> <a href="#" onClick="javascript:submit()">Submit</a> </form> <script type="text/javascript"> var v; // <![CDATA[ new Control.Slider(''handle3'',''track3'',{sliderValue:20,range:$R(1,100), onSlide:function(v){$(''debug3'').innerHTML=''Percentage: ''+Math.round(v)}, onChange:function(v){$(''debug3'').innerHTML=''Percentage: ''+Math.round(v)}}); // ]]> </script> </body&...
2006 May 23
0
Slider.js - Attemting to put values in form.
...<p id="debug3"> </p> <a href="#" onClick="javascript:submit()">Submit</a> </form> <script type="text/javascript"> var v; // <![CDATA[ new Control.Slider(''handle3'',''track3'',{sliderValue:20,range:$R(1,100), onSlide:function(v){$(''debug3'').innerHTML=''Percentage: ''+Math.round(v)}, onChange:function(v){$(''debug3'').innerHTML=''Percentage: ''+Math.round(v)}}); // ]]> </script> </body&...
2006 May 24
0
script.aculo.us add multiple slider values together
Hy there I''m sucessfully use the scriptaculous sliders. I''m not a programmer at all and managed to set up the sliders on a page. Great work guys! I like to add diffrent slidervalues together and make an output of the sum. Something like slider 1: 23.4567 Slider 2: 10.123 Output: Sum=33.5797 If ($Sum >=30) { output(''Great Score!)} If ($Sum <30 {output(''You can do better!)} I would like to implement it in this demo: http://www.vum.ch/schulfernsehen/...
2006 Jan 31
1
Slider values from .25 - 1
...25px; top:10px; width: 150px; height:10px;"> <div id="scaller" style=" width:10px; height:15px; background- image: url(slidder2.png)"></div> </div> var scalebar = new Control.Slider(''scaller'', ''track'',{ sliderValue:1, minimum:.25, onSlide:function(v){doscale(v)}, onChange:function(v){doscale(v)} }); No matter what I set the "Minimum" to , I still get 0 -1 as my range I would be most grateful to any one who could point me to what it is I am missing! Cheers. _________________...
2008 Jun 05
0
Javascript & Scrolling
...page 1 of #'' // horizontal slider control var slider = new Control.Slider(''handle'', ''track'', { //var element = $(''plist_con'') //alert(element.scrollWidth-element.offsetWidth); range: $R(0, max_wid), sliderValue: 1, // won''t work if set to 0 due to a bug(?) in script.aculo.us onSlide: function(v) { scrollHorizontal(v, $(''plist_con''), slider); $(''pageination'').innerHTML = ''slide: '' + v }, onChange: function...
2006 Jan 31
5
resizing multiple images using getElementsByClassName
...25px; top:10px; width: 150px; height:10px;"> <div id="scaller" style=" width:10px; height:15px; background- image: url(slidder2.png)"></div> </div> var scalebar = new Control.Slider(''scaller'', ''track'',{ sliderValue:1, minimum:.25, onSlide:function(v){doscale(v)}, onChange:function(v){doscale(v)} }); 2) I am using getElementsByClassName to get all the images to scale, and then running a "for" loop and then resizing each image''s containing div even with only 25 imag...