change radio buttons to slider help request

The recommended method of customizing your AppGini-generated application is through hooks. But sometimes you might need to add functionality not accessible through hooks. You can discuss this here.
Post Reply
mdannatt
Veteran Member
Posts: 41
Joined: 2020-01-27 17:34

change radio buttons to slider help request

Post by mdannatt » 2020-02-04 08:19

I am doing some work for a client and need some help. Has anyone successfully converted radio buttons to a jquery slider? I have all the code files, which I found on Git. To see what I need , see this link:
http://rubentd.com/radios-to-slider/


Basic Usage:
<div id="radios">
<input id="option1" name="options" type="radio">
<label for="option1">1 year</label>
<input id="option2" name="options" type="radio">
<label for="option2">2 years</label>
<input id="option3" name="options" type="radio" checked>
<label for="option3">3 years</label>
<input id="option4" name="options" type="radio">
<label for="option4">4 years</label>
<input id="option5" name="options" type="radio">
<label for="option5">5+ years</label>
</div>

$('#radios').radiosToSlider();

Included in html:
<link rel="stylesheet" type="text/css" href="bower_components/radios-to-slider/dist/radios-to-slider.css">
<script type="text/javascript" src="bower_components/radios-to-slider/dist/jquery.radios-to-slider.js">

Can anyone help me out please?
Roses are red, Violets are blue, unexpected '}' on line 32

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: change radio buttons to slider help request

Post by pbottcher » 2020-02-04 20:09

Hi,

can you describe what your problem is. If you use all the files as in the sample it should just work fine.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

Post Reply