PassMark Logo
Home » Forum

Search scrolling list

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ptitmousse
    Newbie
    • Feb 2010
    • 1

    #1

    Search scrolling list

    Hi,
    I've done a quite special indexation. I've done the indexation only on references lists (for example: AEE23, AED34... ) them I've replace the references lists by document containing the references and text (the names of the files are the same). So only the references are searchable.
    On the search page, I want to replace the search box by a scrolling list with the references which are into the index? Is it possible?
  • David
    Administrator
    • Dec 2004
    • 4714

    #2
    I don't fully understand what you have nor why you have done it.
    Wouldn't it be better just to added meta data to the documents and index the documents.

    But if you know all the possible search words in advance it should be easy to create a list that does a Javascript page jump to the search result page. Something like this.

    Code:
     
    <form name="jumplist">
    <select name="myjumpbox" size="3"
    OnChange="location.href=jumplist.myjumpbox.options[selectedIndex].value">
    <option value="http://www.wrensoft.com/search.php?zoom_query=AEE23">AEE23
    <option value="http://www.wrensoft.com/search.php?zoom_query=AED34">AED34
    <option value=http://www.wrensoft.com/search.php?zoom_query=AED35>AED35
    </select>
    </form>
    I didn't test the above code, so you might need to play around with it and customise it for your site.

    Comment

    Working...