开发者

jQuery slidebar for searchbox?

开发者 https://www.devze.com 2023-01-07 16:32 出处:网络
I\'m currently working on a search box for my site that will hopefully use a slide-bar instead of tabs to conduct the search. Users will enter a search query and instead of choosing from the conventio

I'm currently working on a search box for my site that will hopefully use a slide-bar instead of tabs to conduct the search. Users will enter a search query and instead of choosing from the conventional tabs above the box, they will have the option to search based on the position of the slider (ie. a "stronger" or "weaker" range of search). Does that make sense?

Anyway, has anyone come across a plugin to help me build such a slide? jQuery? Ajax? CSS? Not sure how to开发者_如何学编程 go about it. Has anyone any experience or ideas with what I'm trying to achieve?

Let me know what you think, and if you need me to elaborate on anything :)

Thanks, David


jQuery UI has a Slider control that you could use for this.

You can see from the demo's on the page that there are numerous different ways that you can use this, look at the "Snap to Increments" demo. You could use this method and snap it to "weak", "strong", "very strong" etc?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号