ReaJS: Two Position Slider >> Off Topic >> Our Forum Techna

techna.site

Our Forum Techna



SearchSearch   Users   Registration   Entrance
Today: 03.08.2025 - 04:21:10
Pages:  1  

ReaJS: Two Position Slider

Advertising


AuthorMessage

PatJags156

users




Statistics:
Messages: 201
Registration: 03.19.2003

To define an on/off switch you can either do: Code:

---------------------
2006 Z4 3.0si Roadster Sapphire Black and Beige Interior Sport and Premium Packages SOLD: 1997 Z3 2.8L Roadster
Message # 1 09.07.23 - 07:52:39
RE: ReaJS: Two Position Slider

Captain Obvious

users




Statistics:
Messages: 24
Registration: 09.14.2002

Thanks, Tale. The "slider1:0<0,1,1>Switch" solution was the first I tried but to get it to the right you have to grab the slider rather than clicking to the right of it. It goes back left with a click though so I figured I was just not doing it right. I had the yes/no pull down but didn't like it because I want to use it as an enable/disable function that happens when you click on it. The intermediate list is just not the way the function should work and feels wrong if you are trying to do A/B comparison. I just had an inspiration that got your last solution to work! Define the slider as: Code:

---------------------
Message # 2 09.07.23 - 08:02:06
RE: ReaJS: Two Position Slider

bblars

users




Statistics:
Messages: 122
Registration: 02.26.2001

Tales method above is the correct way ... But i've created two position sliders like this: slider2:4<4,20,16>Comp/Limit Its a slider, but only has two positions.

---------------------
Message # 3 09.07.23 - 08:11:18
RE: ReaJS: Two Position Slider

adolenc

users




Statistics:
Messages: 345
Registration: 12.12.2002

Sorry, Aeolian, but that results in an unresponsive slider for me.

---------------------
Message # 4 09.07.23 - 08:15:13
RE: ReaJS: Two Position Slider

Phantom

users




Statistics:
Messages: 2,075
Registration: 02.26.2001

Greetings, If it can't be a graphical switch, I'm afraid there is no other way as already proposed. JSFX default gui only supports sliders or select boxes and the logic they operate is 'hard wired'. Or at least I'm not aware of anything else. If you use jsfx gfx abilitites, there is no limit what you can do. Sliders, knobs, buttons,...

---------------------
Message # 5 09.07.23 - 08:20:03
RE: ReaJS: Two Position Slider

rukman

users




Statistics:
Messages: 95
Registration: 09.02.2001

How strange. I copy this into into my code exactly: Code:

---------------------
Message # 6 09.07.23 - 08:29:46
RE: ReaJS: Two Position Slider

Mickey

users




Statistics:
Messages: 804
Registration: 11.11.2001

CLicking on a slider here has to be very precise, one pixel off the centre line and it doesn't move. ... orl, if you wanted 10 switches: Code:

---------------------
Message # 7 09.07.23 - 08:34:46
RE: ReaJS: Two Position Slider

E36LUVA

users




Statistics:
Messages: 373
Registration: 05.24.2002

Using the method above where I slam the slider to either end in @slider I have no problem clicking on either side to make it work. The one Aeolian suggests does nothing when I do the exact same thing. I can't figure out what triggers might be useful for other than possibly debug. I can't imagine a user dealing with a row of ten unnamed blocks.

---------------------
Tune the exotics by profession but Bimmas are what I drive!
Message # 8 09.07.23 - 08:42:23
RE: ReaJS: Two Position Slider

Davbret

users




Statistics:
Messages: 304
Registration: 08.25.2003

Glad it works for you. Is it possible that what you do with it further on in the plug gives rise to the behavior you show rather than being inert like it is when I only include the slider line?

---------------------
07 Japan Red 328cic ...sport/cold/prem, convience, black trim... 11 Omni Blue Element ...work, ski, camp... 13 Valencia Orange x1 2.8 ...nav/Msport/sat, convenience...
Message # 9 09.07.23 - 08:50:40
RE: ReaJS: Two Position Slider
Downsizing: Input = x264, Output = x264 : Previous topicNext topic: Random black flecks
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants