Skip to main content
December 24, 2010
Answered

What type of search engine is this?

  • December 24, 2010
  • 1 reply
  • 823 views

I was browsing around for a new driver and saw this search engine and thought this would be a great addition to a site I'm working on, just not sure what type it is or how to go about making it. http://www.nvidia.com/Download/index.aspx?lang=en-us

A point in the right direction would be grateful.

Thanks

    This topic has been closed for replies.
    Correct answer Dave Watts

    No, a jump menu is used for navigation. You need to use JavaScript to do this, really. Selecting an option from the first select box should trigger a JavaScript function which will either (a) make an AJAX call to the server, or (b) read existing JavaScript variables. It would take this data and use it to populate the second select box, which may then trigger another JavaScript function call.

    If you hit "view source" in the page, you should be able to see all the items used to build the form.

    Dave Watts, CTO, Fig Leaf Software

    http://www.figleaf.com/

    http://training.figleaf.com/

    Read this before you post:

    http://forums.adobe.com/thread/607238

    1 reply

    Community Expert
    December 24, 2010

    It's not really a "search engine" in the normal usage of the phrase. It's a form that lists a bunch of values from which you can select. When you submit the form, the action page almost certainly builds an SQL query based on the contents of the form. This kind of interface used to be called a "query-by-example" interface.

    <cfquery ...>

    SELECT ...

    FROM ...

    WHERE ...

    <cfif form.field1 is not "">

    AND field = <cfqueryparam cfsqltype="cf_sql_integer" value="#form.field1#">

    </cfif>

    <cfif ...>

    AND ...

    </cfif>

    ...

    </cfquery>

    Dave Watts, CTO, Fig Leaf Software

    http://www.figleaf.com/

    http://training.figleaf.com/

    Read this before you post:

    http://forums.adobe.com/thread/607238

    Dave Watts, Eidolon LLC
    December 24, 2010

    The forms on that site updates dynamically, so do i use a Form jump menu to accomplish this?

    Dave WattsCommunity ExpertCorrect answer
    Community Expert
    December 24, 2010

    No, a jump menu is used for navigation. You need to use JavaScript to do this, really. Selecting an option from the first select box should trigger a JavaScript function which will either (a) make an AJAX call to the server, or (b) read existing JavaScript variables. It would take this data and use it to populate the second select box, which may then trigger another JavaScript function call.

    If you hit "view source" in the page, you should be able to see all the items used to build the form.

    Dave Watts, CTO, Fig Leaf Software

    http://www.figleaf.com/

    http://training.figleaf.com/

    Read this before you post:

    http://forums.adobe.com/thread/607238

    Dave Watts, Eidolon LLC