Hi there, some slider code I had seems to have stopped working, when I load the question now I cannot see the slider, it seems that a library has become outdated when looking at the console.
I think I was previously passed this code so if someone knows how to resolve I would appreciate it!
Cheers
<meta charset="utf-8" />
<title>jQuery UI Slider - Range with fixed minimum</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css" />
<script>
$(function() {
$( "#slider-range-1" ).slider({
range: "min",
value: [% Begin Unverified Perl GETVALUE("GAFB2_r1_c1") End Unverified %],
min: 0,
max: 50,
slide: function( event, ui ) {
$( "#amount1" ).val( ui.value );
}
});
$( "#amount1" ).val( $( "#slider-range-1" ).slider( "value" ) );
});
</script>
<p>In the stadium:
<label for="amount">£ </label>
<font size="3" style="border: 0; color: #328FC4; font-weight: bold; width: 50px;"></font><input type="numeric" name="GAFB2a_Var1" id="amount1" style="border: 0; color: #328FC4; font-weight: bold; width: 50px;" />
</p>
<div id="slider-range-1"></div>