Q about search bar build up in html |
Q about search bar build up in html |
donny |
Mar 12 2012, 04:36 AM
Post
#1
|
Group: Members Posts: 1 Joined: 12-March 12 Member No.: 16,685 |
Hello,
i'm new here and a beginner. i'm busy with building my first site and testing out allot of stuff. now i understand how the search bar works and so but i was searching for more bars and i found this code on a website.. there is no information at the website about what it al means and whatever i search on google or other places, whenever i search on value="grid" i just wont get any answer. is there someone that can explain me why there is a second hidden search field, i understood from some other site that it has something to do so that the author can input his own extra search strings but .. well.. i just don't see the logic in this one. also i dont understand the name here, dff_view.. i dont see the logic again (maybe its becouse the courses and tutorials i did on the net were a bit different style) also the same with <select name="dff_cat1num" size="1"> i just cant figure this one out.. sorry for the noobness. hope someone can help me out, it does work but i want to know why and maybe if there is another way to do this so i understand what it does. (sorry for my bad english, i'm dutch) <td id="searchBar"> <form name="searchBar" method="get" action="../somewhere/search.php"> <table width="680"> <input type="hidden" name="dff_view" value="grid"> Search:<input type="text" name="dff_keyword" size="30" maxlength="50"> in <select name="dff_cat1num" size="1"> <option value="-1">Alle Categorieen <option value="-2">-------------- <option value="101">Babies & Kids <option value="102">Books & Magazines <option value="103">Building Supplies <option value="104">Cars & Trucks <option value="105">Clothing & Accessories <option value="106">Collectibles & Art </select> <input type="submit" value="Zoek"> </td> </tr> thx in advance |
pandy |
Mar 12 2012, 09:29 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
No, it doesn't use Google. The site uses its own search script, the URL to which is the value of the action attribute.
CODE <form name="searchBar" method="get" action="../somewhere/search.php"> http://htmlhelp.com/faq/html/forms.html#form-howto |
Lo-Fi Version | Time is now: 18th April 2024 - 05:20 AM |