Hi Girish,
Thanks for the work..
I would like to support with few pointers which you may ponder in your work.
> The code is simple
The code which you have given is partial and incomplete.
>
> $(function() {
> $( "#range" ).slider({
> range: true,
> min: 0,
> max: 500,
> values: [ 75, 300 ],
> slide: function( event, ui ) {
> $( "#amount" ).val( "Rs" + ui.values[
> 0 ] + " - Rs" + ui.values[ 1 ]
> );
> }
> });
> $( "#amount" ).val( "Rs." + $( "#range" ).slider(
> "values", 0 ) +
> " - Rs." + $( "#range" ).slider( "values", 1 ) );
> });
> </script>
> </head>
> <body>
>
> <div id="range"></div>
>
If you are interested in explaining the slider function, make it
explicit that the above is a partial part/skeleton/snippet of the
code.
Putting myself in the shoes of noob, I may be wondering where is the
element #amount.
I know how to find a source of a web pro gramme, but that not
guarantees every noob to know it.
Probably if you say the following in the onset , it might help a bit
level : noob/intermediate/expert
prerequisite : Knowledge of what are dom elements, worked with any one
of the javascript library like jquery. mootools, extjs,etc.
> The slider is showed in the range div above.
>
> The lower end value is accessible using the .slider('values', 0) API
> and the high end using the .slider('values', 1) API.
One kind suggestion, *please subject your work to a peer review*,
certainly it helps a million mile journey.
Thanks once again for your effort.
regards,
Thyagarajan Shanmugham
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines