Be the first to write a review
Search Your Site with JavaScript, XML and CSS Part One
Any site that is popular with users of the 'net, while unique and individual in certain aspects, will share particular attributes with other popular sites; aside from interesting or useful content, they're likely to feature things such as an easy to use navigation model, a sensibly laid out sitemap, and the ability to search for specific information or content (there are other things as well, this isn’t everything you need to cover!). The ability to perform searches for specific information is especially important for larger sites and dynamic sites, which often implement the search via server-side technology. Having a decent and dependable search engine on smaller sites need not be a pipedream either however so don't think that for smaller sites it isn't necessary to include a search facility. Making things easier for visitors should be right at the top of any web designer's list of priorities because if no concern is given in this area, there won't be any visitors! If you don’t have access to server-side technology such as PHP or ASP.NET you needn't worry as during the course of this article I'm going to show you how easy it is to create a purely client-side search engine that will happily search any number of pages for words entered into a simple text box.
Dan Wellman
Dan Wellman is an author and web developer based in the UK. Dan has written three books so far; the latest, jQuery UI 1.7: The User Interface Library for jQuery, was released at the end of 2009.
Dan has been writing web development tutorials for over 5 years and works by day for a local digital media agency in his home town of Southampton.