我在比较网站上工作,无需说搜索功能是该网站的主要特征。 我有两个投入文本箱和一个搜索纽州。 目前,投入案文箱使用Ajax查询数据库并显示一个下降的箱子,但我很想知道,使用一个选定箱子是否更有吸引力? 第二个箱子取决于第一个箱子,因为第一个箱子是在另一个ja子圈子里挑选的,因此,在第二个投入自动箱子中,只有第一个选择的选项。
Autocomplete
Pros: - "Feels" right? - Looks more appealing than a select box (css design)?
Cons: - the user has to be instructed on how to use the search (made to think?) - Only really works off the bat with javascript enabled. - The user may get confused if they type in what they want and no box appears (i.e., no results)
专栏
Pros: - Can bring up the list of options / know whats available from the outset. - We use select boxes every day (locations etc.) so we re used to how they work. (more intuitive?)
Cons: - Can look a little unaesthetic when theres too many options to choose from. I m thinking maybe at most around 100 options for my site over time.
对我如何做到这一点的想法将受到赞赏。