The first thing we want the search script to do is to open the XML file to get the list of URLs that should be included in the search. As those of you that read the article on generating a sitemap will know, this is easily done with a very small cross-browser function. In a text editor, start with the following:
var urldata = new Array();
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.
You must me logged in to write a review.