Solved

Database/Search on HomePage

Posted on 1998-08-20
1
126 Views
Last Modified: 2013-12-25
Hello...
I need to do a search function for a Home Page. But actually I don't have any idea how I would to that. What I need is something like a ComboBox where the user can select a product and then click a "GO-Button". This should bring him/her to another site, which contains more detailed information about the product selected. Could some post some sources, docs please ?
thx
0
Comment
Question by:omsec
1 Comment
 
LVL 10

Accepted Solution

by:
MasseyM earned 20 total points
ID: 1828222
Do you want to create individual pages for each product item?
ie I choose Product 1 ad then go to product 1 page?

if so, use this (No go button needed...):
<SELECT NAME="Products" onChange="GoHere(this)">
<OPTION VALUE="product1.html">Product1</OPTION>
<OPTION VALUE="product2.html">Product2</OPTION>
</SELECT>

<SCRIPT LANGUAGE="Javascript"><--
function GoHere(s)
{ var d = s.options[s.selectedIndex].value;
window.top.location.href = d;
s.selectedIndex=0;
}
//--></SCRIPT>
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to eliminate duplicates from a list of hosts in groups 2 57
Recursive folder search vbscript 7 48
Recursively Delete Files 5 80
change the windows script file to BAT 10 41
The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
Ever wondered how to display how many visitors you have online. In this tutorial I will show you an easy but effective way to display the number of online visitors in WhizBase. In this article I assume you have read my previous articles and know …
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question