If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

In details... yes... I want to create a SEARCH BUTTON in header area of my web site. I put my slice in Dreamweaver (from Photoshop) and now my search button only can been seen and has no function at all. I want to write the code for this button in order to make it work.

I have exactly the same question. searching for couple of weeks now. can't find an answer anywhere. my host does not support SQL database the uploading and running of server side code. advice form them utilize Javascript into my pages and posts.
please help.

//
// JavaScript Search Engine.
// See www.javascript.freeuk.com for details.
//
// Enter your page indexes here.
// Each page must be on one line only and be numbered consecutively starting from 1.
//

//
// You can alter the way the Javascript Search Engine works by changing the values below.
// Change these if you do not like the default behaviour. Only use true or false.
//

// Do you want detailed output quoting each occurence of the search word?

var ShowDetailedOutput = true

// Do you wish to show the number of times the word is quoted?

var ShowQuoteCount = true

// Do you want the matched pages listed in order of relevance?

var SortResults = true

// Do you change the sort ordering? You can do this by altering the following numbers.
// For example, if you want URL matches above Description matches then change
// SortOrderDescription = 3 and SortOrderURL = 2

c=0; item[c]=new Array("index.html","","DemoSite","index,main,start,home,front","Demonstration search engine data about an imagined but probable internet site.");
c++; item[c]=new Array("about.htm","","About Me","about,author,contact,email,who","Contact details and general information about the creator of the site and what the site is about.");
c++; item[c]=new Array("links.htm","","Links page","links,more,where,similar,friends","Links to my favourite sites which I find interesting. Other friends sites which have similar interests to my own.");
c++; item[c]=new Array("main.htm","main/","Main Page","content,main,focus","The main part of my site which contains what you have come to see. Lots of stuff like that and more great things. All in a sub directory.");
c++; item[c]=new Array("logo.jpg","main/images/","Link Logo","link,image,logo,graphic","The logo.jpg is just a small image which you can place on your site as a link to me. It's in a second level subdirectory.");