That website you linked to doesn't use Ajax, so it loads all the wines
in in one go. If there wasn't many items then this would be the best
way to go. Otherwise, you'll have to take the db hit: which wouldn't
be too bad if you've got it caching stuff properly...

But if you load them all at once it would be easy to do this with
jQuery using the event handlers provided by the jquery UI slider.

$('.selector').slider({
   slide: function(event, ui) {
      // In here check the value of the sliders and fade the wines
accordingly...
   }
});



On Sep 10, 6:12 pm, "TenthWeb.com" <dbash...@gmail.com> wrote:
> I am impressed with the flash stuff here and want to do this with
> jquery.http://www.nepenthe.com.au/go/online-shop
>
> I found a slider here:http://jqueryui.com/demos/slider/#range
>
> But the main thing is how to do the effect on sliding slider and
> ticking checkboxes. One thing would be getting slider and check values
> and pass to database and get everytime anything changes. That will be
> slow and would hurt database with continuous hit.
>
> Another option would be like in that site grab all wines and change
> the opacity as the user changes option. Does anyone has idea that will
> help to me to experience this in jquery.
>
> Thanks in advance.
> codefight

Reply via email to