Adblock breaks this site

CSS Slider

Discussion in 'Web Programming' started by Hello Its Me, Jun 21, 2016.

  1. Hello Its Me

    Hello Its Me All your 07/RS3/Elkoy needs will be fulfilled at www.helloitsmegold.com

    Joined:
    Dec 5, 2011
    Posts:
    4,764
    Referrals:
    0
    Sythe Gold:
    341
    Discord Unique ID:
    210052509866262529
    Discord Username:
    DutchNitro#9797
    CSS Slider

    Hello,

    I use Rapidweaver's Foundation to build websites.
    It has a slider function for a form.
    Looks like this:
    [​IMG]

    I would like it to look like this, with 2 sliders.
    [​IMG]

    Any way this is possible?
    Really stuck on this!

    Thanks in advance
     
  2. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant
    CSS Slider

    Yeah it's totally possible. What's the control originally made with? JavaScript I imagine?

    Regardless the logic is the same. Instead of returning a value based on a single knob, it'll return a range of values between knob 1 and knob 2. You could return the range as an array if that's necessary or return the two values and iterate from the lowest value to obtain values in between the lowest value and the highest. Make sense?
     
  3. Hello Its Me

    Hello Its Me All your 07/RS3/Elkoy needs will be fulfilled at www.helloitsmegold.com

    Joined:
    Dec 5, 2011
    Posts:
    4,764
    Referrals:
    0
    Sythe Gold:
    341
    Discord Unique ID:
    210052509866262529
    Discord Username:
    DutchNitro#9797
    CSS Slider

    I'm not sure, I guess it is in JavaScript yes.

    It does make sense, but I'm not sure how to do so. Could probably find a guide on that tho. Thanks though!
     
  4. Program

    Program Formerly known as Andy Samberg
    Retired Sectional Moderator

    Joined:
    Sep 17, 2015
    Posts:
    5,003
    Referrals:
    0
    Sythe Gold:
    902
    Discord Unique ID:
    171517906276843520
    Discord Username:
    FuukinAndy #6867
    CSS Slider

    I'm not sure what you're using, but I'd read the documentation of that and they likely have a simple option to switch from single slider to range slider. If not, there's dozens of plugins that do the same thing you could get.

    Often times in a plugin it'll have an object of options like:

    options = {
    type: range,
    startValue: 0,
    endValue: 80
    }

    That's just a made up example and you may be using something that isn't a plugin at all. But when using javascript, jQuery, Polymer, and React plugins and others, they'll have something similar to that or along those same lines.
     
    Last edited: Jun 24, 2016
< Simple file writing | Cool >


 
 
Adblock breaks this site